diff -r 139d4b7b2938 -r 99bcbff212ad emailservices/emailframework/src/CFSFWImplementation.cpp --- a/emailservices/emailframework/src/CFSFWImplementation.cpp Mon May 24 21:02:02 2010 +0300 +++ b/emailservices/emailframework/src/CFSFWImplementation.cpp Fri May 28 13:56:43 2010 +0300 @@ -15,11 +15,12 @@ * */ +#include "emailtrace.h" + // #include // -#include "emailtrace.h" #include "CFSFWImplementation.h" // #include "CFSMailPlugin.h" @@ -32,7 +33,8 @@ // ----------------------------------------------------------------------------- CFSFWImplementation::CFSFWImplementation() { - FUNC_LOG; + NM_FUNCTION; + iPluginManager = NULL; } @@ -41,7 +43,8 @@ // ----------------------------------------------------------------------------- CFSFWImplementation::~CFSFWImplementation() { - FUNC_LOG; + NM_FUNCTION; + delete iPluginManager; } // ----------------------------------------------------------------------------- @@ -49,11 +52,12 @@ // ----------------------------------------------------------------------------- CFSFWImplementation* CFSFWImplementation::NewLC(TInt aConfiguration) { - FUNC_LOG; - CFSFWImplementation* impl = new (ELeave) CFSFWImplementation(); - CleanupStack:: PushL(impl); - impl->ConstructL(aConfiguration); - return impl; + NM_FUNCTION; + + CFSFWImplementation* impl = new (ELeave) CFSFWImplementation(); + CleanupStack:: PushL(impl); + impl->ConstructL(aConfiguration); + return impl; } // ----------------------------------------------------------------------------- @@ -61,10 +65,11 @@ // ----------------------------------------------------------------------------- CFSFWImplementation* CFSFWImplementation::NewL(TInt aConfiguration) { - FUNC_LOG; - CFSFWImplementation* impl = CFSFWImplementation::NewLC(aConfiguration); - CleanupStack:: Pop(impl); - return impl; + NM_FUNCTION; + + CFSFWImplementation* impl = CFSFWImplementation::NewLC(aConfiguration); + CleanupStack:: Pop(impl); + return impl; } // ----------------------------------------------------------------------------- @@ -72,7 +77,8 @@ // ----------------------------------------------------------------------------- void CFSFWImplementation::ConstructL(TInt aConfiguration) { - FUNC_LOG; + NM_FUNCTION; + // create plugin manager iPluginManager = CFSMailPluginManager::NewL(aConfiguration); } @@ -82,7 +88,8 @@ // ----------------------------------------------------------------------------- CFSMailPluginManager& CFSFWImplementation::GetPluginManager( ) { - FUNC_LOG; + NM_FUNCTION; + return *iPluginManager; }