Expand structure of LiveboxInfo for support of 'use-decoration'
authorYunchan Cho <yunchan.cho@samsung.com>
Tue, 18 Jun 2013 12:04:50 +0000 (21:04 +0900)
committerGerrit Code Review <gerrit@gerrit.vlan144.tizendev.org>
Thu, 20 Jun 2013 12:15:56 +0000 (12:15 +0000)
[issue#] N/A
[problem] There is no member variable for new attribute 'use-decoration' of <tizen:box-size>
[cause] N/A
[solution] LiveboxInfo struct has been expanded for this

Change-Id: I7a94e6283d7148968ff970303465ec230d4a82a1

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

index a21f2f4591e0fe9c90795541837944d466dd96b1..eceaaec73311564e7c93b0bd2b5bdef5c6bf1d87 100644 (file)
@@ -180,13 +180,19 @@ class ConfigParserData
 
     typedef std::list<AppControlInfo> AppControlInfoList;
 
-    typedef std::list<std::pair<DPL::String, DPL::String> > BoxSizeList;
-    typedef std::list<std::pair<DPL::String, DPL::String> > BoxLabelList;
-
     struct LiveboxInfo
     {
         LiveboxInfo() { }
 
+        struct BoxSize
+        {
+            DPL::String m_size;
+            DPL::String m_preview;
+            DPL::String m_useDecoration;
+        };
+        typedef BoxSize BoxSizeInfo;
+        typedef std::list<BoxSizeInfo> BoxSizeList;
+
         struct BoxContent
         {
             DPL::String m_boxSrc;
@@ -200,6 +206,8 @@ class ConfigParserData
         };
         typedef BoxContent BoxContentInfo;
 
+        typedef std::list<std::pair<DPL::String, DPL::String> > BoxLabelList;
+
         BoxLabelList m_label;
         DPL::String m_icon;
         DPL::String m_liveboxId;