diff -r c5df59b4ae2d -r 473df7bf149f imagehandlingutilities/thumbnailmanager/tmcommon/src/tmformatobserver.cpp --- a/imagehandlingutilities/thumbnailmanager/tmcommon/src/tmformatobserver.cpp Wed Aug 18 10:05:55 2010 +0300 +++ b/imagehandlingutilities/thumbnailmanager/tmcommon/src/tmformatobserver.cpp Thu Sep 02 20:45:11 2010 +0300 @@ -20,6 +20,10 @@ #include #include +#include "OstTraceDefinitions.h" +#ifdef OST_TRACE_COMPILER_IN_USE +#include "tmformatobserverTraces.h" +#endif // ======== MEMBER FUNCTIONS ======== @@ -28,6 +32,7 @@ iObserver( aObserver ) { TN_DEBUG1( "CTMFormatObserver::CTMFormatObserver()"); + OstTrace0( TRACE_NORMAL, CTMFORMATOBSERVER_CTMFORMATOBSERVER, "CTMFormatObserver::CTMFormatObserver" ); } @@ -38,6 +43,7 @@ void CTMFormatObserver::ConstructL() { TN_DEBUG1("CTMFormatObserver::ConstructL"); + OstTrace0( TRACE_NORMAL, CTMFORMATOBSERVER_CONSTRUCTL, "CTMFormatObserver::ConstructL" ); iBackupSession = CBaBackupSessionWrapper::NewL(); iBackupSession->RegisterBackupOperationObserverL( *this ); @@ -91,6 +97,7 @@ void CTMFormatObserver::PollStatus() { TN_DEBUG1("CTMFormatObserver::PollStatus()"); + OstTrace0( TRACE_NORMAL, CTMFORMATOBSERVER_POLLSTATUS, "CTMFormatObserver::PollStatus" ); TBool formatting = iBackupSession->IsBackupOperationRunning(); @@ -109,6 +116,7 @@ const TBackupOperationAttributes& aBackupOperationAttributes) { TN_DEBUG1("CTMFormatObserver::HandleBackupOperationEventL"); + OstTrace0( TRACE_NORMAL, CTMFORMATOBSERVER_HANDLEBACKUPOPERATIONEVENTL, "CTMFormatObserver::HandleBackupOperationEventL" ); if( aBackupOperationAttributes.iOperation == EStart ) {