»
Symbian OS v9.3 »
Symbian OS reference »
C++ component reference »
Communications Infrastructure COMMDB_SHIM »
TCommDbConnPref
Location:
CommDbConnPref.h
Link against: commdb.lib
class TCommDbConnPref : public TConnPref;
Description
Derivation
TBuf8< KMaxConnPrefSize > - No description.
TConnPref - Overrides the connection preferences
TCommDbConnPref - (No abstract)
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
IMPORT_C TCommDbConnPref();
Description
Constructor
static IMPORT_C TVersion Version();
Description
Returns the version number of this class
Return value
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
|
|
IMPORT_C TUint32 IapId() const;
Description
Retrieves the CommDb ID of the IAP to use in this connection
Return value
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
|
|
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
|
|
IMPORT_C void SetDialogPreference(TCommDbDialogPref aDialogPref);
Description
Sets the dialog preference to use in this connection
Parameters
IMPORT_C TCommDbDialogPref DialogPreference() const;
Description
Retrieves the dialog preference to use in this connection
Return value
IMPORT_C void SetDirection(TCommDbConnectionDirection aDirection);
Description
Sets the connection direction
Parameters
IMPORT_C TCommDbConnectionDirection Direction() const;
Description
Retrieves the connection direction
Return value
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
|
|
IMPORT_C TUint32 BearerSet() const;
Description
Retrieves the bearer set applicable for the connection
Return value
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
Return value
TInt
|
The measure of the differences between the preferences
|
|
inline TBool operator==(const TCommDbConnPref &aPref) const;
Description
Overloaded function for operator "=="
Parameters
Return value
TBool
|
ETrue if Successful if both the objects are equal else EFalse
|
|
inline TBool operator!=(const TCommDbConnPref &aPref) const;
Description
Overloaded function for operator "!="
Parameters
Return value
TBool
|
Etrue if Successful if the objects are not equal else EFalse
|
|
static inline TCommDbConnPref &Cast(const TConnPref &aPref);
Description
Casts the TConnPref object to TCommDbConnPref
Parameters
const TConnPref &aPref |
Connection preferences.
|
|
Return value
protected: inline SCommDbConnPref *PrefPtr() const;
Description
Return value