Symbian
Symbian OS Library

SYMBIAN OS V9.3

[Index] [Spacer] [Previous] [Next]



Location: CommDbConnPref.h
Link against: commdb.lib

Class TCommDbMultiConnPref

class TCommDbMultiConnPref : public TConnPref;

Description

Derivation

Members

Defined in TCommDbMultiConnPref:
Cast(), GetPreference(), PrefPtr(), SetConnectionAttempts(), SetPreference(), TCommDbMultiConnPref(), Version()

Inherited from TConnPref:
EConnPrefCommDb, EConnPrefCommDbMulti, EConnPrefIdList, EConnPrefSip, EConnPrefSnap, EConnPrefUnknown, ExtensionId(), GetUserLen(), SetExtensionId(), SetUserLen(), UserPtr(), anonymous


Construction and destruction


TCommDbMultiConnPref()

IMPORT_C TCommDbMultiConnPref();

Description

Constructor

[Top]


Member functions


Version()

static IMPORT_C TVersion Version();

Description

Returns the version number of this class

Return value

TVersion

The version information.


SetPreference()

IMPORT_C TInt SetPreference(TInt aIndex, const TCommDbConnPref &aPref);

Description

Sets a connection preference to the array

Parameters

TInt aIndex

Index of the array

const TCommDbConnPref &aPref

Connection preference settings

Return value

TInt

KErrNone if successful else KErrArgument


GetPreference()

IMPORT_C TInt GetPreference(TInt aIndex, TCommDbConnPref &aPref);

Description

Retrieves a connection preference from the array

Parameters

TInt aIndex

Index of the array

TCommDbConnPref &aPref

On return, the connection preferences

Return value

TInt

KErrNone if successful else KErrArgument


SetConnectionAttempts()

IMPORT_C void SetConnectionAttempts(TInt aNumAttempts);

Description

Sets the number of times to attempt the connection

Parameters

TInt aNumAttempts

Number of attempts to be made for a connection


Cast()

static inline TCommDbMultiConnPref &Cast(const TConnPref &aPref);

Description

Casts the TConnPref object to TCommDbMultiConnPref

Parameters

const TConnPref &aPref

Connection preferences.

Return value

TCommDbMultiConnPref &

Reference to TCommDbMultiConnPref


PrefPtr()

protected: inline SCommDbMultiConnPref *PrefPtr() const;

Description

Return value

SCommDbMultiConnPref *