X-Git-Url: http://git.maemo.org/git/?a=blobdiff_plain;f=src%2Fwidgets%2Fmodest-attachments-view.h;h=27d767a72b6f12ae45b77593155ae06ab96eae48;hb=514d7488390a9c4c31a9ca5e44f78dc9329b833d;hp=6e7872f33bebdc2cbc4fdad8dc3a1744b475efb5;hpb=16d0237f55b1891f9a14a6cd7bdac7080bacd4c3;p=modest diff --git a/src/widgets/modest-attachments-view.h b/src/widgets/modest-attachments-view.h index 6e7872f..27d767a 100644 --- a/src/widgets/modest-attachments-view.h +++ b/src/widgets/modest-attachments-view.h @@ -46,6 +46,12 @@ G_BEGIN_DECLS #define MODEST_IS_ATTACHMENTS_VIEW_CLASS(vtable) (G_TYPE_CHECK_CLASS_TYPE ((vtable), MODEST_TYPE_ATTACHMENTS_VIEW)) #define MODEST_ATTACHMENTS_VIEW_GET_CLASS(inst) (G_TYPE_INSTANCE_GET_CLASS ((inst), MODEST_TYPE_ATTACHMENTS_VIEW, ModestAttachmentsViewClass)) +typedef enum _ModestAttachmentsViewStyle { + MODEST_ATTACHMENTS_VIEW_STYLE_SELECTABLE, + MODEST_ATTACHMENTS_VIEW_STYLE_LINKS, + MODEST_ATTACHMENTS_VIEW_STYLE_NO_FOCUS, +} ModestAttachmentsViewStyle; + typedef struct _ModestAttachmentsView ModestAttachmentsView; typedef struct _ModestAttachmentsViewClass ModestAttachmentsViewClass; @@ -82,6 +88,9 @@ void modest_attachments_view_get_sizes (ModestAttachmentsView *attachments_view, gint *attachments_count, guint64 *attachments_size); +void modest_attachments_view_set_style (ModestAttachmentsView *attachments_view, + ModestAttachmentsViewStyle style); +guint modest_attachments_view_get_num_attachments (ModestAttachmentsView *atts_view); G_END_DECLS #endif