--- a/imagehandlingutilities/thumbnailmanager/thumbnailserver/src/thumbnaildecodetask.cpp Thu Aug 19 10:13:51 2010 +0300
+++ b/imagehandlingutilities/thumbnailmanager/thumbnailserver/src/thumbnaildecodetask.cpp Tue Aug 31 15:30:59 2010 +0300
@@ -26,6 +26,11 @@
#include "thumbnailserver.h"
#include "thumbnaillog.h"
#include "thumbnailpanic.h"
+#include "OstTraceDefinitions.h"
+#ifdef OST_TRACE_COMPILER_IN_USE
+#include "thumbnaildecodetaskTraces.h"
+#endif
+
// ======== MEMBER FUNCTIONS ========
@@ -41,6 +46,8 @@
{
TN_DEBUG3( "CThumbnailDecodeTask(0x%08x)::CThumbnailDecodeTask() aDisplayMode = %d", this
, iDisplayMode);
+ OstTrace1( TRACE_NORMAL, CTHUMBNAILDECODETASK_CTHUMBNAILDECODETASK, "CThumbnailDecodeTask::CThumbnailDecodeTask;iDisplayMode=%u", iDisplayMode );
+ OstTrace1( TRACE_NORMAL, DUP1_CTHUMBNAILDECODETASK_CTHUMBNAILDECODETASK, "CThumbnailDecodeTask::CThumbnailDecodeTask;this=%o", this );
}
@@ -52,6 +59,8 @@
CThumbnailDecodeTask::~CThumbnailDecodeTask()
{
TN_DEBUG2( "CThumbnailDecodeTask(0x%08x)::~CThumbnailDecodeTask()", this );
+ OstTrace0( TRACE_NORMAL, DUP2_CTHUMBNAILDECODETASK_CTHUMBNAILDECODETASK, "CThumbnailDecodeTask::~CThumbnailDecodeTask" );
+
if ( iProvider )
{
iProvider->CancelGetThumbnail();
@@ -70,6 +79,7 @@
void CThumbnailDecodeTask::StartL()
{
TN_DEBUG2( "CThumbnailDecodeTask(0x%08x)::StartL()", this );
+ OstTrace1( TRACE_NORMAL, CTHUMBNAILDECODETASK_STARTL, "CThumbnailDecodeTask::StartL;this=%o", this );
CThumbnailTask::StartL();
@@ -78,6 +88,7 @@
iProvider = iServer.ResolveProviderL( mimeType );
TN_DEBUG3( "CThumbnailDecodeTask(0x%08x) -- provider UID 0x%08x", this,
iProvider->Uid());
+ OstTrace1( TRACE_NORMAL, DUP1_CTHUMBNAILDECODETASK_STARTL, "CThumbnailDecodeTask::StartL;this=%o", this );
__ASSERT_DEBUG(( iProvider ), ThumbnailPanic( EThumbnailNullPointer ));
@@ -97,6 +108,7 @@
{
// No implementation required
TN_DEBUG2( "CThumbnailDecodeTask(0x%08x)::RunL()", this );
+ OstTrace1( TRACE_NORMAL, CTHUMBNAILDECODETASK_RUNL, "CThumbnailDecodeTask::RunL;this=%o", this );
}
@@ -107,6 +119,7 @@
void CThumbnailDecodeTask::DoCancel()
{
TN_DEBUG2( "CThumbnailDecodeTask(0x%08x)::DoCancel()", this );
+ OstTrace1( TRACE_NORMAL, CTHUMBNAILDECODETASK_DOCANCEL, "CThumbnailDecodeTask::DoCancel;this=%o", this );
if ( iProvider )
{
iProvider->CancelGetThumbnail();
@@ -125,6 +138,9 @@
{
TN_DEBUG4( "CThumbnailDecodeTask(0x%08x)::ThumbnailProviderReady(aError=%d, aBitmap=0x%08x)",
this, aError, aBitmap );
+ OstTrace1( TRACE_NORMAL, CTHUMBNAILDECODETASK_THUMBNAILPROVIDERREADY, "CThumbnailDecodeTask::ThumbnailProviderReady;this=%o", this );
+ OstTrace1( TRACE_NORMAL, DUP1_CTHUMBNAILDECODETASK_THUMBNAILPROVIDERREADY, "CThumbnailDecodeTask::ThumbnailProviderReady;aError=%d", aError );
+ OstTrace1( TRACE_NORMAL, DUP2_CTHUMBNAILDECODETASK_THUMBNAILPROVIDERREADY, "CThumbnailDecodeTask::ThumbnailProviderReady;aBitmap=%o", aBitmap );
iOriginalSize = aOriginalSize;