X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=src%2Fwrt-installer%2Fwrt-installer.h;h=59bcc907bfd0907cb321483e2f9def01f7a9bd7c;hb=bb6a49cba8cf075304d971b519809b1816bc53ad;hp=9cd01736ce183c87a747eb859b74ee972a2831bd;hpb=f947ed1728ecff4940d183999e2ee9cd8f9cec83;p=framework%2Fweb%2Fwrt-installer.git diff --git a/src/wrt-installer/wrt-installer.h b/src/wrt-installer/wrt-installer.h index 9cd0173..59bcc90 100644 --- a/src/wrt-installer/wrt-installer.h +++ b/src/wrt-installer/wrt-installer.h @@ -27,7 +27,9 @@ #include #include #include +#include #include +#include namespace WRTInstallerNS { //anonymous DECLARE_GENERIC_EVENT_0(QuitEvent) @@ -37,6 +39,14 @@ DECLARE_GENERIC_EVENT_0(InstallPluginEvent) typedef void (*ShowResultCallback)(void *data, Evas_Object *obj, void *event_info); +namespace CSCConfiguration { +typedef std::map dataMap; +typedef std::pair dataPair; +const char* const KEY_OP = "op"; +const char* const KEY_PATH = "path"; +const char* const VALUE_INSTALL = "install"; +const char* const VALUE_UNINSTALL = "uninstall"; +} enum ReturnValue { @@ -109,10 +119,11 @@ class WrtInstaller : void installNewPlugins(); bool popupsEnabled() const; + CSCConfiguration::dataMap parseCSCConfiguration(std::string str); // Private data std::shared_ptr pkgmgrSignalInterface; - WrtInstallMode m_installMode; + InstallMode m_installMode; std::string m_packagePath; std::string m_name; bool m_initialized; @@ -120,8 +131,8 @@ class WrtInstaller : size_t m_totalPlugins; int m_returnStatus; bool m_installByPkgmgr; - bool m_quiet; bool m_startupPluginInstallation; + CSCConfiguration::dataMap m_CSCconfigurationMap; typedef std::list PluginPathList; DPL::Optional m_pluginsPaths;