X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;ds=sidebyside;f=src%2Fwgt-info.h;h=dd58865f45cb906d59b81d8e7154a245ffa1c1b5;hb=850dc3dfcbaea2309ac4eaba922af227a91f8100;hp=4d2007d6dded07f28965e84364d43608b0f2ed20;hpb=9ab266df6642c6e930e03b3024d7c3d53ef88bbc;p=src%2Fapp-framework-main.git diff --git a/src/wgt-info.h b/src/wgt-info.h index 4d2007d..dd58865 100644 --- a/src/wgt-info.h +++ b/src/wgt-info.h @@ -1,5 +1,7 @@ /* - Copyright 2015 IoT.bzh + Copyright (C) 2015-2018 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. @@ -46,6 +48,8 @@ struct wgt_desc { int refcount; char *id; char *version; + char *ver; + char *idaver; int width; int height; char *viewmodes; @@ -75,4 +79,6 @@ extern struct wgt *wgt_info_wgt(struct wgt_info *ifo); extern void wgt_info_addref(struct wgt_info *ifo); extern void wgt_info_unref(struct wgt_info *ifo); extern void wgt_info_dump(struct wgt_info *ifo, int fd, const char *prefix); +extern const struct wgt_desc_feature *wgt_info_feature(struct wgt_info *ifo, const char *name); +extern const char *wgt_info_param(const struct wgt_desc_feature *feature, const char *name);