equal
deleted
inserted
replaced
663 // Destructor |
663 // Destructor |
664 // --------------------------------------------------------------------------- |
664 // --------------------------------------------------------------------------- |
665 // |
665 // |
666 EXPORT_C CAlfAppUi::~CAlfAppUi() |
666 EXPORT_C CAlfAppUi::~CAlfAppUi() |
667 { |
667 { |
|
668 #ifdef USE_MODULE_TEST_HOOKS_FOR_ALF |
|
669 delete AMT_CONTROL(); |
|
670 #endif |
|
671 |
668 delete iData; |
672 delete iData; |
669 } |
673 } |
670 |
674 |
671 |
675 |
672 // --------------------------------------------------------------------------- |
676 // --------------------------------------------------------------------------- |
761 // --------------------------------------------------------------------------- |
765 // --------------------------------------------------------------------------- |
762 // |
766 // |
763 EXPORT_C void CAlfAppUi::ConstructL() |
767 EXPORT_C void CAlfAppUi::ConstructL() |
764 { |
768 { |
765 __ALFLOGSTRING( "CAlfAppUi::ConstructL start" ) |
769 __ALFLOGSTRING( "CAlfAppUi::ConstructL start" ) |
|
770 |
|
771 #ifdef USE_MODULE_TEST_HOOKS_FOR_ALF |
|
772 __ALFLOGSTRING( "CAlfAppUi::ConstructL. Open and initialize ALF module test chunk. " ) |
|
773 // Initiliaze global data in TLS. |
|
774 User::LeaveIfError(Dll::SetTls(new(ELeave) CAlfModuleTestDataControl())); |
|
775 // Open global module testing chunk and mutex |
|
776 User::LeaveIfError(AMT_CONTROL()->OpenGlobalObjects()); |
|
777 __ALFLOGSTRING( "CAlfAppUi::ConstructL. ALF module test chunk ready. " ) |
|
778 #endif |
|
779 |
|
780 |
766 TInt flags = EStandardApp|ENoScreenFurniture|ENonStandardResourceFile|EAknEnableSkin; |
781 TInt flags = EStandardApp|ENoScreenFurniture|ENonStandardResourceFile|EAknEnableSkin; |
767 CCoeEnv* coe = CCoeEnv::Static(); |
782 CCoeEnv* coe = CCoeEnv::Static(); |
768 iData = new (ELeave) CAlfAppUiData(); |
783 iData = new (ELeave) CAlfAppUiData(); |
769 |
784 |
770 iData->iSettingsHandler = CAlfSrvSettingsHandler::NewL( *this ); |
785 iData->iSettingsHandler = CAlfSrvSettingsHandler::NewL( *this ); |
901 iData->iServer->CreateTransitionEffectsL(); |
916 iData->iServer->CreateTransitionEffectsL(); |
902 |
917 |
903 // Load Tfx server client API plugin, if exists |
918 // Load Tfx server client API plugin, if exists |
904 iData->iServer->CreateTfxServerPlugin(); |
919 iData->iServer->CreateTfxServerPlugin(); |
905 |
920 |
|
921 #ifdef SYMBIAN_GRAPHICS_WSERV_QT_EFFECTS |
|
922 iData->iBridgeObj->ForceSwRendering(ETrue); |
|
923 #endif |
|
924 |
906 __ALFLOGSTRING( "CAlfAppUi::ConstructL end" ) |
925 __ALFLOGSTRING( "CAlfAppUi::ConstructL end" ) |
907 } |
926 } |
908 |
927 |
909 // --------------------------------------------------------------------------- |
928 // --------------------------------------------------------------------------- |
910 // From class CAknAppUi. |
929 // From class CAknAppUi. |