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 * @addtogroup IrrecoBackendErrDlg
27 * Header file of @ref IrrecoBackendErrDlg.
30 /*=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-*/
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_ERR_DLG_TYPEDEF__
40 #define __IRRECO_BACKEND_ERR_DLG_TYPEDEF__
41 #define IRRECO_TYPE_BACKEND_ERR_DLG irreco_backend_err_dlg_get_type()
43 #define IRRECO_BACKEND_ERR_DLG(obj) \
44 (G_TYPE_CHECK_INSTANCE_CAST ((obj), \
45 IRRECO_TYPE_BACKEND_ERR_DLG, IrrecoBackendErrDlg))
47 #define IRRECO_BACKEND_ERR_DLG_CLASS(klass) \
48 (G_TYPE_CHECK_CLASS_CAST ((klass), \
49 IRRECO_TYPE_BACKEND_ERR_DLG, IrrecoBackendErrDlgClass))
51 #define IRRECO_IS_BACKEND_ERR_DLG(obj) \
52 (G_TYPE_CHECK_INSTANCE_TYPE ((obj), \
53 IRRECO_TYPE_BACKEND_ERR_DLG))
55 #define IRRECO_IS_BACKEND_ERR_DLG_CLASS(klass) \
56 (G_TYPE_CHECK_CLASS_TYPE ((klass), \
57 IRRECO_TYPE_BACKEND_ERR_DLG))
59 #define IRRECO_BACKEND_ERR_DLG_GET_CLASS(obj) \
60 (G_TYPE_INSTANCE_GET_CLASS ((obj), \
61 IRRECO_TYPE_BACKEND_ERR_DLG, IrrecoBackendErrDlgClass))
63 typedef struct _IrrecoBackendErrDlg IrrecoBackendErrDlg
;
64 typedef struct _IrrecoBackendErrDlgClass IrrecoBackendErrDlgClass
;
66 #endif /* __IRRECO_BACKEND_ERR_DLG_TYPEDEF__ */
70 /*=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-*/
72 /*=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-*/
73 #ifndef __IRRECO_BACKEND_ERR_DLG__
74 #define __IRRECO_BACKEND_ERR_DLG__
76 #include "irreco_dlg.h"
80 /*=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-*/
82 /*=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-*/
83 struct _IrrecoBackendErrDlg
{
92 struct _IrrecoBackendErrDlgClass
{
93 IrrecoDlgClass parent_class
;
98 /*=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-*/
100 /*=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-*/
104 /*=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-*/
106 /*=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-*/
107 GType
irreco_backend_err_dlg_get_type (void);
108 GtkWidget
* irreco_backend_err_dlg_new (GtkWindow
*parent
,
109 const gchar
*backend
,
110 const gchar
*instace
,
112 const gchar
*message
);
113 void irreco_show_backend_err_dlg (GtkWindow
*parent
,
114 const gchar
*backend
,
115 const gchar
*instace
,
117 const gchar
*message
);
120 #endif /* __IRRECO_BACKEND_ERR_DLG__ */