Added README.
[irreco.git] / irreco / src / core / irreco_device_dlg.h
blobbce408dfcfb8a4cb57057571f8a723ff30c92113
1 /*
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.
21 /**
22 * @addtogroup IrrecoDeviceDlg
23 * @{
26 /**
27 * @file
28 * Header file of @ref IrrecoDeviceDlg.
31 /*=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-*/
32 /* Typedef */
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 /*=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-*/
75 /* Include */
76 /*=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-*/
77 #ifndef __IRRECO_DEVICE_DLG_H__
78 #define __IRRECO_DEVICE_DLG_H__
79 #include "irreco.h"
80 #include "irreco_dlg.h"
81 #include "irreco_data.h"
82 #include "irreco_listbox_text.h"
84 #include <glib-object.h>
88 /*=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-*/
89 /* Datatypes */
90 /*=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-*/
91 struct _IrrecoDeviceDlg {
92 IrrecoDlg parent;
93 GtkWidget * vbox;
94 IrrecoData * irreco_data;
95 IrrecoListbox *listbox;
98 struct _IrrecoDeviceDlgClass {
99 IrrecoDlgClass parent_class;
102 /*=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-*/
103 /* Macro */
104 /*=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-*/
107 /*=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-*/
108 /* Prototypes */
109 /*=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-*/
110 void irreco_show_device_dlg(IrrecoData *irreco_data,
111 GtkWindow *parent);
113 GType irreco_device_dlg_get_type (void);
114 /*GtkWidget * irreco_device_dlg_new (GtkWindow *parent);*/
116 #endif /* __IRRECO_DEVICE_DLG_H__ */
118 /** @} */