skins/AknSkins/sdcsrc/SDCPkgOutput.cpp
branchRCL_3
changeset 6 d9c996538b26
parent 0 05e9090e2422
child 8 a10f447f38bd
equal deleted inserted replaced
5:800e0f20cfe9 6:d9c996538b26
    18 #include "SDCGlobals.h"
    18 #include "SDCGlobals.h"
    19 #include "SDCPkgOutput.h"
    19 #include "SDCPkgOutput.h"
    20 #include "SDCException.h"
    20 #include "SDCException.h"
    21 #include "SDCInput.h"
    21 #include "SDCInput.h"
    22 #include "AknsConstants.hrh"
    22 #include "AknsConstants.hrh"
       
    23 #include "SDCCompat.h"
    23 
    24 
    24 //////////////////////////////////////////////////////////////////////
    25 //////////////////////////////////////////////////////////////////////
    25 // Construction/Destruction
    26 // Construction/Destruction
    26 //////////////////////////////////////////////////////////////////////
    27 //////////////////////////////////////////////////////////////////////
    27 
    28 
   171         fprintf( file, "\"\" - \"!:\\private\\10207114\\import\\%08x%08x\\%08x%08x.ini\",FN\n",storagePid.iPID1,storagePid.iPID2,storagePid.iPID1,storagePid.iPID2 );
   172         fprintf( file, "\"\" - \"!:\\private\\10207114\\import\\%08x%08x\\%08x%08x.ini\",FN\n",storagePid.iPID1,storagePid.iPID2,storagePid.iPID1,storagePid.iPID2 );
   172         }
   173         }
   173 
   174 
   174 
   175 
   175     vector<wchar_t*> soundFiles;
   176     vector<wchar_t*> soundFiles;
   176     int i;
   177     unsigned int i;
   177     for( i=0; i<aData->iStringDefVector.size(); i++ )
   178     for( i=0; i<aData->iStringDefVector.size(); i++ )
   178         {
   179         {
   179         TSDCStringDef* entry = aData->iStringDefVector[i];
   180         TSDCStringDef* entry = aData->iStringDefVector[i];
   180         if( entry->iIID.iMajor == EAknsMajorSound )
   181         if( entry->iIID.iMajor == EAknsMajorSound )
   181             {
   182             {
   182             bool alreadyAppended = false;
   183             bool alreadyAppended = false;
   183             for( int a=0; a<soundFiles.size(); a++ )
   184             for( unsigned int a=0; a<soundFiles.size(); a++ )
   184                 {
   185                 {
   185                 if( !wcsicmp( entry->iString, soundFiles[a] ) )
   186                 if( ! sd_wcscasecmp( entry->iString, soundFiles[a] ) )
   186                     {
   187                     {
   187                     alreadyAppended = true;
   188                     alreadyAppended = true;
   188                     }
   189                     }
   189                 }
   190                 }
   190             if( !alreadyAppended )
   191             if( !alreadyAppended )