|
1 /* |
|
2 * Copyright (c) 2005 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: Database (content) specific fata encapsulation |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 // INCLUDE FILES |
|
20 #include "NsmlDSContentItem.h" |
|
21 #include "NSmlURI.h" |
|
22 #include "nsmlagentlog.h" |
|
23 #include "nsmldsluidbuffer.h" |
|
24 #include "nsmldsmapcontainer.h" |
|
25 |
|
26 // ============================ MEMBER FUNCTIONS =============================== |
|
27 |
|
28 // ----------------------------------------------------------------------------- |
|
29 // CNSmlDSContentItem::CNSmlDSContentItem() |
|
30 // C++ default constructor. |
|
31 // ----------------------------------------------------------------------------- |
|
32 // |
|
33 CNSmlDSContentItem::CNSmlDSContentItem() |
|
34 { |
|
35 iAtomicModeOn = EFalse; |
|
36 iBatchModeOn = EFalse; |
|
37 iStoreOpened = EFalse; |
|
38 } |
|
39 |
|
40 // ----------------------------------------------------------------------------- |
|
41 // CNSmlDSContentItem::~CNSmlDSContentItem() |
|
42 // Destructor. |
|
43 // ----------------------------------------------------------------------------- |
|
44 // |
|
45 CNSmlDSContentItem::~CNSmlDSContentItem() |
|
46 { |
|
47 iFilters.ResetAndDestroy(); |
|
48 delete iStoreName; |
|
49 delete iLocalDatabase; |
|
50 delete iRemoteDatabase; |
|
51 delete iAgentLog; |
|
52 delete iSyncType; //RD_SUSPEND_RESUME |
|
53 delete iClientSyncType;//RD_SUSPEND_RESUME |
|
54 delete iLUIDBuffer; |
|
55 delete iMapContainer; |
|
56 delete iServerId; |
|
57 } |
|
58 |
|
59 // End of File |