RCmConnectionMethodExt Class Reference

class RCmConnectionMethodExt
RCmConnectionMethodExt is for getting/setting values of a connection method. Use RCmManagerExt or RCmDestinationExt classes to query a connection method. cmmanager.lib
Since
S60 v3.2

Constructor & Destructor Documentation

RCmConnectionMethodExt()

IMPORT_C RCmConnectionMethodExt ( )

Default constructor.

RCmConnectionMethodExt(const RCmConnectionMethodExt &)

IMPORT_C RCmConnectionMethodExt ( const RCmConnectionMethodExt & aItem )

Copy constructor.

Parameters

const RCmConnectionMethodExt & aItem

~RCmConnectionMethodExt()

IMPORT_C ~RCmConnectionMethodExt ( )

Destructor.

Member Functions Documentation

Close()

IMPORT_C void Close ( )

Close the session.

CreateCopyL()

IMPORT_C RCmConnectionMethodExt CreateCopyL ( )

Creates a copy of this connection method. UpdateL() has to be called to store new connection method in database. Copy is put to the Uncategorized destination. The 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 RCmDestinationExt DestinationL ( ) const

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

GetBoolAttributeL(TUint32)

IMPORT_C TBool GetBoolAttributeL ( TUint32 aAttribute ) const

Gets the value for a TBool attribute.

Parameters

TUint32 aAttribute Identifies the attribute to be retrived.

GetIntAttributeL(TUint32)

IMPORT_C TUint32 GetIntAttributeL ( TUint32 aAttribute ) const

Gets the value for a TInt attribute.

Parameters

TUint32 aAttribute Identifies the attribute to be retrived.

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

Parameters

const TUint32 aAttribute Identifies the attribute to be retrived.

GetStringAttributeL(TUint32)

IMPORT_C HBufC * GetStringAttributeL ( TUint32 aAttribute ) const

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

Parameters

TUint32 aAttribute Identifies the attribute to be retrived.

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!=(RCmConnectionMethodExt &)

IMPORT_C TBool operator!= ( RCmConnectionMethodExt & aConnMethod ) const

checks if connection methods are not the same

Since
S60 3.2

Parameters

RCmConnectionMethodExt & aConnMethod the connection method being compared

operator=(const RCmConnectionMethodExt &)

IMPORT_C RCmConnectionMethodExt & operator= ( const RCmConnectionMethodExt & aConnMethod )

assignment operator

Since
S60 3.2

Parameters

const RCmConnectionMethodExt & aConnMethod

operator==(RCmConnectionMethodExt &)

IMPORT_C TBool operator== ( RCmConnectionMethodExt & aConnMethod ) const

checks if connection methods are the same

Since
S60 3.2

Parameters

RCmConnectionMethodExt & aConnMethod the connection method being compared

Member Data Documentation

CCmPluginBaseEng * iImplementation

CCmPluginBaseEng * iImplementation [private]