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_C CConnectionSettings ( )

Member Functions Documentation

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

void DoGetBoolSettingL ( 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 & aSettingName Field name
TBool & aValue Reference to a boolean that will contain the value on call success
const RMessagePtr2 * aMessage RMessage pointer required for secure session communication

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

void DoGetDes16SettingL ( 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 & aSettingName Field name
TDes16 & aValue Reference to a string that will contain the value on call success
const RMessagePtr2 * aMessage RMessage pointer required for secure session communication

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

void DoGetDes8SettingL ( 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 & aSettingName Field name
TDes8 & aValue Reference to a string that will contain the value on call success
const RMessagePtr2 * aMessage RMessage pointer required for secure session communication

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

void DoGetIntSettingL ( 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 & aSettingName Field name
TUint32 & aValue Reference to a TUint32 that will contain the value on call success
const RMessagePtr2 * aMessage RMessage 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 & aSettingName Field name
const RMessagePtr2 * aMessage RMessage pointer required for secure session communication

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

IMPORT_C void GetBoolSettingL ( 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 void GetDes16SettingL ( 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 void GetDes8SettingL ( 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 void GetIntSettingL ( 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