Symbian
Symbian OS Library

SYMBIAN OS V9.3

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



Location: CommDbConnPref.h
Link against: commdb.lib

Class TCommDbConnPref

class TCommDbConnPref : public TConnPref;

Description

Derivation

Members

Defined in TCommDbConnPref:
BearerSet(), Cast(), Compare(), DialogPreference(), Direction(), IapId(), NetId(), PrefPtr(), SetBearerSet(), SetDialogPreference(), SetDirection(), SetIapId(), SetNetId(), TCommDbConnPref(), Version(), operator!=(), operator==()

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


Construction and destruction


TCommDbConnPref()

IMPORT_C TCommDbConnPref();

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.


SetIapId()

IMPORT_C void SetIapId(TUint32 aIapId);

Description

Sets the CommDb ID of the IAP to use for this connection

Parameters

TUint32 aIapId

The IAP Id to be set


IapId()

IMPORT_C TUint32 IapId() const;

Description

Retrieves the CommDb ID of the IAP to use in this connection

Return value

TUint32

CommDb ID of the IAP


SetNetId()

IMPORT_C void SetNetId(TUint32 aNetId);

Description

Sets the CommDb ID of the Network Id to use in this connection

Parameters

TUint32 aNetId

Network Id to use in this connection


NetId()

IMPORT_C TUint32 NetId() const;

Description

Retrieves the CommDb ID of the Network Id to use in this connection

Return value

TUint32

CommDb ID of the Network Id to use in this connection


SetDialogPreference()

IMPORT_C void SetDialogPreference(TCommDbDialogPref aDialogPref);

Description

Sets the dialog preference to use in this connection

Parameters

TCommDbDialogPref aDialogPref

Dialog preference to use in this connection


DialogPreference()

IMPORT_C TCommDbDialogPref DialogPreference() const;

Description

Retrieves the dialog preference to use in this connection

Return value

TCommDbDialogPref

Dialog preference


SetDirection()

IMPORT_C void SetDirection(TCommDbConnectionDirection aDirection);

Description

Sets the connection direction

Parameters

TCommDbConnectionDirection aDirection

Connection direction


Direction()

IMPORT_C TCommDbConnectionDirection Direction() const;

Description

Retrieves the connection direction

Return value

TCommDbConnectionDirection

Connection direction


SetBearerSet()

IMPORT_C void SetBearerSet(TUint32 aBearerSet);

Description

Sets the bearer set applicable for the connection

Parameters

TUint32 aBearerSet

The bearer set applicable for the connection


BearerSet()

IMPORT_C TUint32 BearerSet() const;

Description

Retrieves the bearer set applicable for the connection

Return value

TUint32

The bearer set


Compare()

virtual IMPORT_C TInt Compare(const TCommDbConnPref &aPref) const;

Description

Compares two sets of connection preferences The returned value gives a measure of the differences between the preferences If either value has not been set then the comparison is not made

Parameters

const TCommDbConnPref &aPref

The connection preferences to compare

Return value

TInt

The measure of the differences between the preferences


operator==()

inline TBool operator==(const TCommDbConnPref &aPref) const;

Description

Overloaded function for operator "=="

Parameters

const TCommDbConnPref &aPref

Reference to the class TCommDbConnPref

Return value

TBool

ETrue if Successful if both the objects are equal else EFalse


operator!=()

inline TBool operator!=(const TCommDbConnPref &aPref) const;

Description

Overloaded function for operator "!="

Parameters

const TCommDbConnPref &aPref

Reference to the class TCommDbConnPref

Return value

TBool

Etrue if Successful if the objects are not equal else EFalse


Cast()

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

Description

Casts the TConnPref object to TCommDbConnPref

Parameters

const TConnPref &aPref

Connection preferences.

Return value

TCommDbConnPref &

Reference to TCommDbConnPref


PrefPtr()

protected: inline SCommDbConnPref *PrefPtr() const;

Description

Return value

SCommDbConnPref *