|
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: Phonebook 2 field property array interface. |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 #ifndef MPBK2FIELDPROPERTYARRAY2_H |
|
20 #define MPBK2FIELDPROPERTYARRAY2_H |
|
21 |
|
22 // INCLUDE FILES |
|
23 #include <e32def.h> |
|
24 |
|
25 // FORWARD DECLARATIONS |
|
26 class MPbk2FieldProperty; |
|
27 class MVPbkFieldType; |
|
28 |
|
29 // CLASS DECLARATION |
|
30 /** |
|
31 * This class is an extension to MPbk2FieldPropertyArray. |
|
32 * See documentation of MPbk2FieldPropertyArray from header |
|
33 * MPbk2FieldPropertyArray.h |
|
34 * |
|
35 * You can access this extension by calling |
|
36 * MPbk2FieldPropertyArray->FieldPropertyArrayExtension() |
|
37 */ |
|
38 class MPbk2FieldPropertyArray2 |
|
39 { |
|
40 public: // Interface |
|
41 /** |
|
42 * Returns a property for the field type and given name or NULL. |
|
43 * |
|
44 * @param aFieldType The field type whose property is |
|
45 * searched for. |
|
46 * @param aName Name for the filed type |
|
47 * @return A field property for the field type |
|
48 * or NULL if not found. |
|
49 */ |
|
50 virtual const MPbk2FieldProperty* FindProperty( |
|
51 const MVPbkFieldType& aFieldType, |
|
52 const TDesC& aName ) const = 0; |
|
53 |
|
54 protected: |
|
55 /** |
|
56 * Destructor. |
|
57 */ |
|
58 virtual ~MPbk2FieldPropertyArray2() |
|
59 {} |
|
60 }; |
|
61 |
|
62 #endif // MPBK2FIELDPROPERTYARRAY2_H |
|
63 |
|
64 // End of File |