--- a/calendarui/controller/src/calensettingsstate.cpp Fri Jul 02 19:56:46 2010 +0530
+++ b/calendarui/controller/src/calensettingsstate.cpp Mon Jul 12 02:32:28 2010 +0530
@@ -23,6 +23,10 @@
#include "calenstatemachine.h"
#include "calennotifier.h"
#include "calenviewmanager.h"
+#include "OstTraceDefinitions.h"
+#ifdef OST_TRACE_COMPILER_IN_USE
+#include "calensettingsstateTraces.h"
+#endif
// ----------------------------------------------------------------------------
// CCalenSettingsState::NewLC
@@ -31,14 +35,14 @@
CCalenSettingsState* CCalenSettingsState::NewLC( CCalenController& aController,
RHashSet<TCalenNotification>& aOutstandingNotifications )
{
- TRACE_ENTRY_POINT;
-
+ OstTraceFunctionEntry0( CCALENSETTINGSSTATE_NEWLC_ENTRY );
+
CCalenSettingsState* self = new ( ELeave ) CCalenSettingsState( aController,
aOutstandingNotifications );
CleanupStack::PushL( self );
self->ConstructL();
- TRACE_EXIT_POINT;
+ OstTraceFunctionExit0( CCALENSETTINGSSTATE_NEWLC_EXIT );
return self;
}
@@ -48,10 +52,11 @@
// ----------------------------------------------------------------------------
void CCalenSettingsState::ConstructL()
{
- TRACE_ENTRY_POINT;
+ OstTraceFunctionEntry0( CCALENSETTINGSSTATE_CONSTRUCTL_ENTRY );
+
BaseConstructL();
- TRACE_EXIT_POINT;
+ OstTraceFunctionExit0( CCALENSETTINGSSTATE_CONSTRUCTL_EXIT );
}
// ----------------------------------------------------------------------------
@@ -62,9 +67,9 @@
RHashSet<TCalenNotification>& aOutstandingNotifications )
: CCalenState( aController, aOutstandingNotifications )
{
- TRACE_ENTRY_POINT;
+ OstTraceFunctionEntry0( CCALENSETTINGSSTATE_CCALENSETTINGSSTATE_ENTRY );
- TRACE_EXIT_POINT;
+ OstTraceFunctionExit0( CCALENSETTINGSSTATE_CCALENSETTINGSSTATE_EXIT );
}
// ----------------------------------------------------------------------------
@@ -73,9 +78,9 @@
// ----------------------------------------------------------------------------
CCalenSettingsState::~CCalenSettingsState()
{
- TRACE_ENTRY_POINT;
+ OstTraceFunctionEntry0( DUP1_CCALENSETTINGSSTATE_CCALENSETTINGSSTATE_ENTRY );
- TRACE_EXIT_POINT;
+ OstTraceFunctionExit0( DUP1_CCALENSETTINGSSTATE_CCALENSETTINGSSTATE_EXIT );
}
// ----------------------------------------------------------------------------
@@ -85,8 +90,8 @@
TBool CCalenSettingsState::HandleCommandL( const TCalenCommand& aCommand,
CCalenStateMachine& aStateMachine )
{
- TRACE_ENTRY_POINT;
-
+ OstTraceFunctionEntry0( CCALENSETTINGSSTATE_HANDLECOMMANDL_ENTRY );
+
TInt cmd = aCommand.Command();
MCalenCommandHandler* handler = iController.GetCommandHandlerL( cmd );
@@ -123,7 +128,7 @@
RequestCallbackL( handler, aCommand );
}
- TRACE_EXIT_POINT;
+ OstTraceFunctionExit0( CCALENSETTINGSSTATE_HANDLECOMMANDL_EXIT );
return cmdUsed;
}
@@ -134,7 +139,7 @@
void CCalenSettingsState::HandleNotificationL(const TCalenNotification& aNotification,
CCalenStateMachine& aStateMachine )
{
- TRACE_ENTRY_POINT;
+ OstTraceFunctionEntry0( CCALENSETTINGSSTATE_HANDLENOTIFICATIONL_ENTRY );
switch( aNotification )
{
@@ -162,7 +167,7 @@
break;
}
- TRACE_EXIT_POINT;
+ OstTraceFunctionExit0( CCALENSETTINGSSTATE_HANDLENOTIFICATIONL_EXIT );
}
// ----------------------------------------------------------------------------
@@ -171,14 +176,14 @@
// ----------------------------------------------------------------------------
void CCalenSettingsState::HandleStateActivationL()
{
- TRACE_ENTRY_POINT;
+ OstTraceFunctionEntry0( CCALENSETTINGSSTATE_HANDLESTATEACTIVATIONL_ENTRY );
if( iOutstandingNotifications.FindL(ECalenNotifySettingsCRepKeyChanged) )
{
iController.Notifier().BroadcastApprovedNotification( ECalenNotifySettingsCRepKeyChanged );
}
- TRACE_EXIT_POINT;
+ OstTraceFunctionExit0( CCALENSETTINGSSTATE_HANDLESTATEACTIVATIONL_EXIT );
}
// end of file