livebox configuration valuables have been changed
authorlke01.lee <lke01.lee@samsung.com>
Wed, 26 Dec 2012 01:07:04 +0000 (10:07 +0900)
committerlke01.lee <lke01.lee@samsung.com>
Thu, 27 Dec 2012 00:51:19 +0000 (09:51 +0900)
[Issue#] N/A
[Problem]
[Cause] N/A
[Solution] livebox configuration valuables have been changed

Change-Id: I538dc45ca8ab8721da51e4be4fd3ba0f9956f5cf

modules/widget_dao/dao/config_parser_data.cpp
modules/widget_dao/include/dpl/wrt-dao-ro/config_parser_data.h

index 9b71b0f..2fbd0f6 100755 (executable)
@@ -460,26 +460,20 @@ bool ConfigParserData::ServiceInfo::operator!= (const ServiceInfo& info) const
 
 bool ConfigParserData::LiveboxInfo::operator==(const LiveboxInfo& other) const
 {
-    return m_appId == other.m_appId &&
+    return m_liveboxId == other.m_liveboxId &&
         m_autoLaunch == other.m_autoLaunch &&
-        m_period == other.m_period &&
-        m_network == other.m_network &&
-        m_nodisplay == other.m_nodisplay &&
+        m_updatePeriod == other.m_updatePeriod &&
         m_primary == other.m_primary &&
-        m_timeout == other.m_timeout &&
         m_label == other.m_label &&
         m_icon == other.m_icon;
 }
 
 bool ConfigParserData::LiveboxInfo::operator!=(const LiveboxInfo& other) const
 {
-    return m_appId != other.m_appId &&
+    return m_liveboxId != other.m_liveboxId &&
         m_autoLaunch != other.m_autoLaunch &&
-        m_period != other.m_period &&
-        m_network != other.m_network &&
-        m_nodisplay != other.m_nodisplay &&
+        m_updatePeriod != other.m_updatePeriod &&
         m_primary != other.m_primary &&
-        m_timeout != other.m_timeout &&
         m_label != other.m_label &&
         m_icon != other.m_icon;
 }
index 60c5879..2520bd4 100755 (executable)
@@ -212,25 +212,22 @@ class ConfigParserData
     {
         LiveboxInfo() { }
 
-        struct Box
+        struct BoxContent
         {
             DPL::String m_boxSrc;
             BoxSizeList m_boxSize ;
             DPL::String m_pdSrc;
             DPL::String m_pdWidth;
             DPL::String m_pdHeight;
-        }; typedef Box BoxInfo;
+        }; typedef BoxContent BoxContentInfo;
 
-        DPL::String m_appId;
-        DPL::String m_autoLaunch;
-        DPL::String m_period;
-        DPL::String m_network;
-        DPL::String m_nodisplay;
-        DPL::String m_primary;
-        DPL::String m_timeout;
         DPL::String m_label;
         DPL::String m_icon;
-        BoxInfo m_boxInfo;
+        DPL::String m_liveboxId;
+        DPL::String m_primary;
+        DPL::String m_autoLaunch;
+        DPL::String m_updatePeriod;
+        BoxContentInfo m_boxInfo;
 
         bool operator==(const LiveboxInfo&) const;
         bool operator!=(const LiveboxInfo&) const;