S60 3rd Edition SDK for Symbian OS
Example Applications Guide

LandmarksDbObserver.h

00001 /*
00002 * ==============================================================================
00003 *  Name        : LandmarksDbObserver.h
00004 *  Part of     : Landmark Reference Application
00005 *  Interface   : -
00006 *  Description : See class description below
00007 *  Version     : 1.0
00008 *
00009 *  Copyright (c) 2004-2006 Nokia Corporation.
00010 *  This material, including documentation and any related 
00011 *  computer programs, is protected by copyright controlled by 
00012 *  Nokia Corporation.
00013 * ==============================================================================
00014 */
00015 
00016 #ifndef __LANDMARKS_DB_OBSERVER_H__
00017 #define __LANDMARKS_DB_OBSERVER_H__
00018 
00019 // INCLUDES
00020 #include <e32base.h>
00021 #include <EPos_Landmarks.h>
00022 
00023 // CLASS DECLARATION
00024 
00025 /**
00026 *  An observer interface used for notifying events originating from the 
00027 *  landmarks default database.
00028 */
00029 class MLandmarksDbObserver
00030     {
00031     public: // new functions
00032 
00033         /**
00034         * NotifyDbEventL notifies that an event has occurred in the default 
00035         * landmark database.
00036         *  
00037         * @param aEvent contains info about the event.
00038         * @param aErrorCode possible error codes if reporting the event was 
00039         * not successful.
00040         */
00041         virtual void NotifyDbEventL(TPosLmEvent& aEvent, TInt aErrorCode) = 0;
00042 
00043     };
00044 
00045 #endif // __LANDMARKS_DB_OBSERVER_H__
00046 
00047 // End of File
00048 

© Nokia 2006

Back to top