--- a/connectivitymodules/SeCon/services/pcd/src/sconbrqueue.cpp Mon May 03 12:24:28 2010 +0300
+++ b/connectivitymodules/SeCon/services/pcd/src/sconbrqueue.cpp Tue Jul 13 03:28:47 2010 +0530
@@ -30,12 +30,10 @@
//
CSConBackupRestoreQueue* CSConBackupRestoreQueue::NewL( const TInt aMaxObjectSize, RFs& aFs )
{
- TRACE_FUNC_ENTRY;
CSConBackupRestoreQueue* self = new (ELeave) CSConBackupRestoreQueue();
CleanupStack::PushL( self );
self->ConstructL( aMaxObjectSize, aFs );
CleanupStack::Pop( self );
- TRACE_FUNC_EXIT;
return self;
}
@@ -56,11 +54,9 @@
//
void CSConBackupRestoreQueue::ConstructL( const TInt aMaxObjectSize, RFs& aFs )
{
- TRACE_FUNC_ENTRY;
iBackupRestore = CSConBackupRestore::NewL( this, aMaxObjectSize, aFs );
CActiveScheduler::Add( iBackupRestore );
User::LeaveIfError( iTimer.CreateLocal() );
- TRACE_FUNC_EXIT;
}
// -----------------------------------------------------------------------------
@@ -88,7 +84,6 @@
//
void CSConBackupRestoreQueue::StartQueue()
{
- TRACE_FUNC_ENTRY;
if( IsActive() )
{
Cancel();
@@ -96,7 +91,6 @@
iTimer.After( iStatus, KSConTimerValue );
SetActive();
- TRACE_FUNC_EXIT;
}
// -----------------------------------------------------------------------------
@@ -106,9 +100,7 @@
//
void CSConBackupRestoreQueue::StopQueue()
{
- TRACE_FUNC_ENTRY;
iTimer.Cancel();
- TRACE_FUNC_EXIT;
}
// -----------------------------------------------------------------------------
@@ -139,7 +131,6 @@
}
ret = iQueue.InsertInOrder( aNewTask, CSConTaskQueue::Compare );
- LOGGER_WRITE_1( "CSConBackupRestoreQueue::AddNewTask() : returned %d", ret );
return ret;
}
@@ -189,7 +180,6 @@
//
void CSConBackupRestoreQueue::QueueAddress( CSConInstallerQueue*& aTaskQueue )
{
- TRACE_FUNC;
iInstQueueAddress = aTaskQueue;
}
@@ -253,14 +243,11 @@
//
void CSConBackupRestoreQueue::RunL()
{
- TRACE_FUNC_ENTRY;
- LOGGER_WRITE_1( "There are still %d tasks in this queue", iQueue.Count() );
if( iQueue.Count() > 0 )
{
PollQueue();
StartQueue();
}
- TRACE_FUNC_EXIT;
}
// End of file