#include <lbs/lbshostsettings.h>
Link against: lbshostsettings.lib
class MLbsHostSettingsStoreObserver |
Public Member Functions | |
---|---|
pure virtual IMPORT_C void | LbsHostSettingsUpdated(TInt, TLbsHostStoreId, TLbsHostSettingsId) |
virtual IMPORT_C TVersion | Version() |
Protected Member Functions | |
---|---|
virtual IMPORT_C TAny * | ExtendedInterface(TInt, TAny *, TAny *) |
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
IMPORT_C TAny * | ExtendedInterface | ( | TInt | aFunctionNumber, |
TAny * | aPtr1, | |||
TAny * | aPtr2 | |||
) | [protected, virtual] |
Should not be used. Provides for future expansion of the observer interface.
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 | |
---|---|
aError | KErrNone if an entry has been changed, otherwise an error code from CenRep indicating a notification request failure. |
aStoreId | Identifies which data store has been updated or incurred an error. |
aSettingsId | Contains the ID of the host settings that has changed. Valid only when aError == KErrNone. |
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.