|
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 editing observer. |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 #ifndef MPBK2EDITEDCONTACTOBSERVER_H |
|
20 #define MPBK2EDITEDCONTACTOBSERVER_H |
|
21 |
|
22 // FORWARD DECLARATIONS |
|
23 class MVPbkStoreContact; |
|
24 |
|
25 // CLASS DECLARATION |
|
26 |
|
27 /** |
|
28 * Phonebook 2 contact editing observer. |
|
29 */ |
|
30 class MPbk2EditedContactObserver |
|
31 { |
|
32 public: // Interface |
|
33 |
|
34 /** |
|
35 * Informs editor observer that the contact editing is completed. |
|
36 * |
|
37 * @param aEditedContact Edited store contact. Ownership is given. |
|
38 */ |
|
39 virtual void ContactEditingComplete( |
|
40 MVPbkStoreContact* aEditedContact ) = 0; |
|
41 |
|
42 /** |
|
43 * Informs editor observer that the contact editing is finished, |
|
44 * and that the contact was deleted in the editor. |
|
45 * |
|
46 * @param aEditedContact Edited store contact. Ownership is given. |
|
47 */ |
|
48 virtual void ContactEditingDeletedContact( |
|
49 MVPbkStoreContact* aEditedContact ) = 0; |
|
50 |
|
51 /** |
|
52 * Informs editor observer that contact editing is aborted |
|
53 * without saving the changes. |
|
54 */ |
|
55 virtual void ContactEditingAborted() = 0; |
|
56 |
|
57 protected: // Disabled functions |
|
58 ~MPbk2EditedContactObserver() |
|
59 {} |
|
60 }; |
|
61 |
|
62 #endif // MPBK2EDITEDCONTACTOBSERVER_H |
|
63 |
|
64 // End of File |
|
65 |