57757b858d01b45bb51bac07672aff12ef231eef
[modest] / src / gtk / modest-account-view-window.h
1 /* modest-account-view-window.h */
2 /* insert (c)/licensing information) */
3
4 #ifndef __MODEST_ACCOUNT_VIEW_WINDOW_H__
5 #define __MODEST_ACCOUNT_VIEW_WINDOW_H__
6
7 #include <gtk/gtk.h>
8 #include <glib/gi18n.h>
9 #include <modest-widget-factory.h>
10
11 G_BEGIN_DECLS
12
13 /* convenience macros */
14 #define MODEST_TYPE_ACCOUNT_VIEW_WINDOW             (modest_account_view_window_get_type())
15 #define MODEST_ACCOUNT_VIEW_WINDOW(obj)             (G_TYPE_CHECK_INSTANCE_CAST((obj),MODEST_TYPE_ACCOUNT_VIEW_WINDOW,ModestAccountViewWindow))
16 #define MODEST_ACCOUNT_VIEW_WINDOW_CLASS(klass)     (G_TYPE_CHECK_CLASS_CAST((klass),MODEST_TYPE_ACCOUNT_VIEW_WINDOW,GtkWindow))
17 #define MODEST_IS_ACCOUNT_VIEW_WINDOW(obj)          (G_TYPE_CHECK_INSTANCE_TYPE((obj),MODEST_TYPE_ACCOUNT_VIEW_WINDOW))
18 #define MODEST_IS_ACCOUNT_VIEW_WINDOW_CLASS(klass)  (G_TYPE_CHECK_CLASS_TYPE((klass),MODEST_TYPE_ACCOUNT_VIEW_WINDOW))
19 #define MODEST_ACCOUNT_VIEW_WINDOW_GET_CLASS(obj)   (G_TYPE_INSTANCE_GET_CLASS((obj),MODEST_TYPE_ACCOUNT_VIEW_WINDOW,ModestAccountViewWindowClass))
20
21 typedef struct _ModestAccountViewWindow      ModestAccountViewWindow;
22 typedef struct _ModestAccountViewWindowClass ModestAccountViewWindowClass;
23
24 struct _ModestAccountViewWindow {
25          GtkWindow parent;
26         /* insert public members, if any */
27 };
28
29 struct _ModestAccountViewWindowClass {
30         GtkWindowClass parent_class;
31         /* insert signal callback declarations, eg. */
32         /* void (* my_event) (ModestAccountViewWindow* obj); */
33 };
34
35 /* member functions */
36 GType        modest_account_view_window_get_type    (void) G_GNUC_CONST;
37
38 GtkWidget*   modest_account_view_window_new         (ModestWidgetFactory *factory);
39
40 G_END_DECLS
41
42 #endif /* __MODEST_ACCOUNT_VIEW_WINDOW_H__ */
43