X-Git-Url: http://git.maemo.org/git/?p=modest;a=blobdiff_plain;f=src%2Fhildon2%2Fmodest-hildon2-window-mgr.h;h=b7d1cfd9a759f8a85d8c8a9e5d206cc900c03e28;hp=706079fa4fd710821705ce87d6eb2d60e333cbc0;hb=e374da56f67092cecb1572dd4bee2ca34e0bc04c;hpb=0cbdc04cec54252672feac919caa15ed525a2591 diff --git a/src/hildon2/modest-hildon2-window-mgr.h b/src/hildon2/modest-hildon2-window-mgr.h index 706079f..b7d1cfd 100644 --- a/src/hildon2/modest-hildon2-window-mgr.h +++ b/src/hildon2/modest-hildon2-window-mgr.h @@ -61,8 +61,21 @@ struct _ModestHildon2WindowMgrClass { GType modest_hildon2_window_mgr_get_type (void) G_GNUC_CONST; /* typical parameter-less _new function */ -ModestWindowMgr* modest_hildon2_window_mgr_new (void); - +ModestWindowMgr* modest_hildon2_window_mgr_new (void); + +/** + * modest_hildon2_window_mgr_set_account_store: + * @self: a #ModestHildon2WindowMgr + * @acc_store: a #TnyAccountStore + * + * The window manager will use this function to connect itself to the + * account-created and account-removed signals of the + * #TnyAccountStore, because it ill create/destroy the accounts window + * depending on the existence of 0, 1 or more accounts. + **/ +void modest_hildon2_window_mgr_set_account_store (ModestHildon2WindowMgr *self, + TnyAccountStore *acc_store); + G_END_DECLS #endif /* __MODEST_HILDON2_WINDOW_MGR_H__ */