|
1 /* |
|
2 * Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies). |
|
3 * All rights reserved. |
|
4 * This component and the accompanying materials are made available |
|
5 * under the terms of "Eclipse Public License v1.0" |
|
6 * which accompanies this distribution, and is available |
|
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
8 * |
|
9 * Initial Contributors: |
|
10 * Nokia Corporation - initial contribution. |
|
11 * |
|
12 * Contributors: |
|
13 * |
|
14 * Description: |
|
15 * |
|
16 * |
|
17 */ |
|
18 |
|
19 #include "nsmldefaultagendahandlerutil.h" |
|
20 #include "nsmldefaultagendahandlerdebug.h" |
|
21 |
|
22 // ----------------------------------------------------------------------------- |
|
23 // CNSmlDefaultAgendaHandlerUtil::CNSmlDefaultAgendaHandlerUtil |
|
24 // C++ default constructor can NOT contain any code, that |
|
25 // might leave. |
|
26 // ----------------------------------------------------------------------------- |
|
27 // |
|
28 CNSmlDefaultAgendaHandlerUtil::CNSmlDefaultAgendaHandlerUtil() |
|
29 { |
|
30 FLOG(_L("CNSmlDefaultAgendaHandlerUtil::CNSmlDefaultAgendaHandlerUtil(): BEGIN")); |
|
31 |
|
32 iFileName = NULL; |
|
33 iName = NULL; |
|
34 iEnabled = ETrue; |
|
35 iSyncStatus = ETrue; |
|
36 |
|
37 FLOG(_L("CNSmlDefaultAgendaHandlerUtil::CNSmlDefaultAgendaHandlerUtil(): END")); |
|
38 } |
|
39 |
|
40 // ----------------------------------------------------------------------------- |
|
41 // CNSmlDefaultAgendaHandlerUtil::NewL |
|
42 // Two-phased constructor. |
|
43 // ----------------------------------------------------------------------------- |
|
44 // |
|
45 CNSmlDefaultAgendaHandlerUtil* CNSmlDefaultAgendaHandlerUtil::NewL() |
|
46 { |
|
47 FLOG(_L("CNSmlDefaultAgendaHandlerUtil::NewL: BEGIN")); |
|
48 |
|
49 CNSmlDefaultAgendaHandlerUtil* self = new ( ELeave ) CNSmlDefaultAgendaHandlerUtil(); |
|
50 |
|
51 FLOG(_L("CNSmlDefaultAgendaHandlerUtil::NewL: END")); |
|
52 return self; |
|
53 } |
|
54 |
|
55 // ----------------------------------------------------------------------------- |
|
56 // CNSmlDefaultAgendaHandlerUtil::~CNSmlDefaultAgendaHandlerUtil |
|
57 // Destructor. |
|
58 // ----------------------------------------------------------------------------- |
|
59 // |
|
60 CNSmlDefaultAgendaHandlerUtil::~CNSmlDefaultAgendaHandlerUtil() |
|
61 { |
|
62 FLOG(_L("CNSmlDefaultAgendaHandlerUtil::~CNSmlDefaultAgendaHandlerUtil(): BEGIN")); |
|
63 if(iFileName) |
|
64 { |
|
65 delete iFileName; |
|
66 iFileName = NULL; |
|
67 } |
|
68 if(iName) |
|
69 { |
|
70 delete iName; |
|
71 iName = NULL; |
|
72 } |
|
73 FLOG(_L("CNSmlDefaultAgendaHandlerUtil::~CNSmlDefaultAgendaHandlerUtil(): END")); |
|
74 } |
|
75 |
|
76 //End of file |