equal
deleted
inserted
replaced
|
1 /* |
|
2 * Copyright (c) 2008 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: Interface for listening native database events |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 #ifndef MLAPILMDATABASEOBSERVER_H |
|
20 #define MLAPILMDATABASEOBSERVER_H |
|
21 |
|
22 // EXTERNAL INCLUDES |
|
23 #include <e32std.h> |
|
24 #include <e32def.h> |
|
25 #include <EPos_Landmarks.h> |
|
26 |
|
27 /** |
|
28 * Interface for listening native database events |
|
29 * |
|
30 * @lib N/A |
|
31 * @since S60 3.2 |
|
32 */ |
|
33 NONSHARABLE_CLASS(MLAPILmDatabaseObserver) |
|
34 { |
|
35 public: // New functions |
|
36 |
|
37 /** |
|
38 * This function is called if a change occurs in the native database |
|
39 * Currently, the notified events are only related to categories and |
|
40 * landmarks |
|
41 * |
|
42 * @param aEventType The type of the database event |
|
43 * @param aItemId The item to which the event is related to |
|
44 */ |
|
45 virtual void NotifyEvent( |
|
46 TPosLmEventType& aEventType, |
|
47 TPosLmItemId& aItemId) = 0; |
|
48 |
|
49 protected: |
|
50 |
|
51 /** |
|
52 * Destructor. Destruction is not allowed via this interface |
|
53 */ |
|
54 virtual ~MLAPILmDatabaseObserver() |
|
55 {} |
|
56 |
|
57 } |
|
58 ; |
|
59 |
|
60 #endif // MLAPILMDATABASEOBSERVER_H |
|
61 // End of file |