signatureType(SIGNATURE_TYPE_UNIDENTIFIED),
isFactoryWidget(0),
isTestWidget(0),
- configInfo()
+ configInfo(),
+ pType(PKG_TYPE_UNKNOWN)
{
}
WidgetType type;
DPL::OptionalString guid;
DPL::OptionalString version;
+ DPL::OptionalString minVersion;
std::string shareHref;
std::string baseFolder;
WidgetSignatureType signatureType;
int isFactoryWidget;
int isTestWidget;
ConfigParserData configInfo;
- Powder::Description powderDescription;
LocalizationData localizationData;
DPL::OptionalString pkgname;
time_t installedTime;
+ PkgType pType;
+ EncryptedFileList encryptedFiles;
};
typedef std::list<std::string> CertificateChainList;
* @param[in] widgetHandle application id of widget.
*/
WidgetDAOReadOnly(DbWidgetHandle widgetHandle);
+ WidgetDAOReadOnly(DPL::OptionalString widgetGUID);
/**
* Destructor
// Local storage
std::string getPrivateLocalStoragePath() const;
- ChildProtection::Record getChildProtection() const;
-
- Powder::Description getPowderDescription() const;
-
bool getBackSupported() const;
static bool isWidgetInstalled(DbWidgetHandle handle);
static bool isWidgetInstalled(DPL::String pkgName);
+ /* This method get path of the splash image.
+ *
+ * @return path of the widget's splash image
+ */
+ DPL::OptionalString getSplashImgSrc() const;
+
CertificateChainList getWidgetCertificate() const;
void getWidgetSettings(WidgetSettings& outWidgetSettings) const;
*/
void getAppServiceList(
WidgetApplicationServiceList& outAppServiceList) const;
+
+ /**
+ * This method returns the type of the package.
+ *
+ * @return PkgType
+ * @exception WRT_CONF_ERR_EMDB_FAILURE - Fail to query DB table.
+ * @exception WRT_CONF_ERR_EMDB_NO_RECORD - Can not find matching
+ records in DB table.
+ */
+ PkgType getPkgType() const;
+
+ void getEncryptedFileList(EncryptedFileList& filesList) const;
};
} // namespace WrtDB