X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=src%2Fwgt-config.h;h=77144c2041aa4e5468952bce735e4f0844cfffa2;hb=7553044c59814c33763bb4b1c34664dceed68735;hp=07a5c4afcf0f49707cbf830bbd9078915f0c474d;hpb=63f8720a3e610c0dc37bda3138d2e8de98ec1a78;p=src%2Fapp-framework-main.git diff --git a/src/wgt-config.h b/src/wgt-config.h index 07a5c4a..77144c2 100644 --- a/src/wgt-config.h +++ b/src/wgt-config.h @@ -1,5 +1,7 @@ /* - Copyright 2015 IoT.bzh + Copyright (C) 2015-2019 IoT.bzh + + author: José Bollo Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. @@ -14,31 +16,24 @@ limitations under the License. */ -extern const char wgt_config_string_xml_file[]; -extern const char wgt_config_string_name[]; -extern const char wgt_config_string_description[]; -extern const char wgt_config_string_author[]; -extern const char wgt_config_string_license[]; -extern const char wgt_config_string_icon[]; -extern const char wgt_config_string_content[]; -extern const char wgt_config_string_feature[]; -extern const char wgt_config_string_preference[]; -extern const char wgt_config_string_width[]; -extern const char wgt_config_string_height[]; struct wgt; extern int wgt_config_open(struct wgt *wgt); extern void wgt_config_close(); +extern xmlNodePtr wgt_config_widget(); extern xmlNodePtr wgt_config_name(); extern xmlNodePtr wgt_config_description(); extern xmlNodePtr wgt_config_license(); extern xmlNodePtr wgt_config_author(); extern xmlNodePtr wgt_config_content(); extern xmlNodePtr wgt_config_icon(int width, int height); +extern xmlNodePtr wgt_config_first_icon(); +extern xmlNodePtr wgt_config_next_icon(xmlNodePtr node); extern xmlNodePtr wgt_config_first_feature(); extern xmlNodePtr wgt_config_next_feature(xmlNodePtr node); extern xmlNodePtr wgt_config_first_preference(); extern xmlNodePtr wgt_config_next_preference(xmlNodePtr node); -extern xmlNodePtr wgt_config_first_icon(); -extern xmlNodePtr wgt_config_next_icon(xmlNodePtr node); +extern xmlNodePtr wgt_config_first_param(xmlNodePtr node); +extern xmlNodePtr wgt_config_next_param(xmlNodePtr node); +