diff options
Diffstat (limited to 'src/c-main-window.h')
-rw-r--r-- | src/c-main-window.h | 70 |
1 files changed, 0 insertions, 70 deletions
diff --git a/src/c-main-window.h b/src/c-main-window.h deleted file mode 100644 index 2b9ea1c..0000000 --- a/src/c-main-window.h +++ /dev/null @@ -1,70 +0,0 @@ -#ifndef __C_MAIN_WINDOW_H__ -#define __C_MAIN_WINDOW_H__ - -#include <hildon/hildon-stackable-window.h> - -G_BEGIN_DECLS - -#define C_TYPE_MAIN_WINDOW \ - (c_main_window_get_type()) - -#define C_MAIN_WINDOW(obj) \ - (G_TYPE_CHECK_INSTANCE_CAST ((obj), \ - C_TYPE_MAIN_WINDOW, \ - CMainWindow)) - -#define C_MAIN_WINDOW_CLASS(klass) \ - (G_TYPE_CHECK_CLASS_CAST ((klass), \ - C_TYPE_MAIN_WINDOW, \ - CMainWindowClass)) - -#define C_IS_MAIN_WINDOW(obj) \ - (G_TYPE_CHECK_INSTANCE_TYPE ((obj), \ - C_TYPE_MAIN_WINDOW)) - -#define C_IS_MAIN_WINDOW_CLASS(klass) \ - (G_TYPE_CHECK_CLASS_TYPE ((klass), \ - C_TYPE_MAIN_WINDOW)) - -#define C_MAIN_WINDOW_GET_CLASS(obj) \ - (G_TYPE_INSTANCE_GET_CLASS ((obj), \ - C_TYPE_MAIN_WINDOW, \ - CMainWindowClass)) - -typedef struct _CMainWindow CMainWindow; -typedef struct _CMainWindowClass CMainWindowClass; - -struct _CMainWindowClass -{ - HildonStackableWindowClass parent_class; -}; - -struct _CMainWindow -{ - HildonStackableWindow parent; - - GtkTreeIter iter; - GtkListStore *store; - GtkTreeSelection *selection; - - GtkWidget *add_button; - GtkWidget *remove_button; - GtkWidget *edit_button; -}; - -GType c_main_window_get_type(void); - -GtkWidget *c_main_window_new(void); - -void c_main_window_load(CMainWindow *self); -void c_main_window_add_line(CMainWindow *window, - gint id, - const gchar *name, - gint current_qty, - gint total_qty); -void c_main_window_set_no_select(CMainWindow *self); -void c_main_window_set_has_select(CMainWindow *self); - -G_END_DECLS - -#endif /* __C_MAIN_WINDOW_H__ */ |