<?xml version="1.0" encoding="UTF-8"?>
<!-- Widget Configuration Document Extensions XSD For TIZEN -->
-<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:tizen="http://tizen.org/ns/widgets" targetNamespace="http://tizen.org/ns/widgets">
-
+<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:tizen="http://tizen.org/ns/widgets" targetNamespace="http://tizen.org/ns/widgets" xmlns:widgets="http://www.w3.org/ns/widgets">
+ <xs:import namespace="http://www.w3.org/ns/widgets" schemaLocation="config.xsd"/>
<xs:simpleType name="appserviceOperationType">
<!--
<xs:restriction base="xs:token">
<xs:attribute name="contextmenu" type="tizen:activationType" use="optional"/>
<xs:attribute name="context-menu" type="tizen:activationType" use="optional"/>
<xs:attribute name="background-support" type="tizen:activationType" use="optional"/>
+ <xs:attribute name="nodisplay" type="widgets:data.boolean" use="optional"/>
</xs:complexType>
</xs:element>
<!-- tizen setting element -->
<tizen:setting screen-orientation="portrait" />
<tizen:setting contextmenu="disable" />
+ <tizen:setting nodisplay="false" />
</widget>
namespace {
typedef std::map<DPL::String, DPL::String> LanguageTagMap;
+const char* const ST_TRUE = "true";
+const char* const ST_NODISPLAY = "nodisplay";
+
LanguageTagMap getLanguageTagMap()
{
LanguageTagMap map;
void TaskManifestFile::setWidgetOtherInfo(UiApplication & uiApp)
{
- uiApp.setNodisplay(false);
+ FOREACH(it, m_context.widgetConfig.configInfo.settingsList)
+ {
+ if(!strcmp(DPL::ToUTF8String(it->m_name).c_str(), ST_NODISPLAY)) {
+ if(!strcmp(DPL::ToUTF8String(it->m_value).c_str(), ST_TRUE)) {
+ uiApp.setNodisplay(true);
+ }
+ else {
+ uiApp.setNodisplay(false);
+ }
+ }
+ else {
+ uiApp.setNodisplay(false);
+ }
+ }
//TODO
//There is no "X-TIZEN-PackageType=wgt"
//There is no X-TIZEN-PackageID in manifest "X-TIZEN-PackageID=" << DPL::ToUTF8String(*widgetID).c_str()