diff options
author | Tom Willemsen | 2010-10-21 21:00:26 +0200 |
---|---|---|
committer | Tom Willemsen | 2010-10-21 21:00:26 +0200 |
commit | 8a45361b4f6fd8613a78011f5421091a18781773 (patch) | |
tree | d82f7cf91cad96139a1ea80f2bf4a00890071a8b /src/eom-new-item-dialog.h | |
parent | 4b153e25e4b51a1cd4d7876bf6cd1dfb14744344 (diff) | |
download | eye-on-manga-8a45361b4f6fd8613a78011f5421091a18781773.tar.gz eye-on-manga-8a45361b4f6fd8613a78011f5421091a18781773.zip |
Changed name from Collections to Eye on Manga
Diffstat (limited to 'src/eom-new-item-dialog.h')
-rw-r--r-- | src/eom-new-item-dialog.h | 60 |
1 files changed, 60 insertions, 0 deletions
diff --git a/src/eom-new-item-dialog.h b/src/eom-new-item-dialog.h new file mode 100644 index 0000000..b77a93f --- /dev/null +++ b/src/eom-new-item-dialog.h @@ -0,0 +1,60 @@ +#ifndef __EOM_NEW_ITEM_DIALOG_H__ +#define __EOM_NEW_ITEM_DIALOG_H__ + +#include <gtk/gtkdialog.h> + +G_BEGIN_DECLS + +#define EOM_TYPE_NEW_ITEM_DIALOG \ + (eom_new_item_dialog_get_type()) + +#define EOM_NEW_ITEM_DIALOG(obj) \ + (G_TYPE_CHECK_INSTANCE_CAST ((obj), \ + EOM_TYPE_NEW_ITEM_DIALOG, \ + EomNewItemDialog)) + +#define EOM_NEW_ITEM_DIALOG_CLASS(klass) \ + (G_TYPE_CHECK_CLASS_CAST ((klass), \ + EOM_TYPE_NEW_ITEM_DIALOG, \ + EomNewItemDialogClass)) + +#define EOM_IS_NEW_ITEM_DIALOG(obj) \ + (G_TYPE_CHECK_INSTANCE_TYPE ((obj), \ + EOM_TYPE_NEW_ITEM_DIALOG)) + +#define EOM_IS_NEW_ITEM_DIALOG_CLASS(klass) \ + (G_TYPE_CHECK_CLASS_TYPE ((klass), \ + EOM_TYPE_NEW_ITEM_DIALOG)) + +#define EOM_NEW_ITEM_DIALOG_GET_CLASS(obj) \ + (G_TYPE_INSTANCE_GET_CLASS ((obj), \ + EOM_TYPE_NEW_ITEM_DIALOG, \ + EomNewItemDialogClass)) + +typedef struct _EomNewItemDialog EomNewItemDialog; +typedef struct _EomNewItemDialogClass EomNewItemDialogClass; + +struct _EomNewItemDialogClass +{ + GtkDialogClass parent_class; +}; + +struct _EomNewItemDialog +{ + GtkDialog parent; + + GtkWidget *name_entry; + GtkWidget *qty_entry; +}; + +GType eom_new_item_dialog_get_type(void); + +GtkWidget *eom_new_item_dialog_new(void); + +const gchar *eom_new_item_dialog_get_name(EomNewItemDialog *dialog); + +gint eom_new_item_dialog_get_total_qty(EomNewItemDialog *dialog); + +G_END_DECLS + +#endif /* __EOM_NEW_ITEM_DIALOG_H__ */ |