adaptationlayer/systemstatemanageradaptation/ssm_misc_adaptation_dll/src/ssm_misc_adaptation.cpp
equal
deleted
inserted
replaced
2 * ============================================================================== |
2 * ============================================================================== |
3 * Name: ssm_misc_adaptation.cpp |
3 * Name: ssm_misc_adaptation.cpp |
4 * Part of: SSMA MiscAdaptation |
4 * Part of: SSMA MiscAdaptation |
5 * Interface: N/A |
5 * Interface: N/A |
6 * Description: Implementation of CMiscAdaptation class |
6 * Description: Implementation of CMiscAdaptation class |
7 * %version: 1 % |
7 * %version: 2 % |
8 * %date_modified: Tue Dec 29 15:31:50 2009 % |
8 * %date_modified: Fri Feb 12 10:56:14 2010 % |
9 * |
9 * |
10 * Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies). |
10 * Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies). |
11 * All rights reserved. |
11 * All rights reserved. |
12 * This component and the accompanying materials are made available |
12 * This component and the accompanying materials are made available |
13 * under the terms of the License "Eclipse Public License v1.0" |
13 * under the terms of the License "Eclipse Public License v1.0" |
292 for( TInt i=0; i<aCount; i++) |
292 for( TInt i=0; i<aCount; i++) |
293 { |
293 { |
294 languageList.Append(StartupAdaptation::EPrefLangEnglish); |
294 languageList.Append(StartupAdaptation::EPrefLangEnglish); |
295 } |
295 } |
296 |
296 |
297 OstTrace0( TRACE_NORMAL, CMISCADAPTATION_GETSIMLANGUAGES_1, |
297 OstTrace0( TRACE_NORMAL, CMISCADAPTATION_GETSIMLANGUAGES_2, |
298 "SSMA # CMiscAdaptation::GetSimLanguages - write languages to stream." ); |
298 "SSMA # CMiscAdaptation::GetSimLanguages - write languages to stream." ); |
299 INTERNAL_TRACE( _L( "SSMA # CMiscAdaptation::GetSimLanguages - write languages to stream." ) ); |
299 INTERNAL_TRACE( _L( "SSMA # CMiscAdaptation::GetSimLanguages - write languages to stream." ) ); |
300 |
300 |
301 RBufWriteStream writeStream(*aBuf); |
301 RBufWriteStream writeStream(*aBuf); |
302 CleanupClosePushL(writeStream); |
302 CleanupClosePushL(writeStream); |
307 } |
307 } |
308 writeStream.CommitL(); |
308 writeStream.CommitL(); |
309 CleanupStack::PopAndDestroy(); |
309 CleanupStack::PopAndDestroy(); |
310 languageList.Close(); |
310 languageList.Close(); |
311 |
311 |
312 OstTrace0( TRACE_NORMAL, CMISCADAPTATION_GETSIMLANGUAGES_2, |
312 OstTrace0( TRACE_NORMAL, CMISCADAPTATION_GETSIMLANGUAGES_3, |
313 "SSMA # CMiscAdaptation::GetSimLanguages - return void" ); |
313 "SSMA # CMiscAdaptation::GetSimLanguages - return void" ); |
314 INTERNAL_TRACE( _L( "SSMA # CMiscAdaptation::GetSimLanguages - return void" ) ); |
314 INTERNAL_TRACE( _L( "SSMA # CMiscAdaptation::GetSimLanguages - return void" ) ); |
315 } |
315 } |
316 |
316 |
317 // ----------------------------------------------------------------------------- |
317 // ----------------------------------------------------------------------------- |