Added button image data transmission from
[irreco.git] / irreco / src / core / irreco_dlg.h
blob83f5ba41933716b9c4b0ff68469dc12f9e096c75
1 /*
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.
20 /**
21 * @addtogroup IrrecoDlg
22 * @{
25 /**
26 * @file
27 * Header file of @ref IrrecoDlg.
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_DLG_H_TYPEDEF__
42 #define __IRRECO_DLG_H_TYPEDEF__
44 #define IRRECO_TYPE_DLG irreco_dlg_get_type()
45 #define IRRECO_DLG(obj) \
46 (G_TYPE_CHECK_INSTANCE_CAST ((obj), \
47 IRRECO_TYPE_DLG, IrrecoDlg))
48 #define IRRECO_DLG_CLASS(klass) \
49 (G_TYPE_CHECK_CLASS_CAST ((klass), \
50 IRRECO_TYPE_DLG, IrrecoDlgClass))
51 #define IRRECO_IS_DLG(obj) \
52 (G_TYPE_CHECK_INSTANCE_TYPE ((obj), \
53 IRRECO_TYPE_DLG))
54 #define IRRECO_IS_DLG_CLASS(klass) \
55 (G_TYPE_CHECK_CLASS_TYPE ((klass), \
56 IRRECO_TYPE_DLG))
57 #define IRRECO_DLG_GET_CLASS(obj) \
58 (G_TYPE_INSTANCE_GET_CLASS ((obj), \
59 IRRECO_TYPE_DLG, IrrecoDlgClass))
61 typedef struct _IrrecoDlg IrrecoDlg;
62 typedef struct _IrrecoDlgClass IrrecoDlgClass;
64 #endif /* __IRRECO_DLG_H_TYPEDEF__ */
68 /*=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-*/
69 /* Include */
70 /*=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-*/
71 #ifndef __IRRECO_DLG_H__
72 #define __IRRECO_DLG_H__
73 #include "irreco.h"
77 /*=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-*/
78 /* Datatypes */
79 /*=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-*/
80 struct _IrrecoDlg {
81 GtkDialog parent;
84 struct _IrrecoDlgClass {
85 GtkDialogClass parent_class;
91 /*=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-*/
92 /* Macro */
93 /*=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-*/
97 /*=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-*/
98 /* Prototypes */
99 /*=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-*/
100 GType irreco_dlg_get_type(void);
101 GtkWidget *irreco_dlg_new(void);
102 void irreco_dlg_set_parent(IrrecoDlg *self, GtkWindow *parent);
105 #endif /* __IRRECO_DLG_H__ */
107 /** @} */