equal
deleted
inserted
replaced
|
1 /* |
|
2 * Copyright (c) 2006-2007 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 #ifndef CVPBKVCARDIDNAMEMAPPING_H |
|
20 #define CVPBKVCARDIDNAMEMAPPING_H |
|
21 |
|
22 // INCLUDES |
|
23 #include "VPbkFieldType.hrh" |
|
24 |
|
25 // FORWARD DECLARATIONS |
|
26 class TResourceReader; |
|
27 |
|
28 // CLASS DECLARATIONS |
|
29 |
|
30 NONSHARABLE_CLASS(CVPbkVCardIdNameMapping) : public CBase |
|
31 { |
|
32 public: |
|
33 static CVPbkVCardIdNameMapping* NewLC( TResourceReader& aResReader ); |
|
34 CVPbkVCardIdNameMapping(); |
|
35 |
|
36 ~CVPbkVCardIdNameMapping(); |
|
37 |
|
38 public: |
|
39 |
|
40 TInt Id() const; |
|
41 |
|
42 const TDesC8& Name() const; |
|
43 |
|
44 private: |
|
45 CVPbkVCardIdNameMapping( TResourceReader& aResReader ); |
|
46 void ConstructL( TResourceReader& aResReader ); |
|
47 |
|
48 private: |
|
49 TInt iId; |
|
50 /// Own: |
|
51 HBufC8* iName; |
|
52 }; |
|
53 #endif // CVPBKVCARDIDNAMEMAPPING_H |
|
54 |
|
55 // End of file |