2007-06-28 Murray Cumming <murrayc@murrayc.com
[modest] / src / widgets / modest-main-window.h
index c329ddf..3f4d162 100644 (file)
@@ -77,6 +77,7 @@ typedef enum _ModestMainWindowStyle {
 typedef enum _ModestMainWindowContentsStyle {
        MODEST_MAIN_WINDOW_CONTENTS_STYLE_HEADERS,
        MODEST_MAIN_WINDOW_CONTENTS_STYLE_DETAILS,
+       MODEST_MAIN_WINDOW_CONTENTS_STYLE_EMPTY,
 } ModestMainWindowContentsStyle;
 
 /* toolbar modes  */
@@ -165,26 +166,44 @@ ModestMainWindowStyle       modest_main_window_get_style        (ModestMainWindo
 /**
  * modest_main_window_set_contents_style:
  * @self: the #ModestMainWindow
- * @style: a #ModestMainWindowContentsStyle that will be set
+ * @style: a #ModestMainWindowContentsStyle that will be set. Either headers or details.
  * 
  * Shows either the folder details, or the header list of the current
- * selected folder
+ * selected folder.
  **/
 void       modest_main_window_set_contents_style       (ModestMainWindow *self, 
                                                        ModestMainWindowContentsStyle style);
 
 /**
- * modest_main_window_set_contents_style:
+ * modest_main_window_get_contents_style:
  * @self: the #ModestMainWindow
- * @mode: a #ModestTollbarMode that will be set
  * 
- * Shows toolitems associated with toolbar mode (Normal/Transfer), 
- * defined by @mode argument.
+ * Gets the currently selected #ModestMainWindowContentsStyle
+ * 
+ * Returns: the #ModestMainWindowContentsStyle of the main window
+ **/
+ModestMainWindowContentsStyle modest_main_window_get_contents_style (ModestMainWindow *self);
+
+
+
+/**
+ * modest_main_window_notify_send_receive_initied:
+ * @self: the #ModestMainWindow
  * 
+ * Notifies main window that send/receive operaiton was just started. 
  **/
 void 
-modest_main_window_set_toolbar_mode (ModestMainWindow *self, 
-                                     ModestToolBarModes mode);
+modest_main_window_notify_send_receive_initied (ModestMainWindow *self);
+
+/**
+ * modest_main_window_notify_send_receive_completed:
+ * @self: the #ModestMainWindow
+ * 
+ * Notifies main window that send/receive operaiton was completed. 
+ **/
+void 
+modest_main_window_notify_send_receive_completed (ModestMainWindow *self);
+
 
 G_END_DECLS