--- a/uiacceltk/hitchcock/coretoolkit/inc/huistatictlsdata.h Wed May 26 16:47:36 2010 +0300
+++ b/uiacceltk/hitchcock/coretoolkit/inc/huistatictlsdata.h Tue Jun 08 13:16:48 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<TTlsData*>(Dll::Tls());
+ #endif
+
+ return data->iCommandDebugger;
+ }
+#endif
+
};