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 IrrecoCmdChainManager
27 * Header file of @ref IrrecoCmdChainManager.
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_MANAGER_H_TYPEDEF__
42 #define __IRRECO_CMD_CHAIN_MANAGER_H_TYPEDEF__
44 typedef struct _IrrecoCmdChainManager IrrecoCmdChainManager
;
46 #endif /* __IRRECO_CMD_CHAIN_MANAGER_H_TYPEDEF__ */
50 /*=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-*/
52 /*=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-*/
53 #ifndef __IRRECO_CMD_CHAIN_MANAGER_H__
54 #define __IRRECO_CMD_CHAIN_MANAGER_H__
56 #include "irreco_cmd_chain.h"
60 /*=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-*/
62 /*=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-*/
63 struct _IrrecoCmdChainManager
{
69 /*=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-*/
71 /*=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-*/
75 /*=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-*/
77 /*=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-*/
78 IrrecoCmdChainManager
* irreco_cmd_chain_manager_new();
79 void irreco_cmd_chain_manager_free(
80 IrrecoCmdChainManager
*self
);
81 IrrecoCmdChainId
irreco_cmd_chain_manager_new_chain(
82 IrrecoCmdChainManager
*self
);
83 gboolean
irreco_cmd_chain_manager_new_chain_with_id(
84 IrrecoCmdChainManager
*self
,
86 void irreco_cmd_chain_manager_free_chain(
87 IrrecoCmdChainManager
*self
,
89 IrrecoCmdChain
* irreco_cmd_chain_manager_get_chain(
90 IrrecoCmdChainManager
*self
,
92 IrrecoCmdChainId
irreco_cmd_chain_manager_find_chain(
93 IrrecoCmdChainManager
*self
,
94 IrrecoCmdChain
*chain
);
95 gboolean
irreco_cmd_chain_manager_to_config(
96 IrrecoCmdChainManager
*self
);
97 gboolean
irreco_cmd_chain_manager_from_config(
98 IrrecoData
*irreco_data
);
101 #endif /* __IRRECO_CMD_CHAIN_MANAGER_H__ */