diff -r 920e03da86f0 -r 1b6909418757 uiacceltk/hitchcock/coretoolkit/src/HuiStatic.cpp --- a/uiacceltk/hitchcock/coretoolkit/src/HuiStatic.cpp Wed May 26 16:47:36 2010 +0300 +++ b/uiacceltk/hitchcock/coretoolkit/src/HuiStatic.cpp Tue Jun 08 13:16:48 2010 +0300 @@ -33,7 +33,10 @@ #include #include "alfappfwproxyops.h" - +#ifdef HUI_DEBUG_TRACK_DRAWING +#include "alfloggingconfiguration.h" +#include "alfcommanddebug.h" +#endif // Global writeable data, used in HW instead of TLS which relatively slow #ifndef __WINSCW__ @@ -388,6 +391,11 @@ //Register for environment change ( here system time change ) event notification iChangeNotifier = CEnvironmentChangeNotifier::NewL(0, TCallBack(CHuiStatic::SettingChangedCallBack, this)); iChangeNotifier->Start(); + +#ifdef HUI_DEBUG_TRACK_DRAWING + iData->iCommandDebugger = CAlfCommandDebug::NewL(); +#endif + #ifndef __WINSCW__ globalWriteableData = *iData; #ifdef USE_MODULE_TEST_HOOKS_FOR_ALF @@ -412,6 +420,11 @@ CHuiStatic::~CHuiStatic() { +#ifdef HUI_DEBUG_TRACK_DRAWING + delete iData->iCommandDebugger; + iData->iCommandDebugger = NULL; +#endif + if(iData) { if(iData->iFakeProbe)