IrrecoRemoteUploadDlg skeleton created
[irreco.git] / irreco / src / core / irreco_remote_upload_dlg.h
blobb4b6283668329841d97243b5105bcc08d9e7ce80
1 /*
2 * irreco - Ir Remote Control
3 * Copyright (C) 2008 Joni Kokko (t5kojo01@students.oamk.fi)
5 * This program is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU General Public License
7 * as published by the Free Software Foundation; either version 2
8 * of the License, or (at your option) any later version.
10 * This program is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU General Public License for more details.
15 * You should have received a copy of the GNU General Public License
16 * along with this program; if not, write to the Free Software Foundation,
17 * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
20 /**
21 * @addtogroup IrrecoRemoteUploadDlg
22 * @{
25 /**
26 * @file
27 * Header file of @ref IrrecoRemoteUploadDlg.
32 /*=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-*/
33 /* Typedef */
34 /*=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-*/
36 * Make sure that typedefs are available before we include anything elese.
38 * This makes sure that whatever other structures that depend on structures
39 * defined in this file will compile OK recardles of header inclusion order.
41 #ifndef __IRRECO_REMOTE_UPLOAD_DLG_H_TYPEDEF__
42 #define __IRRECO_REMOTE_UPLOAD_DLG_H_TYPEDEF__
44 #define IRRECO_TYPE_REMOTE_UPLOAD_DLG irreco_remote_upload_dlg_get_type()
46 #define IRRECO_REMOTE_UPLOAD_DLG(obj) \
47 (G_TYPE_CHECK_INSTANCE_CAST ((obj), \
48 IRRECO_TYPE_REMOTE_UPLOAD_DLG, IrrecoRemoteUploadDlg))
50 #define IRRECO_REMOTE_UPLOAD_DLG_CLASS(klass) \
51 (G_TYPE_CHECK_CLASS_CAST ((klass), \
52 IRRECO_TYPE_REMOTE_UPLOAD_DLG, IrrecoRemoteUploadDlgClass))
54 #define IRRECO_IS_REMOTE_UPLOAD_DLG(obj) \
55 (G_TYPE_CHECK_INSTANCE_TYPE ((obj), \
56 IRRECO_TYPE_REMOTE_UPLOAD_DLG))
58 #define IRRECO_IS_REMOTE_UPLOAD_DLG_CLASS(klass) \
59 (G_TYPE_CHECK_CLASS_TYPE ((klass), IRRECO_TYPE_REMOTE_UPLOAD_DLG))
61 #define IRRECO_REMOTE_UPLOAD_DLG_GET_CLASS(obj) \
62 (G_TYPE_INSTANCE_GET_CLASS ((obj), \
63 IRRECO_TYPE_REMOTE_UPLOAD_DLG, IrrecoRemoteUploadDlgClass))
65 typedef struct _IrrecoRemoteUploadDlgClass IrrecoRemoteUploadDlgClass;
66 typedef struct _IrrecoRemoteUploadDlg IrrecoRemoteUploadDlg;
67 #endif /* __IRRECO_REMOTE_UPLOAD_DLG_H_TYPEDEF__ */
71 /*=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-*/
72 /* Include */
73 /*=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-*/
74 #ifndef __IRRECO_REMOTE_UPLOAD_DLG_H__
75 #define __IRRECO_REMOTE_UPLOAD_DLG_H__
76 #include "irreco.h"
77 #include "irreco_data.h"
78 #include "irreco_dlg.h"
79 #include <glib-object.h>
83 /*=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-*/
84 /* Datatypes */
85 /*=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-*/
87 struct _IrrecoRemoteUploadDlg {
88 IrrecoDlg parent;
89 IrrecoData *irreco_data;
90 GtkWidget *category;
91 GtkWidget *manufacturer;
92 GtkWidget *model;
93 GtkWidget *comment;
96 struct _IrrecoRemoteUploadDlgClass {
97 IrrecoDlgClass parent_class;
102 /*=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-*/
103 /* Prototypes */
104 /*=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-*/
106 GType irreco_remote_upload_dlg_get_type (void);
108 IrrecoRemoteUploadDlg* irreco_remote_upload_dlg_new(IrrecoData *irreco_data,
109 GtkWindow *parent);
111 void irreco_show_remote_upload_dlg(IrrecoData *irreco_data, GtkWindow *parent);
114 #endif /* __IRRECO_REMOTE_UPLOAD_DLG_H__ */
116 /** @} */