From f33af6e50133e5bab7af4fbce9d28e67783a89b2 Mon Sep 17 00:00:00 2001 From: Soyoung Kim Date: Wed, 2 Jan 2013 15:59:42 +0900 Subject: [PATCH] Add app-control element. [Issue#] N/A [Problem] N/A [Cause] N/A [Solution] add app-control and appservice will be removed. [SCMRequest] have to release with wrt-installer. Change-Id: I289f24d576c247b2bafd3b5c773541978865d0bf --- .../include/dpl/wrt-dao-ro/config_parser_data.h | 27 ++++++++++++++++++++-- 1 file changed, 25 insertions(+), 2 deletions(-) diff --git a/modules/widget_dao/include/dpl/wrt-dao-ro/config_parser_data.h b/modules/widget_dao/include/dpl/wrt-dao-ro/config_parser_data.h index 2520bd4..ad9929d 100755 --- a/modules/widget_dao/include/dpl/wrt-dao-ro/config_parser_data.h +++ b/modules/widget_dao/include/dpl/wrt-dao-ro/config_parser_data.h @@ -183,6 +183,9 @@ class ConfigParserData typedef std::set SettingsList; + /* ServiceInfo will be removed. + * ServiceInfo will be changed AppControl + */ struct ServiceInfo { ServiceInfo( @@ -204,7 +207,25 @@ class ConfigParserData bool operator==(const ServiceInfo&) const; bool operator!=(const ServiceInfo&) const; }; - typedef std::list ServiceInfoList; + + struct AppControlInfo + { + AppControlInfo( + const DPL::String& operation) : + m_operation(operation) + { + } + DPL::String m_src; + DPL::String m_operation; + std::set m_uriList; + std::set m_mimeList; + + bool operator==(const AppControlInfo&) const; + bool operator!=(const AppControlInfo&) const; + }; + + typedef std::list ServiceInfoList; // It will be removed. + typedef std::list AppControlInfoList; typedef std::list> BoxSizeList; @@ -288,7 +309,9 @@ class ConfigParserData DPL::OptionalString tizenMinVersionRequired; //Application service model list - ServiceInfoList appServiceList; + ServiceInfoList appServiceList; //It will be removed. + AppControlInfoList appControlList; + // For link shared directory DependsPkgList dependsPkgList; // Splash image path -- 2.7.4