4 #include <glib-object.h>
9 #define CHIMARA_TYPE_APP (chimara_app_get_type())
10 #define CHIMARA_APP(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), CHIMARA_TYPE_APP, ChimaraApp))
11 #define CHIMARA_APP_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), CHIMARA_TYPE_APP, ChimaraAppClass))
12 #define CHIMARA_IS_APP(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), CHIMARA_TYPE_APP))
13 #define CHIMARA_IS_APP_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE((klass), CHIMARA_TYPE_APP))
14 #define CHIMARA_APP_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), CHIMARA_TYPE_APP, ChimaraAppClass))
16 typedef struct _ChimaraApp {
17 GObject parent_instance;
20 GtkWidget *browser_window;
21 GtkWidget *aboutwindow;
22 GtkWidget *prefswindow;
24 GSettings *prefs_settings;
25 GSettings *state_settings;
28 typedef struct _ChimaraAppClass {
29 GObjectClass parent_class;
32 GType chimara_app_get_type(void) G_GNUC_CONST;
33 ChimaraApp *chimara_app_get(void);
34 GtkActionGroup *chimara_app_get_action_group(ChimaraApp *self);
38 #endif /* __APP_H__ */