Moved check_for_active_account to modest_ui_actions
[modest] / src / hildon2 / modest-accounts-window.h
index 95ba4cf..f0af61c 100644 (file)
@@ -31,6 +31,7 @@
 #define __MODEST_ACCOUNTS_WINDOW_H__
 
 #include <widgets/modest-window.h>
+#include <modest-hildon2-window.h>
 #include <widgets/modest-account-view.h>
 
 G_BEGIN_DECLS
@@ -48,11 +49,11 @@ typedef struct _ModestAccountsWindow      ModestAccountsWindow;
 typedef struct _ModestAccountsWindowClass ModestAccountsWindowClass;
 
 struct _ModestAccountsWindow {
-       ModestWindow parent;
+       ModestHildon2Window parent;
 };
 
 struct _ModestAccountsWindowClass {
-       ModestWindowClass parent_class;
+       ModestHildon2WindowClass parent_class;
 };
 
 /**
@@ -82,6 +83,15 @@ ModestWindow* modest_accounts_window_new ();
  */
 ModestAccountView *modest_accounts_window_get_account_view (ModestAccountsWindow *self);
 
+/**
+ * modest_accounts_window_pre_create:
+ *
+ * Creates an instance of #ModestAccountsWindow that will be used in the next call
+ * to modest_accounts_window_new (). Should be called in the initialisation process
+ *
+ */
+void modest_accounts_window_pre_create (void);
+
 G_END_DECLS
 
 #endif