CConnectionSettings Class Reference

class CConnectionSettings : public CBase

Base class that any client wishing to access underlying comms database settings Since 9.1 CConnectionProvider

Inherits from

Constructor & Destructor Documentation

CConnectionSettings()

IMPORT_CCConnectionSettings()

Member Functions Documentation

DoGetBoolSettingL(const TDesC &, TBool &, const RMessagePtr2 *)

voidDoGetBoolSettingL(const TDesC &aSettingName,
TBool &aValue,
const RMessagePtr2 *aMessage
)[protected, pure virtual]

Override this to retrieve a boolean value from the database with the given field name

Parameters

const TDesC & aSettingNameField name
TBool & aValueReference to a boolean that will contain the value on call success
const RMessagePtr2 * aMessageRMessage pointer required for secure session communication

DoGetDes16SettingL(const TDesC &, TDes16 &, const RMessagePtr2 *)

voidDoGetDes16SettingL(const TDesC &aSettingName,
TDes16 &aValue,
const RMessagePtr2 *aMessage
)[protected, pure virtual]

Override this to retrieve a unicode string value from the database with the given field name

Parameters

const TDesC & aSettingNameField name
TDes16 & aValueReference to a string that will contain the value on call success
const RMessagePtr2 * aMessageRMessage pointer required for secure session communication

DoGetDes8SettingL(const TDesC &, TDes8 &, const RMessagePtr2 *)

voidDoGetDes8SettingL(const TDesC &aSettingName,
TDes8 &aValue,
const RMessagePtr2 *aMessage
)[protected, pure virtual]

Override this to retrieve a 8-bit string value from the database with the given field name

Parameters

const TDesC & aSettingNameField name
TDes8 & aValueReference to a string that will contain the value on call success
const RMessagePtr2 * aMessageRMessage pointer required for secure session communication

DoGetIntSettingL(const TDesC &, TUint32 &, const RMessagePtr2 *)

voidDoGetIntSettingL(const TDesC &aSettingName,
TUint32 &aValue,
const RMessagePtr2 *aMessage
)[protected, pure virtual]

Override this to retrieve a unsigned 32-bit int value from the database with the given field name

Parameters

const TDesC & aSettingNameField name
TUint32 & aValueReference to a TUint32 that will contain the value on call success
const RMessagePtr2 * aMessageRMessage pointer required for secure session communication

DoGetLongDesSettingLC(const TDesC &, const RMessagePtr2 *)

HBufC *DoGetLongDesSettingLC(const TDesC &aSettingName,
const RMessagePtr2 *aMessage
)[protected, pure virtual]

Override this to retrieve a string value as a heap allocated buffer from the database with the given field name

Parameters

const TDesC & aSettingNameField name
const RMessagePtr2 * aMessageRMessage pointer required for secure session communication

GetBoolSettingL(const TDesC &, TBool &, const RMessagePtr2 *)

IMPORT_C voidGetBoolSettingL(const TDesC &aSettingName,
TBool &aValue,
const RMessagePtr2 *aMessage
)

Parameters

const TDesC & aSettingName
TBool & aValue
const RMessagePtr2 * aMessage

GetDes16SettingL(const TDesC &, TDes16 &, const RMessagePtr2 *)

IMPORT_C voidGetDes16SettingL(const TDesC &aSettingName,
TDes16 &aValue,
const RMessagePtr2 *aMessage
)

Parameters

const TDesC & aSettingName
TDes16 & aValue
const RMessagePtr2 * aMessage

GetDes8SettingL(const TDesC &, TDes8 &, const RMessagePtr2 *)

IMPORT_C voidGetDes8SettingL(const TDesC &aSettingName,
TDes8 &aValue,
const RMessagePtr2 *aMessage
)

Parameters

const TDesC & aSettingName
TDes8 & aValue
const RMessagePtr2 * aMessage

GetIntSettingL(const TDesC &, TUint32 &, const RMessagePtr2 *)

IMPORT_C voidGetIntSettingL(const TDesC &aSettingName,
TUint32 &aValue,
const RMessagePtr2 *aMessage
)

Parameters

const TDesC & aSettingName
TUint32 & aValue
const RMessagePtr2 * aMessage

GetLongDesSettingLC(const TDesC &, const RMessagePtr2 *)

IMPORT_C HBufC *GetLongDesSettingLC(const TDesC &aSettingName,
const RMessagePtr2 *aMessage
)

Parameters

const TDesC & aSettingName
const RMessagePtr2 * aMessage