Method will be overriden in wgt backend.
Needs to be submitted:
- https://review.tizen.org/gerrit/57017
Change-Id: I566a07d9e5047857928c47cc03afb33abd2fd3cf
for (application_x* app :
GListRange<application_x*>(context_->manifest_data.get()->application)) {
+ if (GetAppTypeForIcons() != app->type)
+ continue;
+
// TODO(t.iwanek): this is ignoring icon locale as well as other steps
// icons should be localized
if (app->icon) {
return context_->pkg_path.get() / "shared" / "res";
}
+std::string StepCreateIcons::GetAppTypeForIcons() const {
+ return "capp";
+}
+
} // namespace filesystem
} // namespace common_installer
#include <manifest_parser/utils/logging.h>
+#include <string>
#include <utility>
#include <vector>
protected:
virtual boost::filesystem::path GetIconRoot() const;
+ virtual std::string GetAppTypeForIcons() const;
private:
std::vector<boost::filesystem::path> icons_;