"Master password" is now called "master passphrase".
[claws.git] / src / mainwindow.h
index f094ffa9e9adef76cd36a074387017dfeb0091f0..678ff2226fddfa97df84e98edf73057b5bc7f6d8 100644 (file)
@@ -1,6 +1,6 @@
 /*
  * Sylpheed -- a GTK+ based, lightweight, and fast e-mail client
- * Copyright (C) 1999-2012 Hiroyuki Yamamoto and the Claws Mail team
+ * Copyright (C) 1999-2013 Hiroyuki Yamamoto and the Claws Mail team
  *
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
@@ -47,6 +47,7 @@ typedef enum
        M_UNTHREADED,
        M_ALLOW_DELETE,
        M_INC_ACTIVE,
+       M_SEND_ACTIVE,
        M_NEWS,
        M_HAVE_NEWS_ACCOUNT,
        M_HIDE_READ_MSG,
@@ -63,6 +64,7 @@ typedef enum
        M_HAVE_MULTI_ACCOUNT,
        M_FOLDER_SELECTED,
        M_SESSION_PASSWORDS,
+       M_MASTER_PASSPHRASE,
        M_DELETED_EXISTS,
        M_NOT_TRASH,
        M_HIDE_READ_THREADS,
@@ -188,7 +190,7 @@ gboolean main_window_empty_trash    (MainWindow     *mainwin,
                                         gboolean        confirm,
                                         gboolean        for_quit);
 
-guint64 main_window_get_mask(SensitiveCond cond, ...);
+SensitiveCondMask main_window_get_mask(SensitiveCond cond, ...);
 
 void main_window_set_menu_sensitive    (MainWindow     *mainwin);
 
@@ -197,7 +199,7 @@ void main_window_show                       (MainWindow     *mainwin);
 void main_window_hide                  (MainWindow     *mainwin);
 void main_window_popup                 (MainWindow     *mainwin);
 
-SensitiveCond main_window_get_current_state   (MainWindow *mainwin);
+SensitiveCondMask main_window_get_current_state   (MainWindow *mainwin);
 
 void toolbar_set_compose_button               (Toolbar          *toolbar, 
                                               ComposeButtonType  compose_btn_type);
@@ -219,13 +221,6 @@ void mainwindow_exit_folder                      (MainWindow *mainwin);
 void mainwindow_enter_folder                 (MainWindow *mainwin);
 void mainwindow_reset_paned                  (GtkPaned *paned);
 
-#ifdef MAEMO
-gboolean maemo_mainwindow_is_fullscreen               (GtkWidget *widget);
-void maemo_window_full_screen_if_needed               (GtkWindow *window);
-void maemo_connect_key_press_to_mainwindow    (GtkWindow *window);
-void mainwindow_maemo_led_set(gboolean state);
-#endif
-
 void mainwin_accel_changed_cb (GtkAccelGroup *accelgroup, guint keyval, GdkModifierType modifier,
                                  GClosure *closure, GtkMenuItem *item);