RCmConnectionMethod Class Reference

class RCmConnectionMethod
RCmConnectionMethod is for getting/setting values of a connection method. cmmanager.lib
Since
S60 v3.2

Constructor & Destructor Documentation

RCmConnectionMethod()

IMPORT_C RCmConnectionMethod ( )

Default constructor.

RCmConnectionMethod(const RCmConnectionMethod &)

IMPORT_C RCmConnectionMethod ( const RCmConnectionMethod & aItem )

Copy constructor.

Parameters

const RCmConnectionMethod & aItem

~RCmConnectionMethod()

IMPORT_C ~RCmConnectionMethod ( )

Destructor.

Member Functions Documentation

Close()

IMPORT_C void Close ( )

Close the session

Since
S60 3.2

CreateCopyL()

IMPORT_C RCmConnectionMethod CreateCopyL ( )

Creates a copy of this connection method. UpdateL() has to be called to store new connection method in database. Ownership is passed.

DeleteL()

IMPORT_C TBool DeleteL ( )

Try to delete the connection method. If it is referenced from any destination, then the references are removed and the connection method is deleted. Do NOT call this function if you got this connection method from a destination. Call destination's DeleteConnectionMethodL() function instead.

DestinationL()

IMPORT_C RCmDestination DestinationL ( ) const

Call this function only if this CM is an embedded destination!

Since
S60 3.2

GetBoolAttributeL(TUint32)

IMPORT_C TBool GetBoolAttributeL ( TUint32 aAttribute ) const

Gets the value for a TBool attribute.

Since
S60 3.2

Parameters

TUint32 aAttribute Identifies the attribute to be retrieved.

GetIntAttributeL(TUint32)

IMPORT_C TUint32 GetIntAttributeL ( TUint32 aAttribute ) const

Gets the value for a TInt attribute.

Since
S60 3.2

Parameters

TUint32 aAttribute Identifies the attribute to be retrieved.

GetString8AttributeL(const TUint32)

IMPORT_C HBufC8 * GetString8AttributeL ( const TUint32 aAttribute ) const

Gets the value for a String8 attribute. HBuf ownership is passed to the caller

Since
S60 3.2

Parameters

const TUint32 aAttribute Identifies the attribute to be retrieved.

GetStringAttributeL(TUint32)

IMPORT_C HBufC * GetStringAttributeL ( TUint32 aAttribute ) const

Gets the value for a String16 attribute. HBuf ownership is passed to the caller

Since
S60 3.2

Parameters

TUint32 aAttribute Identifies the attribute to be retrieved.

SetBoolAttributeL(TUint32, TBool)

IMPORT_C void SetBoolAttributeL ( TUint32 aAttribute,
TBool aValue
)

Sets the value for a TBool attribute.

Parameters

TUint32 aAttribute Identifies the attribute to be set.
TBool aValue The value to be set.

SetIntAttributeL(TUint32, TUint32)

IMPORT_C void SetIntAttributeL ( TUint32 aAttribute,
TUint32 aValue
)

Sets the value for a TInt attribute.

Parameters

TUint32 aAttribute Identifies the attribute to be set.
TUint32 aValue The value to be set.

SetString8AttributeL(TUint32, const TDesC8 &)

IMPORT_C void SetString8AttributeL ( TUint32 aAttribute,
const TDesC8 & aValue
)

Sets the value for a String8 attribute.

Parameters

TUint32 aAttribute Identifies the attribute to be set.
const TDesC8 & aValue The value to be set.

SetStringAttributeL(TUint32, const TDesC16 &)

IMPORT_C void SetStringAttributeL ( TUint32 aAttribute,
const TDesC16 & aValue
)

Sets the value for a String16 attribute.

Parameters

TUint32 aAttribute Identifies the attribute to be set.
const TDesC16 & aValue The value to be set.

UpdateL()

IMPORT_C void UpdateL ( )

Update in the database.

operator!=(RCmConnectionMethod &)

IMPORT_C TBool operator!= ( RCmConnectionMethod & aConnMethod ) const

checks if connection methods are not the same

Since
S60 3.2

Parameters

RCmConnectionMethod & aConnMethod the connection method being compared

operator=(const RCmConnectionMethod &)

IMPORT_C RCmConnectionMethod & operator= ( const RCmConnectionMethod & aConnMethod )

assignment operator

Since
S60 3.2

Parameters

const RCmConnectionMethod & aConnMethod

operator==(RCmConnectionMethod &)

IMPORT_C TBool operator== ( RCmConnectionMethod & aConnMethod ) const

checks if connection methods are the same

Since
S60 3.2

Parameters

RCmConnectionMethod & aConnMethod the connection method being compared

Member Data Documentation

CCmPluginBaseEng * iImplementation

CCmPluginBaseEng * iImplementation [private]

the implementation class