epos_tposlmdatabaseevent.h File Reference

API published in: S60 3rd Ed

Link against: eposlmdbmanlib.lib

Capability Information

Required Capabilities

None

Exceptions

The capability ReadUserData is required in:

CPosLmDatabaseManager::NewL();

CPosLmDatabaseManager::DefaultDatabaseUriLC();

CPosLmDatabaseManager::NotifyDatabaseEvent( TPosLmDatabaseEvent & aEvent, TRequestStatus & aStatus );

CPosLmDatabaseManager::DatabaseUriFromLastEventLC();

CPosLmDatabaseManager::ListDatabasesLC( const TDesC & aProtocol = KNullDesC );

CPosLmDatabaseManager::ListDatabasesL( RPointerArray< HPosLmDatabaseInfo > & aDatabaseInfoArray, const TDesC & aProtocol = KNullDesC );

CPosLmDatabaseManager::RegisterDatabaseL( HPosLmDatabaseInfo & aDatabaseInfo );

CPosLmDatabaseManager::UnregisterDatabaseL( const TDesC & aDatabaseUri );

CPosLmDatabaseManager::UnregisterAllDatabasesL( const TDesC & aProtocol );

CPosLmDatabaseManager::ModifyDatabaseSettingsL( const TDesC & aDatabaseUri, const TPosLmDatabaseSettings & aDatabaseSettings );

CPosLmDatabaseManager::GetDatabaseInfoL( HPosLmDatabaseInfo & aDatabaseInfo );

CPosLmDatabaseManager::DatabaseExistsL( const TDesC & aDatabaseUri );

CPosLmDatabaseManager::CreateDatabaseL( HPosLmDatabaseInfo & aDatabaseInfo );

CPosLmDatabaseManager::DeleteDatabaseL( const TDesC & aDatabaseUri );

CPosLmDatabaseManager::CopyDatabaseL( const TDesC & aSourceUri, const TDesC & aTargetUri );

The capability WriteUserData is required in:

CPosLmDatabaseManager::RegisterDatabaseL( HPosLmDatabaseInfo & aDatabaseInfo );

CPosLmDatabaseManager::UnregisterDatabaseL( const TDesC & aDatabaseUri );

CPosLmDatabaseManager::UnregisterAllDatabasesL( const TDesC & aProtocol );

CPosLmDatabaseManager::ModifyDatabaseSettingsL( const TDesC & aDatabaseUri, const TPosLmDatabaseSettings & aDatabaseSettings );

CPosLmDatabaseManager::CreateDatabaseL( HPosLmDatabaseInfo & aDatabaseInfo );

CPosLmDatabaseManager::DeleteDatabaseL( const TDesC & aDatabaseUri );

CPosLmDatabaseManager::CopyDatabaseL( const TDesC & aSourceUri, const TDesC & aTargetUri );

The capability WriteDeviceData is required in:

CPosLmDatabaseManager::SetDefaultDatabaseUriL( const TDesC & aDatabaseUri );

The capability NetworkServices is required in:

CPosLmDatabaseManager::DatabaseExistsL( const TDesC & aDatabaseUri ); When database URI refers to remote database.

CPosLmDatabaseManager::CreateDatabaseL( HPosLmDatabaseInfo & aDatabaseInfo ); When database URI refers to remote database.

CPosLmDatabaseManager::DeleteDatabaseL( const TDesC & aDatabaseUri ); When database URI refers to remote database.

CPosLmDatabaseManager::CopyDatabaseL( const TDesC & aSourceUri, const TDesC & aTargetUri ); When any of database URIs refers to remote database.

Other Information

The capability NetworkServices is required to work with remote databases.


#include <e32def.h>

Go to the source code of this file.


Data Structures

struct   TPosLmDatabaseEvent
  Struct for landmark database events. More...

Enumerations

enum   TPosLmDatabaseEventType {
  EPosLmDbUnknownEvent = 0, EPosLmDbDatabaseRegistered = 100, EPosLmDbDatabaseUnregistered, EPosLmDbSettingsModified,
  EPosLmDbMediaRemoved = 200, EPosLmDbMediaInserted, EPosLmDbNewDefaultDbLocation = 300
}
  Specifies what type of event has occured. More...

Enumeration Type Documentation

enum TPosLmDatabaseEventType
 

Specifies what type of event has occured.

If there is no adequate event type to describe the event, EPosLmDbUnknownEvent is specified.

Enumerator:
EPosLmDbUnknownEvent  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  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 CPosLmDatabaseManager::DatabaseUriFromEventLC.

EPosLmDbDatabaseUnregistered  A landmark database has been unregistered or deleted.

The URI of the deleted database can be retrieved by calling CPosLmDatabaseManager::DatabaseUriFromEventLC.

EPosLmDbSettingsModified  Information about a database, e.g.

display name has been changed. The URI of the database can be retrieved by calling CPosLmDatabaseManager::DatabaseUriFromEventLC.

EPosLmDbMediaRemoved  Media was removed, possibly containing landmark databases.

Use ListDatabasesL to list the available databases.

EPosLmDbMediaInserted  Media was inserted, possibly containing landmark databases.

Use ListDatabasesL to list the available databases.

EPosLmDbNewDefaultDbLocation  The location of the default database has changed.

The URI of the default database can be retrieved by calling CPosLmDatabaseManager::DefaultDatabaseUriLC.


Copyright © Nokia Corporation 2001-2008
Back to top