diff -r 3a60ebea00d0 -r cd0ae4656946 uiacceltk/hitchcock/coretoolkit/inc/huistatictlsdata.h --- a/uiacceltk/hitchcock/coretoolkit/inc/huistatictlsdata.h Wed Jun 09 10:41:25 2010 +0300 +++ b/uiacceltk/hitchcock/coretoolkit/inc/huistatictlsdata.h Mon Jun 21 16:41:52 2010 +0300 @@ -35,6 +35,12 @@ class TFakeProbe; class CAppFwProxy; +#ifdef HUI_DEBUG_TRACK_DRAWING +class CAlfCommandDebug; + #ifndef __WINSCW__ +extern TTlsData globalWriteableData; + #endif +#endif /** * Thread local storage space. Writable static data is not supported in * Symbian, so static data is stored in this struct. @@ -123,6 +129,10 @@ CAlfModuleTestDataControl* iAlfModuleTestDataControl; #endif +#ifdef HUI_DEBUG_TRACK_DRAWING + CAlfCommandDebug* iCommandDebugger; +#endif + CWsScreenDevice* WsScreenDevice(TInt aScreenNumber) { if (aScreenNumber < iScreenDevices.Count()) @@ -232,6 +242,20 @@ iAlfModuleTestDataControl = NULL; #endif } + +#ifdef HUI_DEBUG_TRACK_DRAWING + static CAlfCommandDebug* CommandDebugger() + { + #ifndef __WINSCW__ + TTlsData* data = &globalWriteableData; + #else + TTlsData* data = static_cast(Dll::Tls()); + #endif + + return data->iCommandDebugger; + } +#endif + };