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 IrrecoSelectInstanceDlg
28 * Header file of @ref IrrecoSelectInstanceDlg.
31 #ifndef _IRRECO_SELECT_INSTANCE_DLG_H_TYPEDEF__
32 #define _IRRECO_SELECT_INSTANCE_DLG_H_TYPEDEF__
34 #define IRRECO_TYPE_SELECT_INSTANCE_DLG irreco_select_instance_dlg_get_type()
36 #define IRRECO_SELECT_INSTANCE_DLG(obj) \
37 (G_TYPE_CHECK_INSTANCE_CAST ((obj), \
38 IRRECO_TYPE_SELECT_INSTANCE_DLG, \
39 IrrecoSelectInstanceDlg))
41 #define IRRECO_SELECT_INSTANCE_DLG_CLASS(klass) \
42 (G_TYPE_CHECK_CLASS_CAST ((klass), \
43 IRRECO_TYPE_SELECT_INSTANCE_DLG, \
44 IrrecoSelectInstanceDlgClass))
46 #define IRRECO_IS_SELECT_INSTANCE_DLG(obj) \
47 (G_TYPE_CHECK_INSTANCE_TYPE ((obj), \
48 IRRECO_TYPE_SELECT_INSTANCE_DLG))
50 #define IRRECO_IS_SELECT_INSTANCE_DLG_CLASS(klass) \
51 (G_TYPE_CHECK_CLASS_TYPE ((klass), \
52 IRRECO_TYPE_SELECT_INSTANCE_DLG))
54 #define IRRECO_SELECT_INSTANCE_DLG_GET_CLASS(obj) \
55 (G_TYPE_INSTANCE_GET_CLASS ((obj), \
56 IRRECO_TYPE_SELECT_INSTANCE_DLG, \
57 IrrecoSelectInstanceDlgClass))
59 typedef struct _IrrecoSelectInstanceDlg IrrecoSelectInstanceDlg
;
60 typedef struct _IrrecoSelectInstanceDlgClass IrrecoSelectInstanceDlgClass
;
62 #endif /* _IRRECO_SELECT_INSTANCE_DLG_H_TYPEDEF__ */
65 /*=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-*/
67 /*=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-*/
68 #ifndef _IRRECO_SELECT_INSTANCE_DLG_H__
69 #define _IRRECO_SELECT_INSTANCE_DLG_H__
71 #include "irreco_dlg.h"
72 #include "irreco_data.h"
73 #include "irreco_listbox_text.h"
75 #include <glib-object.h>
78 /*=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-*/
80 /*=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-*/
82 struct _IrrecoSelectInstanceDlg
{
85 IrrecoListbox
*listbox
;
88 struct _IrrecoSelectInstanceDlgClass
{
89 IrrecoDlgClass parent_class
;
92 /*=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-*/
94 /*=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-*/
97 /*=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-*/
99 /*=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-*/
101 GType
irreco_select_instance_dlg_get_type (void);
103 GtkWidget
* irreco_select_instance_dlg_new (GtkWindow
*parent
);
105 gboolean
irreco_show_select_instance_dlg(IrrecoData
*irreco_data
,
107 const char *lib_name
,
108 IrrecoBackendInstance
** sel_instance
);
110 #endif /* _IRRECO_SELECT_INSTANCE_DLG_H__ */