[Release] wrt-commons_0.2.119 tizen_2.1 submit/tizen_2.1/20130514.055404
authorJihoon Chung <jihoon.chung@samsung.com>
Fri, 10 May 2013 11:14:25 +0000 (20:14 +0900)
committerJihoon Chung <jihoon.chung@samsung.com>
Fri, 10 May 2013 11:14:54 +0000 (20:14 +0900)
modules/widget_dao/dao/config_parser_data.cpp
modules/widget_dao/include/dpl/wrt-dao-ro/config_parser_data.h
packaging/wrt-commons.spec

index 4477344..4bf4857 100644 (file)
@@ -413,4 +413,14 @@ bool ConfigParserData::LiveboxInfo::operator!=(const LiveboxInfo& other) const
            m_label != other.m_label &&
            m_icon != other.m_icon;
 }
+
+bool ConfigParserData::Metadata::operator== (const Metadata& other) const
+{
+    return key == other.key && value == other.value;
+}
+
+bool ConfigParserData::Metadata::operator!= (const Metadata& other) const
+{
+    return key != other.key || value != other.value;
+}
 } // namespace WrtDB
index 2a85422..bc78fe4 100644 (file)
@@ -254,6 +254,21 @@ class ConfigParserData
     };
     typedef std::list<AllowNavigationInfo> AllowNavigationInfoList;
 
+    struct Metadata
+    {
+        Metadata(const DPL::String& _key,
+                 const DPL::String& _value) :
+            key(_key),
+            value(_value)
+        {}
+        DPL::String key;
+        DPL::String value;
+
+        bool operator==(const Metadata&) const;
+        bool operator!=(const Metadata&) const;
+    };
+    typedef std::list<Metadata> MetadataList;
+
     enum class SecurityModelVersion {
         SECURITY_MODEL_V1 = 0, // WARP
         SECURITY_MODEL_V2      // CSP, allow-navigation
@@ -327,6 +342,8 @@ class ConfigParserData
     AccountProvider accountProvider;
     // security model version
     SecurityModelVersion securityModelVersion;
+    // security model version
+    MetadataList metadataList;
 
     ConfigParserData() :
         flashNeeded(false),
index 53a2bf2..1087f63 100644 (file)
@@ -1,7 +1,7 @@
-#git:framework/web/wrt-commons wrt-commons 0.2.118
+#git:framework/web/wrt-commons wrt-commons 0.2.119
 Name:       wrt-commons
 Summary:    Wrt common library
-Version:    0.2.118
+Version:    0.2.119
 Release:    1
 Group:      Development/Libraries
 License:    Apache License, Version 2.0