--- a/uiacceltk/hitchcock/ServerCore/Src/alfappui.cpp Mon Feb 22 17:57:49 2010 +0200
+++ b/uiacceltk/hitchcock/ServerCore/Src/alfappui.cpp Fri Mar 12 15:47:04 2010 +0200
@@ -667,6 +667,7 @@
{
#ifdef USE_MODULE_TEST_HOOKS_FOR_ALF
delete AMT_CONTROL();
+ Dll::FreeTls();
#endif
delete iData;
@@ -769,15 +770,11 @@
__ALFLOGSTRING( "CAlfAppUi::ConstructL start" )
#ifdef USE_MODULE_TEST_HOOKS_FOR_ALF
- __ALFLOGSTRING( "CAlfAppUi::ConstructL. Open and initialize ALF module test chunk. " )
- // Initiliaze global data in TLS.
+ // Initiliaze global data in TLS and open global module testing chunk and mutex
User::LeaveIfError(Dll::SetTls(new(ELeave) CAlfModuleTestDataControl()));
- // Open global module testing chunk and mutex
User::LeaveIfError(AMT_CONTROL()->OpenGlobalObjects());
- __ALFLOGSTRING( "CAlfAppUi::ConstructL. ALF module test chunk ready. " )
#endif
-
-
+
TInt flags = EStandardApp|ENoScreenFurniture|ENonStandardResourceFile|EAknEnableSkin;
CCoeEnv* coe = CCoeEnv::Static();
iData = new (ELeave) CAlfAppUiData();
@@ -1461,4 +1458,8 @@
return iData->iBridgeObj->ForceSwRendering( aEnabled );
}
+void CAlfAppUi::SetAlfAppWindowGroup( TInt aID )
+ {
+ iData->iBridgeObj->SetWindowGroupAsAlfApp( aID );
+ }
// end of file