1 /* modest-tny-store-actions.h */
2 /* insert (c)/licensing information) */
4 #ifndef __MODEST_TNY_STORE_ACTIONS_H__
5 #define __MODEST_TNY_STORE_ACTIONS_H__
7 #include <glib-object.h>
8 #include <tny-store-account-iface.h>
12 /* standard convenience macros */
13 #define MODEST_TYPE_TNY_STORE_ACTIONS (modest_tny_store_actions_get_type())
14 #define MODEST_TNY_STORE_ACTIONS(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj),MODEST_TYPE_TNY_STORE_ACTIONS,ModestTnyStoreActions))
15 #define MODEST_TNY_STORE_ACTIONS_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass),MODEST_TYPE_TNY_STORE_ACTIONS,ModestTnyStoreActionsClass))
16 #define MODEST_IS_TNY_STORE_ACTIONS(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj),MODEST_TYPE_TNY_STORE_ACTIONS))
17 #define MODEST_IS_TNY_STORE_ACTIONS_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE((klass),MODEST_TYPE_TNY_STORE_ACTIONS))
18 #define MODEST_TNY_STORE_ACTIONS_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj),MODEST_TYPE_TNY_STORE_ACTIONS,ModestTnyStoreActionsClass))
20 typedef struct _ModestTnyStoreActions ModestTnyStoreActions;
21 typedef struct _ModestTnyStoreActionsClass ModestTnyStoreActionsClass;
23 struct _ModestTnyStoreActions {
25 /* insert public members, if any */
28 struct _ModestTnyStoreActionsClass {
29 GObjectClass parent_class;
31 void (* update_folders) (ModestTnyStoreActions *self,
32 TnyStoreAccountIface *storage_account);
35 /* member functions */
36 GType modest_tny_store_actions_get_type (void) G_GNUC_CONST;
38 GObject* modest_tny_store_actions_new (void);
40 void modest_tny_store_actions_update_folders (ModestTnyStoreActions *self,
41 TnyStoreAccountIface *storage_account);
46 #endif /* __MODEST_TNY_STORE_ACTIONS_H__ */