MLbsHostSettingsStoreObserver Class Reference

class MLbsHostSettingsStoreObserver

Interface that receives notification of changes to a host settings data store. A reference to an object of this class can be passed to CLbsHostSettingsStore::NewL() to register a client as a host settings data store observer. CLbsHostSettingsStore

Public Member Functions
IMPORT_C void LbsHostSettingsUpdated ( TInt , TLbsHostStoreId , TLbsHostSettingsId )
IMPORT_C TVersion Version ()
Protected Member Functions
IMPORT_C TAny * ExtendedInterface ( TInt , TAny *, TAny *)

Member Functions Documentation

ExtendedInterface(TInt, TAny *, TAny *)

IMPORT_C TAny * ExtendedInterface ( TInt aFunctionNumber,
TAny * aPtr1,
TAny * aPtr2
) [protected, virtual]

Should not be used. Provides for future expansion of the observer interface.

Parameters

TInt aFunctionNumber
TAny * aPtr1
TAny * aPtr2

LbsHostSettingsUpdated(TInt, TLbsHostStoreId, TLbsHostSettingsId)

IMPORT_C void LbsHostSettingsUpdated ( TInt aError,
TLbsHostStoreId aStoreId,
TLbsHostSettingsId aSettingsId
) const [pure virtual]

Receive notification that the contents of the data store have changed.

This method is called when a host settings entry in the data store been changed by another client session. It specifies the ID of the entry that has changed and also which store it belongs to.

Note: An application will not receive notification updates to changes it itself has made to the same instance of CLbsHostSettingsStore .

Parameters

TInt aError KErrNone if an entry has been changed, otherwise an error code from CenRep indicating a notification request failure.
TLbsHostStoreId aStoreId Identifies which data store has been updated or incurred an error.
TLbsHostSettingsId aSettingsId Contains the ID of the host settings that has changed. Valid only when aError == KErrNone.

Version()

IMPORT_C TVersion Version ( ) const [virtual]

Provides the version of the observer interface. This can be used by the host settings storage library to determine the functionality supported by the client application.