[Release] wrt-installer_0.1.23
[framework/web/wrt-installer.git] / src / misc / widget_location.h
index 60028bf..70c186a 100644 (file)
@@ -86,7 +86,7 @@ class WidgetLocation
      *
      * @param widgetname name of widget
      */
-    WidgetLocation(const std::string & widgetname);
+    explicit WidgetLocation(const std::string & widgetname);
     /**
      * @brief WidgetLocation Builds paths for widget location during
      * installation
@@ -158,12 +158,7 @@ class WidgetLocation
      * @param icon path of application icon
      */
     void setIconTargetFilenameForLocale(const std::string &icon);
-    /**
-     * @brief getIconTargetFilename gets icon path suffix for locale
-     * @param languageTag language tag
-     * @return value of suffix of path
-     */
-    DPL::String getIconTargetFilename(const DPL::String& languageTag) const;
+
     /**
      * @brief getIconTargetFilename gets icon full path
      * @param languageTag language tag
@@ -203,10 +198,10 @@ class WidgetLocation
     void registerAppid(const std::string & appid);
 
   private:
+    std::string m_pkgid;                        //id of package
     std::string m_widgetSource;                   // Source widget zip
                                                   // file/widget url
     std::string m_appid;                        //id of app
-    std::string m_pkgid;                        //id of package
     std::string m_iconPath;                       //installed icon path
     WrtDB::PackagingType m_type;
     std::shared_ptr<DirectoryDeletor> m_temp;      //directory