|
1 // Copyright (c) 2006-2009 Nokia Corporation and/or its subsidiary(-ies). |
|
2 // All rights reserved. |
|
3 // This component and the accompanying materials are made available |
|
4 // under the terms of "Eclipse Public License v1.0" |
|
5 // which accompanies this distribution, and is available |
|
6 // at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
7 // |
|
8 // Initial Contributors: |
|
9 // Nokia Corporation - initial contribution. |
|
10 // |
|
11 // Contributors: |
|
12 // |
|
13 // Description: |
|
14 // @file CT_LbsClientSharedData.cpp |
|
15 // This file contains the shared data class for the Lbs Client Test server |
|
16 // |
|
17 // |
|
18 |
|
19 |
|
20 #include "ctlbsclientshareddata.h" |
|
21 |
|
22 |
|
23 /** |
|
24 Function : NewL |
|
25 Description : Constructor |
|
26 @internalTechnology |
|
27 @param : |
|
28 @return : N/A |
|
29 @precondition : none |
|
30 @postcondition : none |
|
31 */ |
|
32 CT_LbsClientSharedData* CT_LbsClientSharedData::NewL() |
|
33 { |
|
34 CT_LbsClientSharedData* sharedData=new(ELeave) CT_LbsClientSharedData(); |
|
35 CleanupStack::PushL(sharedData); |
|
36 sharedData->ConstructL(); |
|
37 CleanupStack::Pop(sharedData); |
|
38 |
|
39 return sharedData; |
|
40 } |
|
41 |
|
42 |
|
43 /** |
|
44 Function : ConstructL |
|
45 Description : Constructor |
|
46 @internalTechnology |
|
47 @param : |
|
48 @return : N/A |
|
49 @precondition : none |
|
50 @postcondition : none |
|
51 */ |
|
52 void CT_LbsClientSharedData::ConstructL() |
|
53 { |
|
54 } |
|
55 |
|
56 |
|
57 /** |
|
58 Function : CT_LbsClientSharedData |
|
59 Description : Constructor |
|
60 @internalTechnology |
|
61 @param : |
|
62 @return : N/A |
|
63 @precondition : none |
|
64 @postcondition : none |
|
65 */ |
|
66 CT_LbsClientSharedData::CT_LbsClientSharedData() |
|
67 { |
|
68 } |
|
69 |
|
70 /** |
|
71 Function : ~CT_LbsClientSharedData |
|
72 Description : Destructor |
|
73 @internalTechnology |
|
74 @param : |
|
75 @return : N/A |
|
76 @precondition : none |
|
77 @postcondition : none |
|
78 */ |
|
79 CT_LbsClientSharedData::~CT_LbsClientSharedData() |
|
80 { |
|
81 // Clear arrays. |
|
82 for (TInt i = 0; i < iVerifyPosInfoArr.Count(); ++i) |
|
83 delete iVerifyPosInfoArr[i]; |
|
84 iVerifyPosInfoArr.Close(); |
|
85 |
|
86 for (TInt i = 0; i < iCurrentPosInfoArr.Count(); ++i) |
|
87 delete iCurrentPosInfoArr[i]; |
|
88 iCurrentPosInfoArr.Close(); |
|
89 } |
|
90 |
|
91 |