Added button image data transmission from
[irreco.git] / irreco / src / core / irreco_backend_dlg.h
blobaf00822b26df4bf08f1bd43658bf5a7ffb00b376
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 IrrecoBackendDlg
22 * @{
25 /**
26 * @file
27 * Header file of @ref IrrecoBackendDlg.
30 /*=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-*/
31 /* Typedef */
32 /*=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-*/
34 * Make sure that typedefs are available before we include anything elese.
36 * This makes sure that whatever other structures that depend on structures
37 * defined in this file will compile OK recardles of header inclusion order.
39 #ifndef __IRRECO_BACKEND_DLG_H_TYPEDEF__
40 #define __IRRECO_BACKEND_DLG_H_TYPEDEF__
42 #define IRRECO_TYPE_BACKEND_DLG irreco_backend_dlg_get_type()
43 #define IRRECO_BACKEND_DLG(obj) \
44 (G_TYPE_CHECK_INSTANCE_CAST ((obj), \
45 IRRECO_TYPE_BACKEND_DLG, IrrecoBackendDlg))
46 #define IRRECO_BACKEND_DLG_CLASS(klass) \
47 (G_TYPE_CHECK_CLASS_CAST ((klass), \
48 IRRECO_TYPE_BACKEND_DLG, IrrecoBackendDlgClass))
49 #define IRRECO_IS_BACKEND_DLG(obj) \
50 (G_TYPE_CHECK_INSTANCE_TYPE ((obj), \
51 IRRECO_TYPE_BACKEND_DLG))
52 #define IRRECO_IS_BACKEND_DLG_CLASS(klass) \
53 (G_TYPE_CHECK_CLASS_TYPE ((klass), \
54 IRRECO_TYPE_BACKEND_DLG))
55 #define IRRECO_BACKEND_DLG_GET_CLASS(obj) \
56 (G_TYPE_INSTANCE_GET_CLASS ((obj), \
57 IRRECO_TYPE_BACKEND_DLG, IrrecoBackendDlgClass))
59 typedef struct _IrrecoBackendDlg IrrecoBackendDlg;
60 typedef struct _IrrecoBackendDlgClass IrrecoBackendDlgClass;
62 #endif /* __IRRECO_BACKEND_DLG_H_TYPEDEF__ */
66 /*=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-*/
67 /* Include */
68 /*=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-*/
69 #ifndef __IRRECO_BACKEND_DLG_H__
70 #define __IRRECO_BACKEND_DLG_H__
71 #include "irreco.h"
72 #include "irreco_dlg.h"
73 #include "irreco_data.h"
74 #include "irreco_listbox_text.h"
78 /*=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-*/
79 /* Datatypes */
80 /*=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-*/
82 struct _IrrecoBackendDlg {
83 IrrecoDlg parent;
85 IrrecoData *irreco_data;
86 GtkWidget *listbox;
89 struct _IrrecoBackendDlgClass {
90 IrrecoDlgClass parent_class;
95 /*=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-*/
96 /* Macro */
97 /*=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-*/
101 /*=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-*/
102 /* Prototypes */
103 /*=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-*/
104 GType irreco_backend_dlg_get_type(void);
105 GtkWidget * irreco_backend_dlg_new(IrrecoData *irreco_data,
106 GtkWindow *parent);
107 void irreco_show_backend_dlg(IrrecoData *irreco_data,
108 GtkWindow *parent);
109 void irreco_backend_dlg_set_irreco_data(IrrecoBackendDlg *self,
110 IrrecoData *irreco_data);
113 #endif /* __IRRECO_BACKEND_DLG_H__ */
115 /** @} */