2 * irreco - Ir Remote Control
3 * Copyright (C) 2007 Arto Karppinen (arto.karppinen@iki.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.
21 /*=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-*/
23 /*=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-*/
25 * Make sure that typedefs are available before we include anything elese.
27 * This makes sure that whatever other structures that depend on structures
28 * defined in this file will compile OK recardles of header inclusion order.
30 #ifndef __IRRECO_BACKEND_DLG_H_TYPEDEF__
31 #define __IRRECO_BACKEND_DLG_H_TYPEDEF__
33 #define IRRECO_TYPE_BACKEND_DLG irreco_backend_dlg_get_type()
34 #define IRRECO_BACKEND_DLG(obj) \
35 (G_TYPE_CHECK_INSTANCE_CAST ((obj), \
36 IRRECO_TYPE_BACKEND_DLG, IrrecoBackendDlg))
37 #define IRRECO_BACKEND_DLG_CLASS(klass) \
38 (G_TYPE_CHECK_CLASS_CAST ((klass), \
39 IRRECO_TYPE_BACKEND_DLG, IrrecoBackendDlgClass))
40 #define IRRECO_IS_BACKEND_DLG(obj) \
41 (G_TYPE_CHECK_INSTANCE_TYPE ((obj), \
42 IRRECO_TYPE_BACKEND_DLG))
43 #define IRRECO_IS_BACKEND_DLG_CLASS(klass) \
44 (G_TYPE_CHECK_CLASS_TYPE ((klass), \
45 IRRECO_TYPE_BACKEND_DLG))
46 #define IRRECO_BACKEND_DLG_GET_CLASS(obj) \
47 (G_TYPE_INSTANCE_GET_CLASS ((obj), \
48 IRRECO_TYPE_BACKEND_DLG, IrrecoBackendDlgClass))
50 typedef struct _IrrecoBackendDlg IrrecoBackendDlg
;
51 typedef struct _IrrecoBackendDlgClass IrrecoBackendDlgClass
;
53 #endif /* __IRRECO_BACKEND_DLG_H_TYPEDEF__ */
57 /*=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-*/
59 /*=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-*/
60 #ifndef __IRRECO_BACKEND_DLG_H__
61 #define __IRRECO_BACKEND_DLG_H__
63 #include "irreco_dlg.h"
64 #include "irreco_data.h"
65 #include "irreco_listbox_text.h"
69 /*=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-*/
71 /*=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-*/
73 struct _IrrecoBackendDlg
{
76 IrrecoData
*irreco_data
;
80 struct _IrrecoBackendDlgClass
{
81 IrrecoDlgClass parent_class
;
86 /*=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-*/
88 /*=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-*/
92 /*=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-*/
94 /*=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-*/
95 GType
irreco_backend_dlg_get_type(void);
96 GtkWidget
* irreco_backend_dlg_new(IrrecoData
*irreco_data
,
98 void irreco_show_backend_dlg(IrrecoData
*irreco_data
,
100 void irreco_backend_dlg_set_irreco_data(IrrecoBackendDlg
*self
,
101 IrrecoData
*irreco_data
);
104 #endif /* __IRRECO_BACKEND_DLG_H__ */