diff -r d45095c2f4f3 -r bee149131e4b mmappcomponents/mmmtpdataprovider/mmmtpdprequestprocessor/src/crequestprocessor.cpp --- a/mmappcomponents/mmmtpdataprovider/mmmtpdprequestprocessor/src/crequestprocessor.cpp Tue Feb 02 00:27:58 2010 +0200 +++ b/mmappcomponents/mmmtpdataprovider/mmmtpdprequestprocessor/src/crequestprocessor.cpp Fri Feb 19 23:18:32 2010 +0200 @@ -23,7 +23,7 @@ #include #include #include -#include +#include #include "crequestprocessor.h" #include "crequestchecker.h" @@ -39,13 +39,15 @@ EXPORT_C CRequestProcessor::CRequestProcessor( MMTPDataProviderFramework& aFramework, MMTPConnection& aConnection, TInt aElementCount, - const TMTPRequestElementInfo* aElements ): - CActive( EPriorityStandard ), - iFramework( aFramework ), - iConnection( aConnection ), - iElementCount( aElementCount ), - iElements( aElements ) + const TMTPRequestElementInfo* aElements ) : + CActive( EPriorityStandard ), + iFramework( aFramework ), + iConnection( aConnection ), + iElementCount( aElementCount ), + iElements( aElements ) { + // Note: It has been moved to specific operation handler + // Some operations don't need add into active scheduler // CActiveScheduler::Add( this ); } @@ -56,7 +58,9 @@ // EXPORT_C CRequestProcessor::~CRequestProcessor() { -// Cancel(); + // Note: It has been moved to specific operation handler + // Some operations don't need add into active scheduler + // Cancel(); iNullBuffer.Close(); delete iRequestChecker; } @@ -390,7 +394,7 @@ // EXPORT_C void CRequestProcessor::RunL() { - + // Do nothing } // ----------------------------------------------------------------------------- @@ -400,7 +404,7 @@ // EXPORT_C void CRequestProcessor::DoCancel() { - + // Do nothing } // -----------------------------------------------------------------------------