X-Git-Url: http://git.maemo.org/git/?a=blobdiff_plain;f=src%2Fhildon2%2Fmodest-hildon2-window-mgr.h;h=49d33bb3338258ded48ccbc33beb6bd0952d54dc;hb=54f4d0a7ed835ba70ffeae20c5ced91ca3295b35;hp=706079fa4fd710821705ce87d6eb2d60e333cbc0;hpb=f68f57e6aa049365b5be5b3a072145403445c97f;p=modest diff --git a/src/hildon2/modest-hildon2-window-mgr.h b/src/hildon2/modest-hildon2-window-mgr.h index 706079f..49d33bb 100644 --- a/src/hildon2/modest-hildon2-window-mgr.h +++ b/src/hildon2/modest-hildon2-window-mgr.h @@ -61,8 +61,23 @@ 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); + +ModestWindow *modest_hildon2_window_mgr_get_folder_window (ModestHildon2WindowMgr *self); + G_END_DECLS #endif /* __MODEST_HILDON2_WINDOW_MGR_H__ */