From c767c23ca7b86202bfc07bb05859277d31593c3e Mon Sep 17 00:00:00 2001 From: Yunchan Cho Date: Sat, 25 May 2013 17:18:35 +0900 Subject: [PATCH] Add attributes for internal use regarding dynamic box(app widget) [Issue#] N/A [Problem] Some commercialization features regarding dynamic box doesn't work [Cause] Internally used attributes was removed by other patch , [Solution] Add these attributes again. these attributes aren't announced publicly, so that wrt core spec doesn't include them. Change-Id: I0a3dbe450dc5eb7aa4e5fee2952764d51fcd24c9 --- src/configuration_parser/widget_parser.cpp | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/configuration_parser/widget_parser.cpp b/src/configuration_parser/widget_parser.cpp index 9691f0f..3ad631f 100644 --- a/src/configuration_parser/widget_parser.cpp +++ b/src/configuration_parser/widget_parser.cpp @@ -1761,6 +1761,8 @@ class AppWidgetParser : public ElementParser m_width = attribute.value; } else if (attribute.name == L"height") { m_height = attribute.value; + } else if (attribute.name == L"fast-open") { + m_fastOpen= attribute.value; } } } @@ -1818,6 +1820,7 @@ class AppWidgetParser : public ElementParser m_data.m_pdSrc = m_src; m_data.m_pdWidth = m_width; m_data.m_pdHeight = m_height; + m_data.m_pdFastOpen = m_fastOpen; } explicit PdParser( @@ -1848,6 +1851,7 @@ class AppWidgetParser : public ElementParser DPL::String m_src; DPL::String m_width; DPL::String m_height; + DPL::String m_fastOpen; bool m_properNamespace; ConfigParserData::LiveboxInfo::BoxContentInfo& m_data; @@ -1983,6 +1987,8 @@ class AppWidgetParser : public ElementParser m_autoLaunch = attribute.value; } else if (attribute.name == L"update-period") { m_updatePeriod = attribute.value; + } else if (attribute.name == L"type") { + m_type = attribute.value; } } } @@ -2076,6 +2082,7 @@ class AppWidgetParser : public ElementParser m_livebox.m_primary = m_primary; m_livebox.m_autoLaunch = m_autoLaunch; m_livebox.m_updatePeriod = m_updatePeriod; + m_livebox.m_type = m_type; m_data.m_livebox.push_back(m_livebox); } @@ -2114,6 +2121,7 @@ class AppWidgetParser : public ElementParser DPL::String m_primary; DPL::String m_autoLaunch; DPL::String m_updatePeriod; + DPL::String m_type; bool m_properNamespace; bool m_boxContentFound; -- 2.7.4