Merge branch 'master' of ssh://pege77@mercury.wipsl.com/var/git/irreco-theme-editor
[irreco.git] / irreco / src / core / irreco_internal_widget.h
blobf6e5bc5b134d38dd777f08a6a002c1353f87c424
1 /*
2 * irreco - Ir Remote Control
3 * Copyright (C) 2007,2008 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 IrrecoInternalWidget
22 * @{
25 /**
26 * @file
27 * Header file of @ref IrrecoInternalWidget.
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_INTERNAL_WIDGET_H_TYPEDEF__
42 #define __IRRECO_INTERNAL_WIDGET_H_TYPEDEF__
44 #define IRRECO_TYPE_INTERNAL_WIDGET (irreco_internal_widget_get_type ())
45 #define IRRECO_INTERNAL_WIDGET(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), IRRECO_TYPE_INTERNAL_WIDGET, IrrecoInternalWidget))
46 #define IRRECO_INTERNAL_WIDGET_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), IRRECO_TYPE_INTERNAL_WIDGET, IrrecoInternalWidgetClass))
47 #define IRRECO_IS_INTERNAL_WIDGET(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), IRRECO_TYPE_INTERNAL_WIDGET))
48 #define IRRECO_IS_INTERNAL_WIDGET_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), IRRECO_TYPE_INTERNAL_WIDGET))
49 #define IRRECO_INTERNAL_WIDGET_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), IRRECO_TYPE_INTERNAL_WIDGET, IrrecoInternalWidgetClass))
51 typedef struct _IrrecoInternalWidgetClass IrrecoInternalWidgetClass;
52 typedef struct _IrrecoInternalWidget IrrecoInternalWidget;
54 #endif /* __IRRECO_INTERNAL_WIDGET_H_TYPEDEF__ */
58 /*=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-*/
59 /* Include */
60 /*=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-*/
61 #ifndef __IRRECO_INTERNAL_WIDGET_H__
62 #define __IRRECO_INTERNAL_WIDGET_H__
63 #include "irreco.h"
64 #include "irreco_data.h"
68 /*=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-*/
69 /* Datatypes */
70 /*=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-*/
72 struct _IrrecoInternalWidgetClass
74 GtkHBoxClass parent_class;
77 struct _IrrecoInternalWidget
79 GtkHBox parent_instance;
84 /*=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-*/
85 /* Macro */
86 /*=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-*/
90 /*=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-*/
91 /* Prototypes */
92 /*=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-*/
94 GType irreco_internal_widget_get_type(void) G_GNUC_CONST;
95 IrrecoData *irreco_internal_widget_get_irreco_data(IrrecoInternalWidget *self);
98 #endif /* __IRRECO_INTERNAL_WIDGET_H__ */
100 /** @} */