From 2ac7a035612a687616ce9eaa8da20f03648829cf Mon Sep 17 00:00:00 2001 From: Tomasz Iwanek Date: Thu, 14 Jan 2016 11:31:51 +0100 Subject: [PATCH] Add overlaod for StepCreateIcons::GetAppTypeForIcons Needs to be submitted with: - https://review.tizen.org/gerrit/#/c/56920 Change-Id: Ic0f5a18513b4157df06e5c411011ef64f283127e --- src/wgt/step/step_wgt_create_icons.cc | 4 ++++ src/wgt/step/step_wgt_create_icons.h | 9 +++++++++ 2 files changed, 13 insertions(+) diff --git a/src/wgt/step/step_wgt_create_icons.cc b/src/wgt/step/step_wgt_create_icons.cc index f62588c..936e3a8 100644 --- a/src/wgt/step/step_wgt_create_icons.cc +++ b/src/wgt/step/step_wgt_create_icons.cc @@ -17,6 +17,10 @@ boost::filesystem::path StepWgtCreateIcons::GetIconRoot() const { return context_->pkg_path.get() / kResWgt; } +std::string StepWgtCreateIcons::GetAppTypeForIcons() const { + return "webapp"; +} + } // namespace filesystem } // namespace wgt diff --git a/src/wgt/step/step_wgt_create_icons.h b/src/wgt/step/step_wgt_create_icons.h index 46c3a8c..ee71942 100644 --- a/src/wgt/step/step_wgt_create_icons.h +++ b/src/wgt/step/step_wgt_create_icons.h @@ -9,6 +9,8 @@ #include +#include + namespace wgt { namespace filesystem { @@ -27,6 +29,13 @@ class StepWgtCreateIcons */ boost::filesystem::path GetIconRoot() const override; + /** + * \brief Return type of application for which icons should be created + * + * \return application type + */ + std::string GetAppTypeForIcons() const override; + SCOPE_LOG_TAG(WgtCreateIcons) }; -- 2.7.4