diff -r 666f914201fb -r 2fe1408b6811 epoc32/include/mw/epos_tposlmdatabaseevent.h --- a/epoc32/include/mw/epos_tposlmdatabaseevent.h Tue Nov 24 13:55:44 2009 +0000 +++ b/epoc32/include/mw/epos_tposlmdatabaseevent.h Tue Mar 16 16:12:26 2010 +0000 @@ -1,1 +1,79 @@ -epos_tposlmdatabaseevent.h +/* +* Copyright (c) 2005-2006 Nokia Corporation and/or its subsidiary(-ies). +* All rights reserved. +* This component and the accompanying materials are made available +* under the terms of the License "Symbian Foundation License v1.0" to Symbian Foundation members and "Symbian Foundation End User License Agreement v1.0" to non-members +* which accompanies this distribution, and is available +* at the URL "http://www.symbianfoundation.org/legal/licencesv10.html". +* +* Initial Contributors: +* Nokia Corporation - initial contribution. +* +* Contributors: +* +* Description: TPosLmDatabaseEvent +* +*/ + + + +#ifndef TPOSLMDATABASEEVENT_H +#define TPOSLMDATABASEEVENT_H + +#include + +/** +* Specifies what type of event has occured. +* +* If there is no adequate event type to describe the event, +* @p EPosLmDbUnknownEvent is specified. +* +* @since S60 3.0 +*/ +enum TPosLmDatabaseEventType + { + EPosLmDbUnknownEvent= 0, + /**< Something has happened, but what happened is not specified. + This event is used if there are too many events in + which case the events are bundled into a single unknown event. If + the client is interested in some database management information, + it should be reread from the database manager. */ + EPosLmDbDatabaseRegistered = 100, + /**< A landmark database has been registered or created. This + event is also generated if a database is copied. The URI of the + new database can be retrieved by calling + @ref CPosLmDatabaseManager::DatabaseUriFromEventLC. */ + EPosLmDbDatabaseUnregistered, + /**< A landmark database has been unregistered or deleted. The + URI of the deleted database can be retrieved by calling + @ref CPosLmDatabaseManager::DatabaseUriFromEventLC. */ + EPosLmDbSettingsModified, + /**< Information about a database, e.g. display name has been + changed. The URI of the database can be retrieved by calling + @ref CPosLmDatabaseManager::DatabaseUriFromEventLC. */ + EPosLmDbMediaRemoved = 200, + /**< Media was removed, possibly containing landmark databases. Use + @ref ListDatabasesL to list the available databases. */ + EPosLmDbMediaInserted, + /**< Media was inserted, possibly containing landmark databases. + Use @ref ListDatabasesL to list the available databases. */ + EPosLmDbNewDefaultDbLocation = 300 + /**< The location of the default database has changed. The URI of + the default database can be retrieved by calling + @ref CPosLmDatabaseManager::DefaultDatabaseUriLC. */ + }; + +/** +* Struct for landmark database events. +* +* @since S60 3.0 +*/ +struct TPosLmDatabaseEvent + { + TPosLmDatabaseEventType iEventType; /**< Type of event. */ + TUint8 iUnused[8]; /**< For future use. */ + }; + +#endif // TPOSLMDATABASEEVENT_H + +