serviceproviders/sapi_landmarks/inc/clandmarkobserver.h
changeset 26 5d0ec8b709be
parent 5 989d2f495d90
equal deleted inserted replaced
23:50974a8b132e 26:5d0ec8b709be
    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.
    78         /**
    83         /**
    79         * iLmIface
    84         * iLmIface
    80         * Handle to CLandmarkInterface instance.
    85         * Handle to CLandmarkInterface instance.
    81         */
    86         */
    82         CLandmarkInterface* iLmIface;
    87         CLandmarkInterface* iLmIface;
       
    88 	/**
       
    89 	 * iId
       
    90 	 * The id of the added/modified landmark/category.
       
    91 	 */
       
    92 	HBufC* iId;
    83     };
    93     };
    84 
    94 
    85 #endif // __CLANDMARKOBSERVER_H__
    95 #endif // __CLANDMARKOBSERVER_H__
    86 
    96 
    87 // End of File
    97 // End of File