webengine/widgetinstaller/Src/WidgetInstaller.cpp
branchRCL_3
changeset 35 1f3c3f2f5b0a
parent 25 0ed94ceaa377
child 37 ac77f89b1d9e
equal deleted inserted replaced
34:220a17280356 35:1f3c3f2f5b0a
   124     for ( TInt i( 0 ); i < EWidgetPropertyIdCount; ++i )
   124     for ( TInt i( 0 ); i < EWidgetPropertyIdCount; ++i )
   125         {
   125         {
   126         CWidgetPropertyValue* value = CWidgetPropertyValue::NewL();
   126         CWidgetPropertyValue* value = CWidgetPropertyValue::NewL();
   127         User::LeaveIfError( iPropertyValues.Insert( value, i ) );
   127         User::LeaveIfError( iPropertyValues.Insert( value, i ) );
   128         }
   128         }
   129     *(iPropertyValues[EWidgetPropertyListVersion]) = WIDGETPROPERTYLISTVERSION;
   129     *(iPropertyValues[EWidgetPropertyListVersion]) = KWidgetPropertyListVersion71;
   130 
   130 
   131 #ifdef _DEBUG
   131 #ifdef _DEBUG
   132     _LIT(KDir, "WidgetBUR");
   132     _LIT(KDir, "WidgetBUR");
   133     _LIT(KFile, "WidgetBURInstaller.log");
   133     _LIT(KFile, "WidgetBURInstaller.log");
   134     TInt err( 0 );
   134     TInt err( 0 );
  1168     for ( ; i < EWidgetPropertyIdCount; ++i )
  1168     for ( ; i < EWidgetPropertyIdCount; ++i )
  1169         {
  1169         {
  1170         CWidgetPropertyValue* value = CWidgetPropertyValue::NewL();
  1170         CWidgetPropertyValue* value = CWidgetPropertyValue::NewL();
  1171         User::LeaveIfError( propertyValues->Insert( value, i ) );
  1171         User::LeaveIfError( propertyValues->Insert( value, i ) );
  1172         }
  1172         }
  1173     *(*propertyValues)[EWidgetPropertyListVersion] = WIDGETPROPERTYLISTVERSION;
  1173     *(*propertyValues)[EWidgetPropertyListVersion] =  KWidgetPropertyListVersion71;
  1174     // UID
  1174     // UID
  1175     *(*propertyValues)[EUid] = aUid.iUid;
  1175     *(*propertyValues)[EUid] = aUid.iUid;
  1176     // size
  1176     // size
  1177     TInt64 bundleRootSize = GetDirSizeL( aWidgetPath );
  1177     TInt64 bundleRootSize = GetDirSizeL( aWidgetPath );
  1178     if ( 0 == bundleRootSize )
  1178     if ( 0 == bundleRootSize )