2007-06-27 Murray Cumming <murrayc@murrayc.com
[modest] / src / widgets / modest-main-window.h
index dbea5c0..3f4d162 100644 (file)
@@ -77,8 +77,15 @@ 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  */
+typedef enum _ModestToolBarModes {
+       TOOLBAR_MODE_NORMAL,
+       TOOLBAR_MODE_TRANSFER,  
+} ModestToolBarModes;
+
 /**
  * modest_main_window_get_type:
  * 
@@ -159,14 +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_get_contents_style:
+ * @self: the #ModestMainWindow
+ * 
+ * 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_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