#define __MODEST_WINDOW_MGR_H__
#include <glib-object.h>
-#include "widgets/modest-window.h"
+#include "widgets/modest-msg-view-window.h"
G_BEGIN_DECLS
/**
- * modest_window_mgr_find_window_for_msgid:
+ * modest_window_mgr_find_window_by_msguid:
* @self: the #ModestWindowMgr
- * @msgid: the message id
- * @modest_window_type: the type of the #ModestWindow we're looking for
+ * @msgid: the message uid
*
- * Looks for a window of a given type that have a relationship with
- * the message specified by the message id passed as argument
+ * Looks for a #ModestWindow that shows the message specified by the
+ * message uid passed as argument
*
* Return value: the #ModestWindow if found, else NULL
**/
-ModestWindow* modest_window_mgr_find_window_for_msgid (ModestWindowMgr *self,
- gchar *msgid,
- GType modest_window_type);
-
+ModestWindow* modest_window_mgr_find_window_by_msguid (ModestWindowMgr *self,
+ const gchar *msguid);
+
+/**
+ * modest_window_mgr_set_fullscreen_mode:
+ * @self: a #ModestWindowMgr
+ * @on: a #gboolean
+ *
+ * sets/unsets the application windows in fullscreen mode
+ **/
+void modest_window_mgr_set_fullscreen_mode (ModestWindowMgr *self,
+ gboolean on);
+
+/**
+ * modest_window_mgr_get_fullscreen_mode:
+ * @self: a #ModestWindowMgr
+ *
+ * gets the application current fullscreen mode
+ *
+ * Return value: TRUE is the application is in fullscrenn mode,
+ * otherwise FALSE
+ **/
+gboolean modest_window_mgr_get_fullscreen_mode (ModestWindowMgr *self);
+
+
+/**
+ * modest_window_mgr_show_toolbars:
+ * @self: a #ModestWindowMgr
+ * @show_toolbar: whether or not the toolbars should be shown
+ * @fullscreen: TRUE/FALSE for show/hide in fullscreen mode, otherwise
+ * it applies to normal mode
+ *
+ * shows or hides the toolbars of the registered windows. Note that if
+ * the #fullscreen attribute is TRUE and the application is in normal
+ * mode, you will not see the changes until the application switches
+ * to fullscreen mode and viceversa
+ **/
+void modest_window_mgr_show_toolbars (ModestWindowMgr *self,
+ gboolean show_toolbars,
+ gboolean fullscreen);
G_END_DECLS
#endif /* __MODEST_WINDOW_MGR_H__ */