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 navigation observer interface. |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 #ifndef MPBK2NAVIGATIONOBSERVER_H |
|
20 #define MPBK2NAVIGATIONOBSERVER_H |
|
21 |
|
22 // INCLUDES |
|
23 #include <w32std.h> |
|
24 |
|
25 // CLASS DECLARATION |
|
26 |
|
27 /** |
|
28 * Phonebook 2 navigation observer interface. |
|
29 */ |
|
30 class MPbk2NavigationObserver |
|
31 { |
|
32 public: // Types |
|
33 |
|
34 /** |
|
35 * Navigation event types. |
|
36 */ |
|
37 enum TEventType |
|
38 { |
|
39 /// Contact was deleted |
|
40 EContactDeleted = 1 |
|
41 }; |
|
42 |
|
43 public: // Interface |
|
44 |
|
45 /** |
|
46 * Event handling. |
|
47 * |
|
48 * @param aEventType Event type. |
|
49 */ |
|
50 virtual void HandleNavigationEvent( |
|
51 const TEventType& aEventType ) = 0; |
|
52 |
|
53 protected: // Disabled functions |
|
54 virtual ~MPbk2NavigationObserver() |
|
55 {} |
|
56 }; |
|
57 |
|
58 #endif // MPBK2NAVIGATIONOBSERVER_H |
|
59 |
|
60 // End of File |