X-Git-Url: http://git.maemo.org/git/?a=blobdiff_plain;f=src%2Fmodest-account-mgr-priv.h;h=cc40a1d81ca3abd444d1fc5f157f5ec1a17dc7d1;hb=180a6c986b177f0818ca0e25d35da5bb702d2039;hp=aadc41eab6049d5d51a9d09b0d145b3a9718c959;hpb=5024de84b7959b0b3373176d8c1f91a73427ff88;p=modest diff --git a/src/modest-account-mgr-priv.h b/src/modest-account-mgr-priv.h index aadc41e..cc40a1d 100644 --- a/src/modest-account-mgr-priv.h +++ b/src/modest-account-mgr-priv.h @@ -31,6 +31,7 @@ #define __MODEST_ACCOUNT_MGR_PRIV_H__ #include +#include /* * private functions, only for use in modest-account-mgr and @@ -44,5 +45,21 @@ gchar* _modest_account_mgr_account_from_key (const gchar *key, gboolean *is_acco gchar * _modest_account_mgr_get_account_keyname (const gchar *account_name, const gchar * name, gboolean server_account); +/* below is especially very _private_ stuff */ +typedef struct _ModestAccountMgrPrivate ModestAccountMgrPrivate; +struct _ModestAccountMgrPrivate { + ModestConf *modest_conf; + + /* We store these as they change, and send notifications every X seconds: */ + GSList *changed_conf_keys; + guint timeout; + gulong key_changed_handler_uid; + GSList* busy_accounts; +}; + +#define MODEST_ACCOUNT_MGR_GET_PRIVATE(o) (G_TYPE_INSTANCE_GET_PRIVATE((o), \ + MODEST_TYPE_ACCOUNT_MGR, \ + ModestAccountMgrPrivate)) + G_END_DECLS #endif /* __MODEST_ACCOUNT_MGR_PRIV_H__ */