44 * @param aLmIface The CLandmarkInterface instance. |
44 * @param aLmIface The CLandmarkInterface instance. |
45 * @return A pointer to the newly created instance of CLandmarkObserver. |
45 * @return A pointer to the newly created instance of CLandmarkObserver. |
46 */ |
46 */ |
47 static CLandmarkObserver* NewL( CLandmarkInterface* aLmIface ); |
47 static CLandmarkObserver* NewL( CLandmarkInterface* aLmIface ); |
48 |
48 |
49 /** |
49 /** |
50 * ~CLandmarkObserver |
50 * ~CLandmarkObserver |
51 * Destructor. |
51 * Destructor. |
52 */ |
52 */ |
53 ~CLandmarkObserver() {} |
53 ~CLandmarkObserver(); |
54 |
54 |
55 public:// from MLandmarkObserver |
55 public:// from MLandmarkObserver |
56 |
56 |
57 // HandleLandmarkItemsL. |
57 // HandleLandmarkItemsL. |
58 // Notifies client of state change and calls MLiwNotifyCallback::HandleNotifyL(). |
58 // Notifies client of state change and calls MLiwNotifyCallback::HandleNotifyL(). |
59 void HandleLandmarkItemsL( CPosLmItemIterator* aIterator, |
59 void HandleLandmarkItemsL(CPosLmItemIterator* aIterator, |
60 TInt32 aTransactionId, TInt aError, const TDesC& aDatabaseUri ); |
60 TInt32 aTransactionId, TInt aError, CLandmarkHandler* aHandler); |
61 |
61 |
62 // HandleCategoryItemsL. |
62 // HandleCategoryItemsL. |
63 // Notifies client of state change and calls MLiwNotifyCallback::HandleNotifyL(). |
63 // Notifies client of state change and calls MLiwNotifyCallback::HandleNotifyL(). |
64 void HandleCategoryItemsL( CPosLmItemIterator* aIterator, |
64 void HandleCategoryItemsL(CPosLmItemIterator* aIterator, |
65 TInt32 aTransactionId, TInt aError, const TDesC& aDatabaseUri ); |
65 TInt32 aTransactionId, TInt aError, CLandmarkHandler* aHandler); |
|
66 |
|
67 void HandleAddItemsL(TPosLmItemId aId, TInt32 aTransactionId, TInt aError); |
|
68 |
|
69 void HandleItemsL(TInt32 aTransactionId, TInt aError); |
|
70 |
66 |
71 |
67 private: // Constructors |
72 private: // Constructors |
68 |
73 |
69 /** |
74 /** |
70 * CLandmarkObserver. |
75 * CLandmarkObserver. |