2007-06-08 [wwp] 2.9.2cvs50
[claws.git] / src / mainwindow.h
index c549f31fd1ecf07201a0546c90bf82b7494297fb..ed9c941955192f32c03b48317f1517907dbd0007 100644 (file)
@@ -34,6 +34,7 @@ typedef struct _MainWindow  MainWindow;
 #define OFFLINE_SWITCH_HOOKLIST "offline_switch"
 #define ACCOUNT_LIST_CHANGED_HOOKLIST "account_list_changed"
 #define MAIN_WINDOW_CLOSE "mainwindow_close"
+#define MAIN_WINDOW_GOT_ICONIFIED "mainwindow_iconified"
 
 typedef enum
 {
@@ -64,7 +65,8 @@ typedef enum
        NORMAL_LAYOUT    = 0,
        VERTICAL_LAYOUT  = 1 << 0,
        WIDE_LAYOUT = 1 << 1,
-       WIDE_MSGLIST_LAYOUT = 1 << 2
+       WIDE_MSGLIST_LAYOUT = 1 << 2,
+       SMALL_LAYOUT
 } LayoutType;
 
 typedef enum
@@ -121,6 +123,7 @@ struct _MainWindow
        SummaryView     *summaryview;
        MessageView     *messageview;
        LogWindow       *logwin;
+       LogWindow       *filtering_debugwin;
 
        gint    progressindicator_hook;
        
@@ -130,6 +133,7 @@ struct _MainWindow
 #ifdef HAVE_LIBSM
        gpointer smc_conn;
 #endif
+       gboolean         in_folder;
 };
 
 MainWindow *main_window_create         (void);
@@ -199,8 +203,19 @@ gboolean mainwindow_key_pressed                  (GtkWidget         *widget,
 MainWindow *mainwindow_get_mainwindow        (void);
 void mainwindow_learn                        (MainWindow *mainwin,
                                               gboolean is_spam);
-void mainwindow_jump_to                              (const gchar       *target);
+void mainwindow_jump_to                              (const gchar       *target,
+                                              gboolean popup);
 void mainwindow_show_error                   (void);
 void mainwindow_clear_error                  (MainWindow *mainwin);
-gboolean mainwindow_is_obscured      (void);
+gboolean mainwindow_is_obscured                      (void);
+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);
+#endif
+
 #endif /* __MAINWINDOW_H__ */