equal
deleted
inserted
replaced
17 |
17 |
18 |
18 |
19 #ifndef __MLANDMARKOBSERVER_H__ |
19 #ifndef __MLANDMARKOBSERVER_H__ |
20 #define __MLANDMARKOBSERVER_H__ |
20 #define __MLANDMARKOBSERVER_H__ |
21 |
21 |
|
22 #include <EPos_Landmarks.h> |
22 // FORWARD DECLARATION |
23 // FORWARD DECLARATION |
23 class CPosLmItemIterator; |
24 class CPosLmItemIterator; |
24 |
25 class CLandmarkHandler; |
25 /** |
26 /** |
26 * MLandmarkObserver |
27 * MLandmarkObserver |
27 * This class is an observer interface. |
28 * This class is an observer interface. |
28 */ |
29 */ |
29 // CLASS DECLARATION |
30 // CLASS DECLARATION |
38 * @param aTransactionId The transaction id of the async call. |
39 * @param aTransactionId The transaction id of the async call. |
39 * @param aError Whether the async call was able to complete without errors. |
40 * @param aError Whether the async call was able to complete without errors. |
40 * @param aDatabaseUri The uri of the database on which the iterator can be used. |
41 * @param aDatabaseUri The uri of the database on which the iterator can be used. |
41 */ |
42 */ |
42 virtual void HandleLandmarkItemsL( CPosLmItemIterator* aIterator, |
43 virtual void HandleLandmarkItemsL( CPosLmItemIterator* aIterator, |
43 TInt32 aTransactionId, TInt aError, const TDesC& aDatabaseUri ) = 0; |
44 TInt32 aTransactionId, TInt aError, CLandmarkHandler* aHandler ) = 0; |
44 |
45 |
45 /** |
46 /** |
46 * HandleCategoryItemsL. |
47 * HandleCategoryItemsL. |
47 * This is a pure virtual method that has to be implemented. |
48 * This is a pure virtual method that has to be implemented. |
48 * It should notify the client with the status of the asynchronous request. |
49 * It should notify the client with the status of the asynchronous request. |
50 * @param aTransactionId The transaction id of the async call. |
51 * @param aTransactionId The transaction id of the async call. |
51 * @param aError Whether the async call was able to complete without errors. |
52 * @param aError Whether the async call was able to complete without errors. |
52 * @param aDatabaseUri The uri of the database on which the iterator can be used. |
53 * @param aDatabaseUri The uri of the database on which the iterator can be used. |
53 */ |
54 */ |
54 virtual void HandleCategoryItemsL( CPosLmItemIterator* aIterator, |
55 virtual void HandleCategoryItemsL( CPosLmItemIterator* aIterator, |
55 TInt32 aTransactionId, TInt aError, const TDesC& aDatabaseUri ) = 0; |
56 TInt32 aTransactionId, TInt aError, CLandmarkHandler* aHandler ) = 0; |
|
57 |
|
58 virtual void HandleAddItemsL( TPosLmItemId aId, |
|
59 TInt32 aTransactionId, TInt aError ) = 0; |
|
60 |
|
61 virtual void HandleItemsL( TInt32 aTransactionId, TInt aError ) = 0; |
|
62 |
56 } |
63 } |
57 ; |
64 ; |
58 |
65 |
59 #endif // __MLANDMARKOBSERVER_H__ |
66 #endif // __MLANDMARKOBSERVER_H__ |
60 |
67 |