#include <dpl/wrt-dao-ro/common_dao_types.h>
#include <dpl/wrt-dao-ro/widget_dao_read_only.h>
#include <wrt_common_types.h>
+#include <wrt_install_mode.h>
/**
* @brief The WidgetLocation class
*/
WidgetLocation(const std::string & widgetname, std::string sourcePath,
WrtDB::PackagingType t = WrtDB::PKG_TYPE_NOMAL_WEB_APP,
- bool isReadonly = false);
+ bool isReadonly = false,
+ InstallMode::ExtensionType eType =
+ InstallMode::ExtensionType::WGT);
WidgetLocation(const std::string & widgetname, std::string sourcePath,
std::string dirPath,
WrtDB::PackagingType t = WrtDB::PKG_TYPE_NOMAL_WEB_APP,
- bool isReadonly = false);
+ bool isReadonly = false,
+ InstallMode::ExtensionType eType =
+ InstallMode::ExtensionType::WGT);
~WidgetLocation();
std::shared_ptr<DirectoryDeletor> m_temp; //directory
WrtDB::ExternalLocationList m_externals;
std::string m_installedPath;
+ InstallMode::ExtensionType m_extensionType;
};
#endif // WRT_INSTALLER_SRC_MISC_WIDGET_LOCATION_H