--- a/emailservices/emailframework/src/CFSFWImplementation.cpp Thu May 27 12:43:55 2010 +0300
+++ b/emailservices/emailframework/src/CFSFWImplementation.cpp Fri Jun 11 13:27:14 2010 +0300
@@ -15,11 +15,12 @@
*
*/
+#include "emailtrace.h"
+
//<qmail>
#include <nmcommonheaders.h>
//</qmail>
-#include "emailtrace.h"
#include "CFSFWImplementation.h"
//<cmail>
#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;
}