Virtual methods update_model and save in wizard dialog
[modest] / src / widgets / modest-folder-view.h
index cada9fc..80d2c02 100644 (file)
@@ -64,6 +64,8 @@ typedef enum _ModestFolderViewFilter {
        MODEST_FOLDER_VIEW_FILTER_MOVEABLE = 1 << 3,
        MODEST_FOLDER_VIEW_FILTER_DELETABLE = 1 << 4,
        MODEST_FOLDER_VIEW_FILTER_HIDE_ACCOUNTS = 1 << 5,
+       MODEST_FOLDER_VIEW_FILTER_HIDE_FOLDERS = 1 << 6,
+       MODEST_FOLDER_VIEW_FILTER_HIDE_LOCAL_FOLDERS = 1 << 7,
 } ModestFolderViewFilter;
 
 typedef struct _ModestFolderView      ModestFolderView;
@@ -90,6 +92,10 @@ struct _ModestFolderViewClass {
        void     (*folder_activated) (ModestFolderView *self,
                                      TnyFolderStore *folder,
                                      gpointer userdata);
+
+       void     (*visible_account_changed) (ModestFolderView* self,
+                                            const gchar *account_id,
+                                            gpointer user_data);
 };
 
 /**