diff options
Diffstat (limited to 'shell/e-storage-set-view.h')
-rw-r--r-- | shell/e-storage-set-view.h | 26 |
1 files changed, 16 insertions, 10 deletions
diff --git a/shell/e-storage-set-view.h b/shell/e-storage-set-view.h index 553db79f9e..7d615cecaf 100644 --- a/shell/e-storage-set-view.h +++ b/shell/e-storage-set-view.h @@ -39,6 +39,10 @@ extern "C" { #define E_IS_STORAGE_SET_VIEW_CLASS(klass) (GTK_CHECK_CLASS_TYPE ((obj), E_TYPE_STORAGE_SET_VIEW)) +typedef gboolean (* EStorageSetViewHasCheckBoxFunc) (EStorageSet *storage_set, + const char *path, + void *data); + typedef struct _EStorageSetView EStorageSetView; typedef struct _EStorageSetViewPrivate EStorageSetViewPrivate; typedef struct _EStorageSetViewClass EStorageSetViewClass; @@ -91,19 +95,21 @@ void e_storage_set_view_set_show_folders (EStorageSetView *storage_set gboolean show); gboolean e_storage_set_view_get_show_folders (EStorageSetView *storage_set_view); -void e_storage_set_view_set_show_checkboxes (EStorageSetView *storage_set_view, - gboolean show); -gboolean e_storage_set_view_get_show_checkboxes (EStorageSetView *storage_set_view); +void e_storage_set_view_set_show_checkboxes (EStorageSetView *storage_set_view, + gboolean show, + EStorageSetViewHasCheckBoxFunc has_checkbox_func, + void *func_data); +gboolean e_storage_set_view_get_show_checkboxes (EStorageSetView *storage_set_view); -void e_storage_set_view_set_checkboxes_list (EStorageSetView *storage_set_view, - GList *checkboxes); -GList *e_storage_set_view_get_checkboxes_list (EStorageSetView *storage_set_view); +void e_storage_set_view_set_checkboxes_list (EStorageSetView *storage_set_view, + GList *checkboxes); +GList *e_storage_set_view_get_checkboxes_list (EStorageSetView *storage_set_view); -void e_storage_set_view_set_allow_dnd (EStorageSetView *storage_set_view, - gboolean allow_dnd); -gboolean e_storage_set_view_get_allow_dnd (EStorageSetView *storage_set_view); +void e_storage_set_view_set_allow_dnd (EStorageSetView *storage_set_view, + gboolean allow_dnd); +gboolean e_storage_set_view_get_allow_dnd (EStorageSetView *storage_set_view); -const char *e_storage_set_view_get_right_click_path (EStorageSetView *storage_set_view); +const char *e_storage_set_view_get_right_click_path (EStorageSetView *storage_set_view); #ifdef __cplusplus } |