eabb73801daa3fed63a38bcadd7aecb618addde5
[src/app-framework-main.git] / src / wgt-config.h
1 /*
2  Copyright 2015, 2016 IoT.bzh
3
4  author: José Bollo <jose.bollo@iot.bzh>
5
6  Licensed under the Apache License, Version 2.0 (the "License");
7  you may not use this file except in compliance with the License.
8  You may obtain a copy of the License at
9
10      http://www.apache.org/licenses/LICENSE-2.0
11
12  Unless required by applicable law or agreed to in writing, software
13  distributed under the License is distributed on an "AS IS" BASIS,
14  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15  See the License for the specific language governing permissions and
16  limitations under the License.
17 */
18
19
20 extern const char wgt_config_string_author[];
21 extern const char wgt_config_string_content[];
22 extern const char wgt_config_string_defaultlocale[];
23 extern const char wgt_config_string_description[];
24 extern const char wgt_config_string_email[];
25 extern const char wgt_config_string_encoding[];
26 extern const char wgt_config_string_feature[];
27 extern const char wgt_config_string_height[];
28 extern const char wgt_config_string_href[];
29 extern const char wgt_config_string_icon[];
30 extern const char wgt_config_string_id[];
31 extern const char wgt_config_string_license[];
32 extern const char wgt_config_string_name[];
33 extern const char wgt_config_string_param[];
34 extern const char wgt_config_string_preference[];
35 extern const char wgt_config_string_readonly[];
36 extern const char wgt_config_string_required[];
37 extern const char wgt_config_string_short[];
38 extern const char wgt_config_string_src[];
39 extern const char wgt_config_string_type[];
40 extern const char wgt_config_string_value[];
41 extern const char wgt_config_string_version[];
42 extern const char wgt_config_string_viewmodes[];
43 extern const char wgt_config_string_widget[];
44 extern const char wgt_config_string_width[];
45 extern const char wgt_config_string_xml_file[];
46
47 struct wgt;
48 extern int wgt_config_open(struct wgt *wgt);
49 extern void wgt_config_close();
50 extern xmlNodePtr wgt_config_widget();
51 extern xmlNodePtr wgt_config_name();
52 extern xmlNodePtr wgt_config_description();
53 extern xmlNodePtr wgt_config_license();
54 extern xmlNodePtr wgt_config_author();
55 extern xmlNodePtr wgt_config_content();
56 extern xmlNodePtr wgt_config_icon(int width, int height);
57 extern xmlNodePtr wgt_config_first_icon();
58 extern xmlNodePtr wgt_config_next_icon(xmlNodePtr node);
59 extern xmlNodePtr wgt_config_first_feature();
60 extern xmlNodePtr wgt_config_next_feature(xmlNodePtr node);
61 extern xmlNodePtr wgt_config_first_preference();
62 extern xmlNodePtr wgt_config_next_preference(xmlNodePtr node);
63 extern xmlNodePtr wgt_config_first_param(xmlNodePtr node);
64 extern xmlNodePtr wgt_config_next_param(xmlNodePtr node);
65
66