* cleanup, removed unused variables to make -Wall happy
[modest] / src / modest-ui.h
index 2fa9089..acb7719 100644 (file)
@@ -5,8 +5,10 @@
 #define __MODEST_UI_H__
 
 #include <glib-object.h>
+#include <gtk/gtkcontainer.h>
 #include "modest-conf.h"
 
+
 G_BEGIN_DECLS
 
 /* convenience macros */
@@ -55,15 +57,16 @@ GObject*     modest_ui_new             (ModestConf *modest_conf);
 /**
  * modest_ui_show_main_window:
  * @ui: a ModestUI instance 
- *  
- * Returns: TRUE if succeeded, FALSE otherwise
  * 
+ * show the application's main window
+ * 
+ * Returns: TRUE if succeeded, FALSE otherwise
  */
 gboolean     modest_ui_show_main_window (ModestUI *ui);
 
 
 /**
- * modest_ui_show_edit_window:
+ * modest_ui_new_edit_window:
  * @ui: a ModestUI instance 
  * @to: people to send this to, ';' separated
  * @cc: people to send carbon-copies (cc), ';' separated
@@ -74,7 +77,7 @@ gboolean     modest_ui_show_main_window (ModestUI *ui);
  *  
  * Returns: TRUE if succeeded, FALSE otherwise
  */
-gboolean     modest_ui_show_edit_window (ModestUI *ui,
+gboolean     modest_ui_new_edit_window (ModestUI *ui,
                                         const gchar* to,
                                         const gchar* cc,
                                         const gchar* bcc,
@@ -82,6 +85,15 @@ gboolean     modest_ui_show_edit_window (ModestUI *ui,
                                         const gchar* body,
                                         const GSList* att);
 
+
+GtkContainer *modest_ui_new_editor_window (ModestUI *modest_ui, gpointer *user_data);
+
+gboolean modest_ui_editor_window_set_to_header(const gchar *to, gpointer window_data);
+gboolean modest_ui_editor_window_set_cc_header(const gchar *cc, gpointer window_data);
+gboolean modest_ui_editor_window_set_bcc_header(const gchar *bcc, gpointer window_data);
+gboolean modest_ui_editor_window_set_subject_header(const gchar *subject, gpointer window_data);
+gboolean modest_ui_editor_window_set_body(const gchar *body, gpointer window_data);
+
 G_END_DECLS
 
 #endif /* __MODEST_UI_H__ */