equal
deleted
inserted
replaced
|
1 /* |
|
2 * Copyright (c) 2005-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: Virtual Phonebook Util |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 #ifndef VPBKUTIL_H |
|
20 #define VPBKUTIL_H |
|
21 |
|
22 // INCLUDES |
|
23 #include <e32base.h> |
|
24 #include <badesca.h> |
|
25 |
|
26 /** |
|
27 * Virtual Phonebook internal utility classes and functions. |
|
28 */ |
|
29 namespace VPbkEngUtils |
|
30 { |
|
31 |
|
32 /** |
|
33 * Helper class for shared Versit extension string storage. |
|
34 * Reference counted to let different CVPbkFieldTypeList instances |
|
35 * share the same store. Reference counting is needed when the field |
|
36 * type lists are cloned. |
|
37 */ |
|
38 class CTextStore : public CBase |
|
39 { |
|
40 public: |
|
41 IMPORT_C CTextStore(); |
|
42 IMPORT_C TPtrC8 AddL(const TDesC8& aText); |
|
43 |
|
44 private: |
|
45 CDesC8ArrayFlat iTextArray; |
|
46 }; |
|
47 |
|
48 } |
|
49 |
|
50 #endif // VPBKUTIL_H |
|
51 //End of file |
|
52 |