* Added two new functions
authorSergio Villar Senin <svillar@igalia.com>
Fri, 19 Jan 2007 14:34:04 +0000 (14:34 +0000)
committerSergio Villar Senin <svillar@igalia.com>
Fri, 19 Jan 2007 14:34:04 +0000 (14:34 +0000)
pmo-trunk-r678

src/widgets/modest-main-window.h

index 83d4aa9..a77688f 100644 (file)
@@ -63,6 +63,28 @@ GType modest_main_window_get_type (void) G_GNUC_CONST;
 ModestWindow* modest_main_window_new (ModestWidgetFactory *factory,
                                      TnyAccountStore *account_store);
 
+/**
+ * modest_main_window_get_widget_factory:
+ * @edit_window: a #ModestMainWindow
+ * 
+ * gets a new reference to the #ModestWidgetFactory associated with
+ * the main window
+ * 
+ * Returns: the widget factory
+ **/
+ModestWidgetFactory *   modest_main_window_get_widget_factory    (ModestMainWindow *main_window);
+
+/**
+ * modest_main_window_get_account_store:
+ * @edit_window: a #ModestMainWindow
+ * 
+ * gets a new reference to the account store associated with the main
+ * window
+ * 
+ * Returns: the account store
+ **/
+TnyAccountStore *       modest_main_window_get_account_store     (ModestMainWindow *main_window);
+
 G_END_DECLS
 
 #endif /* __MODEST_MAIN_WINDOW_H__ */