39 #include "hspsdomnode.h" |
39 #include "hspsdomnode.h" |
40 #include "hspsconfiguration.h" |
40 #include "hspsconfiguration.h" |
41 #include "hspsmanifest.h" |
41 #include "hspsmanifest.h" |
42 #include "hspsserverutil.h" |
42 #include "hspsserverutil.h" |
43 #include "hspsfamilylistener.h" |
43 #include "hspsfamilylistener.h" |
|
44 |
44 |
45 |
45 #ifdef HSPS_LOG_ACTIVE |
46 #ifdef HSPS_LOG_ACTIVE |
46 #include <hspsodtdump.h> |
47 #include <hspsodtdump.h> |
47 #include <hspslogbus.h> |
48 #include <hspslogbus.h> |
48 #endif |
49 #endif |
2203 // |
2204 // |
2204 void ChspsInstallationHandler::AddInterfaceResourcesV2L( |
2205 void ChspsInstallationHandler::AddInterfaceResourcesV2L( |
2205 const TDesC& aPath ) |
2206 const TDesC& aPath ) |
2206 { |
2207 { |
2207 // Retrieve supported localizations. |
2208 // Retrieve supported localizations. |
2208 |
|
2209 CArrayFixFlat<TInt>* systemEpocLanguageCodes = NULL; |
2209 CArrayFixFlat<TInt>* systemEpocLanguageCodes = NULL; |
2210 hspsServerUtil::GetInstalledLanguagesL( |
2210 hspsServerUtil::GetInstalledLanguagesL( |
2211 systemEpocLanguageCodes ); |
2211 systemEpocLanguageCodes ); |
2212 CleanupStack::PushL( systemEpocLanguageCodes ); |
2212 CleanupStack::PushL( systemEpocLanguageCodes ); |
2213 |
2213 |
2214 // Find all entries under the Xuikon folders that |
2214 // Find all entries under the Xuikon folders that |
2215 // match our eclipsing rules and localisations supported by phone. |
2215 // match our eclipsing rules and localisations supported by phone. |
2216 |
|
2217 RArray<TInt> driveArray; |
2216 RArray<TInt> driveArray; |
2218 CleanupClosePushL( driveArray ); |
2217 CleanupClosePushL( driveArray ); |
2219 driveArray.Append( EDriveE ); |
2218 TInt drive = hspsServerUtil::GetEmmcDrivePath( iFsSession ); |
|
2219 if ( drive != KErrNotFound ) |
|
2220 { |
|
2221 driveArray.Append( drive ); |
|
2222 } |
|
2223 |
2220 driveArray.Append( EDriveC ); |
2224 driveArray.Append( EDriveC ); |
2221 driveArray.Append( EDriveZ ); |
2225 driveArray.Append( EDriveZ ); |
2222 |
2226 |
2223 FindResourceFilesL( aPath, ETrue, driveArray, systemEpocLanguageCodes ); |
2227 FindResourceFilesL( aPath, ETrue, driveArray, systemEpocLanguageCodes ); |
2224 |
2228 |