440e25b7e5b355a08d7de6265de2cc2722aa2898
[modest] / src / hildon / modest-ui-glade.h
1 /* modest-ui-glade.h */
2 /* insert (c)/licensing information) */
3
4 #ifndef __MODEST_UI_GLADE_H__
5 #define __MODEST_UI_GLADE_H__
6
7 #include <hildon-widgets/hildon-program.h>
8
9 #include "../modest-ui.h"
10 #include "../modest-account-mgr.h"
11 #include "../modest-identity-mgr.h"
12 #include "../modest-window-mgr.h"
13 #include "../modest-tny-account-store.h"
14
15 #define MODEST_GLADE          PREFIX "/share/modest/glade/modest.glade"
16 #define MODEST_GLADE_MAIN_WIN "main"
17 #define MODEST_GLADE_EDIT_WIN "new_mail"
18
19 typedef struct _ModestUIPrivate ModestUIPrivate;
20 struct _ModestUIPrivate {
21
22         ModestConf           *modest_conf;
23         ModestAccountMgr     *modest_acc_mgr;
24         ModestIdentityMgr    *modest_id_mgr;
25         ModestWindowMgr      *modest_window_mgr;
26         TnyAccountStoreIface *account_store;
27         GtkWidget            *folder_view;
28         GtkWidget            *header_view;
29         GtkWidget            *message_view;
30
31         GtkWindow            *main_window;
32         GladeXML             *glade_xml;
33
34         TnyMsgFolderIface    *current_folder;
35         HildonProgram        *program;
36 };
37
38 #define MODEST_UI_GET_PRIVATE(o)      (G_TYPE_INSTANCE_GET_PRIVATE((o), \
39                                        MODEST_TYPE_UI, \
40                                        ModestUIPrivate))
41
42 #endif /* __MODEST_UI_GLADE_H__ */