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: Phonebook 2 contact editor dialog control extension. |
|
15 * |
|
16 */ |
|
17 |
|
18 #ifndef MPBK2CONTACTEDITORCONTROLEXTENSION_H_ |
|
19 #define MPBK2CONTACTEDITORCONTROLEXTENSION_H_ |
|
20 |
|
21 // INCLUDES |
|
22 #include <VPbkFieldType.hrh> |
|
23 // FORWARD DECLARATIONS |
|
24 |
|
25 // CLASS DECLARATION |
|
26 |
|
27 /** |
|
28 * Phonebook 2 contact editor UI builder interface extension. |
|
29 */ |
|
30 class MPbk2ContactEditorControlExtension |
|
31 { |
|
32 public: // Interface |
|
33 |
|
34 /** |
|
35 * Update contact editor field controls. |
|
36 * |
|
37 */ |
|
38 virtual void UpdateControlsL() = 0; |
|
39 |
|
40 /** |
|
41 * Returns focused editor field type. |
|
42 * |
|
43 * @return ETrue if the control is empty. |
|
44 */ |
|
45 virtual TInt FocusedControlType() = 0; |
|
46 |
|
47 virtual TAny* ContactEditorControlExtensionExtension( |
|
48 TUid /*aExtensionUid*/ ) |
|
49 { |
|
50 return NULL; |
|
51 } |
|
52 |
|
53 protected: // Disabled functions |
|
54 virtual ~MPbk2ContactEditorControlExtension() |
|
55 {} |
|
56 }; |
|
57 |
|
58 #endif // MPBK2CONTACTEDITORCONTROLEXTENSION_H_ |
|
59 |
|
60 // End of File |