MLbsHostSettingsStoreObserver Class Reference

#include <lbs/lbshostsettings.h>

Link against: lbshostsettings.lib

class MLbsHostSettingsStoreObserver
Public Member Functions
pure virtual IMPORT_C voidLbsHostSettingsUpdated(TInt, TLbsHostStoreId, TLbsHostSettingsId)
virtual IMPORT_C TVersionVersion()
Protected Member Functions
virtual IMPORT_C TAny *ExtendedInterface(TInt, TAny *, TAny *)

Detailed Description

Deprecated

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.

See also: CLbsHostSettingsStore

Member Function Documentation

ExtendedInterface ( TInt, TAny *, TAny * )

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

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

LbsHostSettingsUpdated ( TInt, TLbsHostStoreId, TLbsHostSettingsId )

IMPORT_C voidLbsHostSettingsUpdated(TIntaError,
TLbsHostStoreIdaStoreId,
TLbsHostSettingsIdaSettingsId
)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
aErrorKErrNone if an entry has been changed, otherwise an error code from CenRep indicating a notification request failure.
aStoreIdIdentifies which data store has been updated or incurred an error.
aSettingsIdContains the ID of the host settings that has changed. Valid only when aError == KErrNone.

Version ( )

IMPORT_C TVersionVersion()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.

Return Value
Version of the observer interface.