Mostly minor fixes up until version 0.8.10.
[irreco.git] / irreco / src / util / irreco_backend_file_container.h
blob97ff2a74f8ef583a8c4357347c2f24fbcaa880b6
1 /*
2 * irreco - Ir Remote Control
3 * Copyright (C) 2008 Joni Kokko (t5kojo01@students.oamk.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 IrrecoBackendFileContainer
22 * @{
25 /**
26 * @file
27 * Header file of @ref IrrecoBackendFileContainer.
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 __BACKEND_FILE_CONTAINER_H_TYPEDEF__
40 #define __BACKEND_FILE_CONTAINER_H_TYPEDEF__
41 typedef struct _IrrecoBackendFileContainer IrrecoBackendFileContainer;
42 #endif /* __BACKEND_FILE_CONTAINER_H_TYPEDEF__ */
46 /*=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-*/
47 /* Include */
48 /*=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-*/
49 #ifndef __BACKEND_FILE_CONTAINER_H__
50 #define __BACKEND_FILE_CONTAINER_H__
51 #include "irreco_util.h"
54 /*=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-*/
55 /* Datatypes */
56 /*=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-*/
58 struct _IrrecoBackendFileContainer
60 GString *backend;
61 GString *category;
62 GString *manufacturer;
63 GString *model;
64 GString *hash;
65 GString *name;
66 GString *data;
69 /*=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-*/
70 /* Macro */
71 /*=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-*/
75 /*=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-*/
76 /* Prototypes */
77 /*=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-*/
79 IrrecoBackendFileContainer *irreco_backend_file_container_new();
80 void irreco_backend_file_container_free(IrrecoBackendFileContainer *self);
82 void irreco_backend_file_container_set(IrrecoBackendFileContainer *self,
83 const char *backend,
84 const char *category,
85 const char *manufacturer,
86 const char *model,
87 const char *file_name,
88 const char *file_data);
90 void irreco_backend_file_container_set_model(IrrecoBackendFileContainer *self,
91 const char *model);
92 #endif /* __BACKEND_FILE_CONTAINER_H__ */
94 /** @} */