X-Git-Url: http://git.maemo.org/git/?a=blobdiff_plain;f=src%2Fwidgets%2Fmodest-msg-view-window.h;h=9e414211aa2ef75e391390cdd888d66fd81c533d;hb=43720d393ceb644b08011fc1d8b34ebf3ba4d8cc;hp=5d6e6e2b92d7726fe44a3e6a1e4b15d3b9af6b14;hpb=3a69262f88128f4dd3c78bbe62abc90f13491ded;p=modest diff --git a/src/widgets/modest-msg-view-window.h b/src/widgets/modest-msg-view-window.h index 5d6e6e2..9e41421 100644 --- a/src/widgets/modest-msg-view-window.h +++ b/src/widgets/modest-msg-view-window.h @@ -34,11 +34,12 @@ #include #ifdef MODEST_TOOLKIT_HILDON2 #include +#else +#include #endif #include #include -#include -#include +#include G_BEGIN_DECLS @@ -55,7 +56,7 @@ typedef struct { #ifdef MODEST_TOOLKIT_HILDON2 ModestHildon2Window parent; #else - ModestWindow parent; + ModestShellWindow parent; #endif } ModestMsgViewWindow; @@ -63,7 +64,7 @@ typedef struct { #ifdef MODEST_TOOLKIT_HILDON2 ModestHildon2WindowClass parent_class; #else - ModestWindowClass parent_class; + ModestShellWindowClass parent_class; #endif void (*msg_changed) (ModestMsgViewWindow *self, @@ -179,6 +180,14 @@ ModestWindow* modest_msg_view_window_new_from_header_view (ModestHeaderView *h /** + * modest_msg_view_window_new_from_uid: + */ +ModestWindow * +modest_msg_view_window_new_from_uid (const gchar *modest_account_name, + const gchar *mailbox, + const gchar *msg_uid); + +/** * modest_msg_view_window_new_for_search_result: * @msg: an #TnyMsg instance * @modest_account_name: the account name