Fixed appid included space during installation
[framework/web/wrt-installer.git] / src / misc / widget_location.h
index e04c3dd..db024b3 100644 (file)
@@ -168,10 +168,10 @@ public:
      */
     std::string getWidgetSource() const;
     /**
-     * @brief pkgname Returns pkgname
-     * @return pkgname
+     * @brief pkgid Returns pkgid
+     * @return pkgid
      */
-    DPL::String getPkgname() const;
+    DPL::String getPkgId() const;
 
     //external files
     /**
@@ -188,9 +188,15 @@ public:
      */
     WrtDB::ExternalLocationList listExternalLocations() const;
 
+    /*
+     * @brief set appid
+     */
+    void registerAppid(const std::string & appid);
+
 private:
     std::string m_widgetSource;                   // Source widget zip file/widget url
-    std::string m_pkgname;                        //name of package
+    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