if(source.substr(0,index) == localeFolder)
{
- int pos = result.find_first_of('/',index);
+ size_t pos = result.find_first_of('/',index);
if(pos != std::string::npos && pos + 1 < source.size())
{
result = result.substr(pos + 1,source.size());
bool JobWidgetInstall::isDRMWidget(std::string widgetPath)
{
+ /* TODO :
drm_bool_type_e is_drm_file = DRM_UNKNOWN;
int ret = -1;
- /* TODO :
ret = drm_is_drm_file(widgetPath.c_str(), &is_drm_file);
if(DRM_RETURN_SUCCESS == ret && DRM_TRUE == is_drm_file) {
*/
/* blow code temporary code for drm. */
- ret = drm_oem_intel_isDrmFile(const_cast<char*>(widgetPath.c_str()));
+ int ret = drm_oem_intel_isDrmFile(const_cast<char*>(widgetPath.c_str()));
if ( 1 == ret) {
return true;
} else {
TaskWidgetConfig::TaskWidgetConfig(InstallerContext& installContext) :
DPL::TaskDecl<TaskWidgetConfig>(this),
- m_installContext(installContext),
- WidgetInstallPopup(installContext)
+ WidgetInstallPopup(installContext),
+ m_installContext(installContext)
+
{
AddStep(&TaskWidgetConfig::StepProcessConfigurationFile);
AddStep(&TaskWidgetConfig::ReadLocaleFolders);