1 /* modest-ui-glade.h */
2 /* insert (c)/licensing information) */
4 #ifndef __MODEST_UI_GLADE_H__
5 #define __MODEST_UI_GLADE_H__
7 #include <hildon-widgets/hildon-program.h>
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"
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"
19 typedef struct _ModestUIPrivate ModestUIPrivate;
20 struct _ModestUIPrivate {
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;
31 GtkWindow *main_window;
34 TnyMsgFolderIface *current_folder;
35 HildonProgram *program;
38 #define MODEST_UI_GET_PRIVATE(o) (G_TYPE_INSTANCE_GET_PRIVATE((o), \
42 #endif /* __MODEST_UI_GLADE_H__ */