* restore some functionality after the changes, by reenabling the key-changed
[modest] / src / widgets / modest-folder-view.h
index d275837..56d8490 100644 (file)
@@ -129,22 +129,6 @@ gboolean      modest_folder_view_update_model    (ModestFolderView *self,
                                                  TnyAccountStore *account_store);
 
 /**
- * modest_folder_view_get_selected_display_name:
- * @self: a #ModestFolderView
- * 
- * returns a the display name of the currently selected
- * #TnyFolder. Note that it could be different to the name returned by
- * the #TnyFolder that could be get using
- * modest_folder_view_get_selected, because it for example could
- * contain the unread messages between brackets
- * 
- * Returns: the display name of the currently selected #TnyFolder or
- * NULL if none is selected
- **/
-const gchar* modest_folder_view_get_selected_display_name (ModestFolderView *self);
-
-
-/**
  * modest_folder_view_set_style:
  * @self: a #ModestFolderView
  * @style: a #ModestFolderViewStyle
@@ -160,7 +144,7 @@ void         modest_folder_view_set_style         (ModestFolderView *self,
                                                   ModestFolderViewStyle style);
 
 /**
- * modest_folder_view_set_visible_server_account_id:
+ * modest_folder_view_set_account_id_of_visible_server_account:
  * @self: a #ModestFolderView
  * @account_id: the remote server account id
  * 
@@ -169,18 +153,78 @@ void         modest_folder_view_set_style         (ModestFolderView *self,
  * specified id will be the unique visible account if the folder view
  * is configured in MODEST_FOLDER_VIEW_STYLE_SHOW_ONE
  **/
-void         modest_folder_view_set_visible_server_account_id (ModestFolderView *self,
-                                                              const gchar *account_id);
+void         modest_folder_view_set_account_id_of_visible_server_account (ModestFolderView *self,
+                                                                         const gchar *account_id);
 
 /**
- * modest_folder_view_get_visible_server_account_id:
+ * modest_folder_view_get_account_id_of_visible_server_account:
  * @self: a #ModestFolderView
  * 
  * gets the account id of the currently visible server account id
  * 
  * Return value: the visible server account id or NULL if none set
  **/
-const gchar* modest_folder_view_get_visible_server_account_id (ModestFolderView *self);
+const gchar* modest_folder_view_get_account_id_of_visible_server_account (ModestFolderView *self);
+
+
+void         modest_folder_view_select_first_inbox_or_local  (ModestFolderView *self);
+
+/**
+ * modest_folder_view_copy_selection:
+ * @self: a #ModestFolderView
+ * 
+ * Stores a #TnyList of selected folders in the own clibpoard of 
+ * @self folder view.
+ **/
+void 
+modest_folder_view_copy_selection (ModestFolderView *folder_view);
+
+/**
+ * modest_folder_view_cut_selection:
+ * @self: a #ModestFolderView
+ * 
+ * Stores a #TnyList of selected folders in the own clibpoard of 
+ * @self folder view and filter them into folders tree model to
+ * hide these rows in treeview.
+ **/
+void 
+modest_folder_view_cut_selection (ModestFolderView *folder_view);
+
+
+/**
+ * modest_folder_view_select_folder
+ * @self: a #ModestFolderView
+ * @folder: a #TnyFolder
+ * @after_change: should we select directly (TRUE), or after the first change to the view (FALSE)
+ *
+ * select the given TnyFolder in the folder;
+ * return TRUE if it succeeded, FALSE otherwise.
+ **/
+gboolean modest_folder_view_select_folder (ModestFolderView *self, TnyFolder *folder, gboolean after_change);
+
+/**
+ * modest_folder_view_paste_selection:
+ * @self: a #ModestFolderView
+ * @folders: ouput parameter with a #TnyList of folders which will be returned.
+ * @delete: output parameter with indication about delete or not the selected folders. 
+ * 
+ * Gets the selected folders to copy/cut.
+ **/
+void
+modest_folder_view_paste_selection (ModestFolderView *folder_view,
+                                   TnyList **folders,
+                                   gboolean *delete);
+
+/*
+ * modest_folder_view_show_non_move_folders:
+ * @self: a #ModestFolderView
+ * @show: show or hide the folders
+ * 
+ * Whether to show folders where no messages can be moved to 
+ **/
+void
+modest_folder_view_show_non_move_folders (ModestFolderView *folder_view,
+                                   gboolean show);
 
 G_END_DECLS