equal
deleted
inserted
replaced
388 //Register for environment change ( here system time change ) event notification |
388 //Register for environment change ( here system time change ) event notification |
389 iChangeNotifier = CEnvironmentChangeNotifier::NewL(0, TCallBack(CHuiStatic::SettingChangedCallBack, this)); |
389 iChangeNotifier = CEnvironmentChangeNotifier::NewL(0, TCallBack(CHuiStatic::SettingChangedCallBack, this)); |
390 iChangeNotifier->Start(); |
390 iChangeNotifier->Start(); |
391 #ifndef __WINSCW__ |
391 #ifndef __WINSCW__ |
392 globalWriteableData = *iData; |
392 globalWriteableData = *iData; |
|
393 #ifdef USE_MODULE_TEST_HOOKS_FOR_ALF |
|
394 // For testing purposes, test data needs to be included into TLS |
|
395 // because test cases require information stored in TLS. |
|
396 if ( !Dll::Tls() ) |
|
397 { |
|
398 Dll::SetTls( iData ); |
|
399 } |
|
400 #endif |
393 #else |
401 #else |
394 Dll::SetTls(iData); |
402 Dll::SetTls(iData); |
395 #endif |
403 #endif |
396 |
404 |
397 #ifndef WIN32 |
405 #ifndef WIN32 |
415 delete iData->iAppFwProxy; |
423 delete iData->iAppFwProxy; |
416 iData->Disconnect(); |
424 iData->Disconnect(); |
417 } |
425 } |
418 iChangeNotifier->Cancel(); |
426 iChangeNotifier->Cancel(); |
419 delete iChangeNotifier; |
427 delete iChangeNotifier; |
420 #ifdef __WINSCW__ |
428 #if defined( __WINSCW__ ) || defined( USE_MODULE_TEST_HOOKS_FOR_ALF ) |
421 Dll::FreeTls(); |
429 Dll::FreeTls(); |
422 #endif |
430 #endif |
423 delete iData; |
431 delete iData; |
424 } |
432 } |
425 |
433 |