omads/omadsextensions/dsutils/nsmldefaultagendahandler/src/nsmldefaultagendahandlerutil.cpp
branchRCL_3
changeset 52 4f0867e42d62
parent 1 95fdac6ccb5c
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/omads/omadsextensions/dsutils/nsmldefaultagendahandler/src/nsmldefaultagendahandlerutil.cpp	Wed Sep 01 12:30:02 2010 +0100
@@ -0,0 +1,76 @@
+/*
+* Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies). 
+* All rights reserved.
+* This component and the accompanying materials are made available
+* under the terms of "Eclipse Public License v1.0"
+* which accompanies this distribution, and is available
+* at the URL "http://www.eclipse.org/legal/epl-v10.html".
+*
+* Initial Contributors:
+* Nokia Corporation - initial contribution.
+*
+* Contributors:
+* 
+* Description:    
+*               
+*
+*/
+
+#include "nsmldefaultagendahandlerutil.h"
+#include "nsmldefaultagendahandlerdebug.h"
+
+// -----------------------------------------------------------------------------
+// CNSmlDefaultAgendaHandlerUtil::CNSmlDefaultAgendaHandlerUtil
+// C++ default constructor can NOT contain any code, that
+// might leave.
+// -----------------------------------------------------------------------------
+//
+CNSmlDefaultAgendaHandlerUtil::CNSmlDefaultAgendaHandlerUtil()
+    {
+    FLOG(_L("CNSmlDefaultAgendaHandlerUtil::CNSmlDefaultAgendaHandlerUtil(): BEGIN"));
+    
+    iFileName = NULL;
+    iName = NULL;
+    iEnabled = ETrue;
+    iSyncStatus = ETrue;
+    
+    FLOG(_L("CNSmlDefaultAgendaHandlerUtil::CNSmlDefaultAgendaHandlerUtil(): END"));
+    }
+
+// -----------------------------------------------------------------------------
+// CNSmlDefaultAgendaHandlerUtil::NewL
+// Two-phased constructor.
+// -----------------------------------------------------------------------------
+//
+CNSmlDefaultAgendaHandlerUtil* CNSmlDefaultAgendaHandlerUtil::NewL()
+    {
+    FLOG(_L("CNSmlDefaultAgendaHandlerUtil::NewL: BEGIN"));
+    
+    CNSmlDefaultAgendaHandlerUtil* self = new ( ELeave ) CNSmlDefaultAgendaHandlerUtil();
+    
+    FLOG(_L("CNSmlDefaultAgendaHandlerUtil::NewL: END"));
+    return self;
+    }
+
+// -----------------------------------------------------------------------------
+// CNSmlDefaultAgendaHandlerUtil::~CNSmlDefaultAgendaHandlerUtil
+// Destructor.
+// -----------------------------------------------------------------------------
+//
+CNSmlDefaultAgendaHandlerUtil::~CNSmlDefaultAgendaHandlerUtil()
+    {
+    FLOG(_L("CNSmlDefaultAgendaHandlerUtil::~CNSmlDefaultAgendaHandlerUtil(): BEGIN"));
+    if(iFileName)
+        {
+        delete iFileName;
+        iFileName = NULL;
+        }
+    if(iName)
+        {
+        delete iName;
+        iName = NULL;
+        }
+    FLOG(_L("CNSmlDefaultAgendaHandlerUtil::~CNSmlDefaultAgendaHandlerUtil(): END"));
+    }
+
+//End of file