2 * irreco - Ir Remote Control
3 * Copyright (C) 2007 Arto Karppinen (arto.karppinen@iki.fi)
4 * & 2008 Joni Kokko (t5kojo01@students.oamk.fi)
6 * This program is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU General Public License
8 * as published by the Free Software Foundation; either version 2
9 * of the License, or (at your option) any later version.
11 * This program is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 * GNU General Public License for more details.
16 * You should have received a copy of the GNU General Public License
17 * along with this program; if not, write to the Free Software Foundation,
18 * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
22 * @addtogroup IrrecoDeviceDlg
28 * Header file of @ref IrrecoDeviceDlg.
31 /*=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-*/
33 /*=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-*/
35 * Make sure that typedefs are available before we include anything elese.
37 * This makes sure that whatever other structures that depend on structures
38 * defined in this file will compile OK recardles of header inclusion order.
42 #ifndef __IRRECO_DEVICE_DLG_H_TYPEDEF__
43 #define __IRRECO_DEVICE_DLG_H_TYPEDEF__
45 #define IRRECO_TYPE_DEVICE_DLG irreco_device_dlg_get_type()
47 #define IRRECO_DEVICE_DLG(obj) \
48 (G_TYPE_CHECK_INSTANCE_CAST ((obj), \
49 IRRECO_TYPE_DEVICE_DLG, IrrecoDeviceDlg))
51 #define IRRECO_DEVICE_DLG_CLASS(klass) \
52 (G_TYPE_CHECK_CLASS_CAST ((klass), \
53 IRRECO_TYPE_DEVICE_DLG, IrrecoDeviceDlgClass))
55 #define IRRECO_IS_DEVICE_DLG(obj) \
56 (G_TYPE_CHECK_INSTANCE_TYPE ((obj), \
57 IRRECO_TYPE_DEVICE_DLG))
59 #define IRRECO_IS_DEVICE_DLG_CLASS(klass) \
60 (G_TYPE_CHECK_CLASS_TYPE ((klass), \
61 IRRECO_TYPE_DEVICE_DLG))
63 #define IRRECO_DEVICE_DLG_GET_CLASS(obj) \
64 (G_TYPE_INSTANCE_GET_CLASS ((obj), \
65 IRRECO_TYPE_DEVICE_DLG, IrrecoDeviceDlgClass))
67 typedef struct _IrrecoDeviceDlg IrrecoDeviceDlg
;
68 typedef struct _IrrecoDeviceDlgClass IrrecoDeviceDlgClass
;
70 #endif /* __IRRECO_DEVICE_DLG_H_TYPEDEF__ */
74 /*=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-*/
76 /*=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-*/
77 #ifndef __IRRECO_DEVICE_DLG_H__
78 #define __IRRECO_DEVICE_DLG_H__
80 #include "irreco_dlg.h"
81 #include "irreco_data.h"
82 #include "irreco_listbox_text.h"
84 #include <glib-object.h>
88 /*=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-*/
90 /*=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-*/
91 struct _IrrecoDeviceDlg
{
94 IrrecoData
* irreco_data
;
95 IrrecoListbox
*listbox
;
98 struct _IrrecoDeviceDlgClass
{
99 IrrecoDlgClass parent_class
;
102 /*=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-*/
104 /*=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-*/
107 /*=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-*/
109 /*=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-*/
110 void irreco_show_device_dlg(IrrecoData
*irreco_data
,
113 GType
irreco_device_dlg_get_type (void);
114 /*GtkWidget * irreco_device_dlg_new (GtkWindow *parent);*/
116 #endif /* __IRRECO_DEVICE_DLG_H__ */