diff options
Diffstat (limited to 'mail/em-folder-tree.h')
-rw-r--r-- | mail/em-folder-tree.h | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/mail/em-folder-tree.h b/mail/em-folder-tree.h index 7a5ce72cc3..938813b34a 100644 --- a/mail/em-folder-tree.h +++ b/mail/em-folder-tree.h @@ -27,6 +27,8 @@ #include <gtk/gtkvbox.h> #include <camel/camel-store.h> +#include "em-folder-tree-model.h" + #ifdef __cplusplus extern "C" { #pragma } @@ -51,15 +53,22 @@ struct _EMFolderTree { struct _EMFolderTreeClass { GtkVBoxClass parent_class; + /* signals */ + void (* folder_selected) (EMFolderTree *emft, const char *path, const char *uri); }; GType em_folder_tree_get_type (void); GtkWidget *em_folder_tree_new (void); +GtkWidget *em_folder_tree_new_with_model (EMFolderTreeModel *model); + +void em_folder_tree_add_store (EMFolderTree *emft, CamelStore *store, const char *display_name); +void em_folder_tree_remove_store (EMFolderTree *emft, CamelStore *store); -void em_folder_tree_add_store (EMFolderTree *tree, CamelStore *store, const char *display_name); -void em_folder_tree_remove_store (EMFolderTree *tree, CamelStore *store); +void em_folder_tree_set_selected (EMFolderTree *emft, const char *uri); +const char *em_folder_tree_get_selected_uri (EMFolderTree *emft); +const char *em_folder_tree_get_selected_path (EMFolderTree *emft); #ifdef __cplusplus } |