#include <comms-infras/ss_connsettings.h>
| class CConnectionSettings : public CBase, public CBase |
| Public Member Functions | |
|---|---|
| CConnectionSettings() | |
| IMPORT_C void | GetBoolSettingL(const TDesC &, TBool &, const RMessagePtr2 *) |
| IMPORT_C void | GetDes16SettingL(const TDesC &, TDes16 &, const RMessagePtr2 *) |
| IMPORT_C void | GetDes8SettingL(const TDesC &, TDes8 &, const RMessagePtr2 *) |
| IMPORT_C void | GetIntSettingL(const TDesC &, TUint32 &, const RMessagePtr2 *) |
| IMPORT_C HBufC * | GetLongDesSettingLC(const TDesC &, const RMessagePtr2 *) |
| Protected Member Functions | |
|---|---|
| pure virtual void | DoGetBoolSettingL(const TDesC &, TBool &, const RMessagePtr2 *) |
| pure virtual void | DoGetDes16SettingL(const TDesC &, TDes16 &, const RMessagePtr2 *) |
| pure virtual void | DoGetDes8SettingL(const TDesC &, TDes8 &, const RMessagePtr2 *) |
| pure virtual void | DoGetIntSettingL(const TDesC &, TUint32 &, const RMessagePtr2 *) |
| pure virtual HBufC * | DoGetLongDesSettingLC(const TDesC &, const RMessagePtr2 *) |
Base class that any client wishing to access underlying comms database settings Since 9.1
See also: CConnectionProvider
| 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 | |
|---|---|
| aSettingName | Field name |
| aValue | Reference to a boolean that will contain the value on call success |
| aMessage | RMessage pointer required for secure session communication |
| 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 | |
|---|---|
| aSettingName | Field name |
| aValue | Reference to a string that will contain the value on call success |
| aMessage | RMessage pointer required for secure session communication |
| 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 | |
|---|---|
| aSettingName | Field name |
| aValue | Reference to a string that will contain the value on call success |
| aMessage | RMessage pointer required for secure session communication |
| 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 | |
|---|---|
| aSettingName | Field name |
| aValue | Reference to a TUint32 that will contain the value on call success |
| aMessage | RMessage pointer required for secure session communication |
| 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 | |
|---|---|
| aSettingName | Field name |
| aMessage | RMessage pointer required for secure session communication |
| IMPORT_C void | GetBoolSettingL | ( | const TDesC & | aSettingName, |
| TBool & | aValue, | |||
| const RMessagePtr2 * | aMessage | |||
| ) | ||||
Retrieve a boolean value from the database with the given field name
| Parameters | |
|---|---|
| aSettingName | Field name |
| aValue | Reference to a boolean that will contain the value on call success |
| aMessage | RMessage pointer required for secure session communication |
| IMPORT_C void | GetDes16SettingL | ( | const TDesC & | aSettingName, |
| TDes16 & | aValue, | |||
| const RMessagePtr2 * | aMessage | |||
| ) | ||||
Retrieve a unicode string value from the database with the given field name
| Parameters | |
|---|---|
| aSettingName | Field name |
| aValue | Reference to a string that will contain the value on call success |
| aMessage | RMessage pointer required for secure session communication |
| IMPORT_C void | GetDes8SettingL | ( | const TDesC & | aSettingName, |
| TDes8 & | aValue, | |||
| const RMessagePtr2 * | aMessage | |||
| ) | ||||
Retrieve a 8-bit string value from the database with the given field name
| Parameters | |
|---|---|
| aSettingName | Field name |
| aValue | Reference to a string that will contain the value on call success |
| aMessage | RMessage pointer required for secure session communication |
| IMPORT_C void | GetIntSettingL | ( | const TDesC & | aSettingName, |
| TUint32 & | aValue, | |||
| const RMessagePtr2 * | aMessage | |||
| ) | ||||
Retrieve a unsigned 32-bit int value from the database with the given field name
| Parameters | |
|---|---|
| aSettingName | Field name |
| aValue | Reference to a TUint32 that will contain the value on call success |
| aMessage | RMessage pointer required for secure session communication |
| IMPORT_C HBufC * | GetLongDesSettingLC | ( | const TDesC & | aSettingName, |
| const RMessagePtr2 * | aMessage | |||
| ) | ||||
Retrieve a string value as a heap allocated buffer from the database with the given field name
| Parameters | |
|---|---|
| aSettingName | Field name |
| aMessage | RMessage pointer required for secure session communication |