--- a/telephonyserverplugins/common_tsy/commontsy/src/mmtsy/ChargingStatusObserver.cpp Thu Aug 19 11:03:36 2010 +0300
+++ b/telephonyserverplugins/common_tsy/commontsy/src/mmtsy/ChargingStatusObserver.cpp Tue Aug 31 16:23:08 2010 +0300
@@ -1,5 +1,5 @@
/*
-* Copyright (c) 2007-2009 Nokia Corporation and/or its subsidiary(-ies).
+* Copyright (c) 2007-2010 Nokia Corporation and/or its subsidiary(-ies).
* All rights reserved.
* This component and the accompanying materials are made available
* under the terms of "Eclipse Public License v1.0"
@@ -18,8 +18,13 @@
// INCLUDE FILES
+
+#include "OstTraceDefinitions.h"
+#ifdef OST_TRACE_COMPILER_IN_USE
+#include "ChargingStatusObserverTraces.h"
+#endif
+
#include "ChargingStatusObserver.h"
-#include <ctsy/tflogger.h>
// ======== MEMBER FUNCTIONS ========
@@ -81,7 +86,7 @@
if ( KErrNone != errorStatus )
{
-TFLOGSTRING2("TSY: CChargingStatusObserver::RunL - iStatus: %d", errorStatus );
+OstTraceDef1(OST_TRACE_CATEGORY_DEBUG, TRACE_INTERNALS, CCHARGINGSTATUSOBSERVER_RUNL_1, "TSY: CChargingStatusObserver::RunL - iStatus: %d", errorStatus );
iChargingStatusNotifier.NotifyChargingStatus( errorStatus,
batteryInfo );
return;
@@ -90,7 +95,7 @@
// property updated, get new value
TInt level( 0 );
TInt error = iChargingStatus.Get( level );
-TFLOGSTRING2("TSY: CChargingStatusObserver::RunL error: %d", error);
+OstTraceDef1(OST_TRACE_CATEGORY_DEBUG, TRACE_INTERNALS, CCHARGINGSTATUSOBSERVER_RUNL_2, "TSY: CChargingStatusObserver::RunL error: %d", error);
if ( KErrNone == error )
{