aboutsummaryrefslogtreecommitdiffstats
path: root/src/eom-main-window.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/eom-main-window.h')
-rw-r--r--src/eom-main-window.h64
1 files changed, 28 insertions, 36 deletions
diff --git a/src/eom-main-window.h b/src/eom-main-window.h
index d4ff74e..fb3524f 100644
--- a/src/eom-main-window.h
+++ b/src/eom-main-window.h
@@ -6,60 +6,52 @@
G_BEGIN_DECLS
#define EOM_TYPE_MAIN_WINDOW \
- (eom_main_window_get_type())
+ (eom_main_window_get_type())
#define EOM_MAIN_WINDOW(obj) \
- (G_TYPE_CHECK_INSTANCE_CAST ((obj), \
- EOM_TYPE_MAIN_WINDOW, \
- EomMainWindow))
+ (G_TYPE_CHECK_INSTANCE_CAST ((obj), \
+ EOM_TYPE_MAIN_WINDOW, \
+ EomMainWindow))
-#define EOM_MAIN_WINDOW_CLASS(klass) \
- (G_TYPE_CHECK_CLASS_CAST ((klass), \
- EOM_TYPE_MAIN_WINDOW, \
- EomMainWindowClass))
+#define EOM_MAIN_WINDOW_CLASS(klass) \
+ (G_TYPE_CHECK_CLASS_CAST ((klass), \
+ EOM_TYPE_MAIN_WINDOW, \
+ EomMainWindowClass))
#define EOM_IS_MAIN_WINDOW(obj) \
- (G_TYPE_CHECK_INSTANCE_TYPE ((obj), \
- EOM_TYPE_MAIN_WINDOW))
+ (G_TYPE_CHECK_INSTANCE_TYPE ((obj), \
+ EOM_TYPE_MAIN_WINDOW))
#define EOM_IS_MAIN_WINDOW_CLASS(klass) \
- (G_TYPE_CHECK_CLASS_TYPE ((klass), \
- EOM_TYPE_MAIN_WINDOW))
+ (G_TYPE_CHECK_CLASS_TYPE ((klass), \
+ EOM_TYPE_MAIN_WINDOW))
#define EOM_MAIN_WINDOW_GET_CLASS(obj) \
- (G_TYPE_INSTANCE_GET_CLASS ((obj), \
- EOM_TYPE_MAIN_WINDOW, \
- EomMainWindowClass))
-
-typedef struct _EomMainWindow EomMainWindow;
-typedef struct _EomMainWindowClass EomMainWindowClass;
+ (G_TYPE_INSTANCE_GET_CLASS ((obj), \
+ EOM_TYPE_MAIN_WINDOW, \
+ EomMainWindowClass))
-struct _EomMainWindowClass
+typedef struct
{
- HildonStackableWindowClass parent_class;
-};
+ HildonStackableWindowClass parent_class;
+} EomMainWindowClass;
-struct _EomMainWindow
+typedef struct
{
- HildonStackableWindow parent;
+ HildonStackableWindow parent;
- GtkTreeIter iter;
- GtkListStore *store;
+ GtkTreeIter iter;
+ GtkListStore *store;
- int state;
-};
-
-GType eom_main_window_get_type(void);
+ int state;
+} EomMainWindow;
+void eom_main_window_add_line(EomMainWindow*, gint, const gchar*, gint,
+ gint);
+GType eom_main_window_get_type(void);
+void eom_main_window_load(EomMainWindow*);
GtkWidget *eom_main_window_new(void);
-void eom_main_window_load(EomMainWindow *self);
-void eom_main_window_add_line(EomMainWindow *window,
- gint id,
- const gchar *name,
- gint current_qty,
- gint total_qty);
-
G_END_DECLS
#endif /* __EOM_MAIN_WINDOW_H__ */