uiacceltk/hitchcock/coretoolkit/src/HuiStatic.cpp
branchRCL_3
changeset 15 cd0ae4656946
parent 7 88b23e2e82e1
equal deleted inserted replaced
13:3a60ebea00d0 15:cd0ae4656946
    31 #include <AknUtils.h>
    31 #include <AknUtils.h>
    32 #include <AknBidiTextUtils.h>
    32 #include <AknBidiTextUtils.h>
    33 #include <bidivisual.h>
    33 #include <bidivisual.h>
    34 #include "alfappfwproxyops.h"
    34 #include "alfappfwproxyops.h"
    35 
    35 
    36 
    36 #ifdef HUI_DEBUG_TRACK_DRAWING
       
    37 #include "alfloggingconfiguration.h"
       
    38 #include "alfcommanddebug.h"
       
    39 #endif
    37 
    40 
    38 // Global writeable data, used in HW instead of TLS which relatively slow
    41 // Global writeable data, used in HW instead of TLS which relatively slow
    39 #ifndef __WINSCW__
    42 #ifndef __WINSCW__
    40 TTlsData globalWriteableData;
    43 TTlsData globalWriteableData;
    41 #endif
    44 #endif
   386     iData->iAppFwProxy = new (ELeave) CAppFwProxy;
   389     iData->iAppFwProxy = new (ELeave) CAppFwProxy;
   387     
   390     
   388     //Register for environment change ( here system time change ) event notification
   391     //Register for environment change ( here system time change ) event notification
   389     iChangeNotifier = CEnvironmentChangeNotifier::NewL(0, TCallBack(CHuiStatic::SettingChangedCallBack, this));
   392     iChangeNotifier = CEnvironmentChangeNotifier::NewL(0, TCallBack(CHuiStatic::SettingChangedCallBack, this));
   390     iChangeNotifier->Start();
   393     iChangeNotifier->Start();
       
   394     
       
   395 #ifdef HUI_DEBUG_TRACK_DRAWING
       
   396     iData->iCommandDebugger = CAlfCommandDebug::NewL();
       
   397 #endif
       
   398     
   391 #ifndef __WINSCW__
   399 #ifndef __WINSCW__
   392     globalWriteableData = *iData;
   400     globalWriteableData = *iData;
   393     #ifdef USE_MODULE_TEST_HOOKS_FOR_ALF
   401     #ifdef USE_MODULE_TEST_HOOKS_FOR_ALF
   394         // For testing purposes, test data needs to be included into TLS
   402         // For testing purposes, test data needs to be included into TLS
   395         // because test cases require information stored in TLS.
   403         // because test cases require information stored in TLS.
   410     }
   418     }
   411 
   419 
   412 
   420 
   413 CHuiStatic::~CHuiStatic()
   421 CHuiStatic::~CHuiStatic()
   414     {
   422     {
       
   423 #ifdef HUI_DEBUG_TRACK_DRAWING
       
   424     delete iData->iCommandDebugger;
       
   425     iData->iCommandDebugger = NULL;
       
   426 #endif
       
   427 
   415     if(iData)
   428     if(iData)
   416         {
   429         {
   417         if(iData->iFakeProbe)
   430         if(iData->iFakeProbe)
   418             {
   431             {
   419             delete iData->iFakeProbe;
   432             delete iData->iFakeProbe;