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 IrrecoCmdChainSetupDlg
27 * Header file of @ref IrrecoCmdChainSetupDlg.
32 /*=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-*/
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_CMD_CHAIN_SETUP_DLG_H_TYPEDEF__
42 #define __IRRECO_CMD_CHAIN_SETUP_DLG_H_TYPEDEF__
44 #define IRRECO_TYPE_CMD_CHAIN_SETUP_DLG irreco_cmd_chain_setup_dlg_get_type()
46 #define IRRECO_CMD_CHAIN_SETUP_DLG(obj) \
47 (G_TYPE_CHECK_INSTANCE_CAST ((obj), \
48 IRRECO_TYPE_CMD_CHAIN_SETUP_DLG, IrrecoCmdChainSetupDlg))
50 #define IRRECO_CMD_CHAIN_SETUP_DLG_CLASS(klass) \
51 (G_TYPE_CHECK_CLASS_CAST ((klass), \
52 IRRECO_TYPE_CMD_CHAIN_SETUP_DLG, IrrecoCmdChainSetupDlgClass))
54 #define IRRECO_IS_CMD_CHAIN_SETUP_DLG(obj) \
55 (G_TYPE_CHECK_INSTANCE_TYPE ((obj), \
56 IRRECO_TYPE_CMD_CHAIN_SETUP_DLG))
58 #define IRRECO_IS_CMD_CHAIN_SETUP_DLG_CLASS(klass) \
59 (G_TYPE_CHECK_CLASS_TYPE ((klass), \
60 IRRECO_TYPE_CMD_CHAIN_SETUP_DLG))
62 #define IRRECO_CMD_CHAIN_SETUP_DLG_GET_CLASS(obj) \
63 (G_TYPE_INSTANCE_GET_CLASS ((obj), \
64 IRRECO_TYPE_CMD_CHAIN_SETUP_DLG, IrrecoCmdChainSetupDlgClass))
66 typedef struct _IrrecoCmdChainSetupDlg IrrecoCmdChainSetupDlg
;
67 typedef struct _IrrecoCmdChainSetupDlgClass IrrecoCmdChainSetupDlgClass
;
69 #endif /* __IRRECO_CMD_CHAIN_SETUP_DLG_H_TYPEDEF__ */
73 /*=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-*/
75 /*=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-*/
76 #ifndef __IRRECO_CMD_CHAIN_SETUP_DLG_H__
77 #define __IRRECO_CMD_CHAIN_SETUP_DLG_H__
79 #include "irreco_dlg.h"
80 #include "irreco_cmd_chain.h"
84 /*=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-*/
86 /*=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-*/
88 struct _IrrecoCmdChainSetupDlg
{
91 IrrecoCmdChain
*cmd_chain
;
92 GtkWidget
*progbar_check
;
95 struct _IrrecoCmdChainSetupDlgClass
{
96 IrrecoDlgClass parent_class
;
101 /*=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-*/
103 /*=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-*/
107 /*=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-*/
109 /*=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-*/
110 GType
irreco_cmd_chain_setup_dlg_get_type(void);
111 GtkWidget
* irreco_cmd_chain_setup_dlg_new( GtkWindow
*parent
,
112 IrrecoCmdChain
*cmd_chain
);
113 void irreco_cmd_chain_setup_dlg_set_chain(
114 IrrecoCmdChainSetupDlg
*self
,
115 IrrecoCmdChain
*cmd_chain
);
118 #endif /* __IRRECO_CMD_CHAIN_SETUP_DLG_H__ */