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_CRCmConnectionMethodExt()

Default constructor.

RCmConnectionMethodExt(const RCmConnectionMethodExt &)

IMPORT_CRCmConnectionMethodExt(const RCmConnectionMethodExt &aItem)

Copy constructor.

Parameters

const RCmConnectionMethodExt & aItem

~RCmConnectionMethodExt()

IMPORT_C~RCmConnectionMethodExt()

Destructor.

Member Functions Documentation

Close()

IMPORT_C voidClose()

Close the session.

CreateCopyL()

IMPORT_C RCmConnectionMethodExtCreateCopyL()

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 TBoolDeleteL()

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 RCmDestinationExtDestinationL()const

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

GetBoolAttributeL(TUint32)

IMPORT_C TBoolGetBoolAttributeL(TUint32aAttribute)const

Gets the value for a TBool attribute.

Parameters

TUint32 aAttributeIdentifies the attribute to be retrived.

GetIntAttributeL(TUint32)

IMPORT_C TUint32GetIntAttributeL(TUint32aAttribute)const

Gets the value for a TInt attribute.

Parameters

TUint32 aAttributeIdentifies the attribute to be retrived.

GetString8AttributeL(const TUint32)

IMPORT_C HBufC8 *GetString8AttributeL(const TUint32aAttribute)const

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

Parameters

const TUint32 aAttributeIdentifies the attribute to be retrived.

GetStringAttributeL(TUint32)

IMPORT_C HBufC *GetStringAttributeL(TUint32aAttribute)const

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

Parameters

TUint32 aAttributeIdentifies the attribute to be retrived.

SetBoolAttributeL(TUint32, TBool)

IMPORT_C voidSetBoolAttributeL(TUint32aAttribute,
TBoolaValue
)

Sets the value for a TBool attribute.

Parameters

TUint32 aAttributeIdentifies the attribute to be set.
TBool aValueThe value to be set.

SetIntAttributeL(TUint32, TUint32)

IMPORT_C voidSetIntAttributeL(TUint32aAttribute,
TUint32aValue
)

Sets the value for a TInt attribute.

Parameters

TUint32 aAttributeIdentifies the attribute to be set.
TUint32 aValueThe value to be set.

SetString8AttributeL(TUint32, const TDesC8 &)

IMPORT_C voidSetString8AttributeL(TUint32aAttribute,
const TDesC8 &aValue
)

Sets the value for a String8 attribute.

Parameters

TUint32 aAttributeIdentifies the attribute to be set.
const TDesC8 & aValueThe value to be set.

SetStringAttributeL(TUint32, const TDesC16 &)

IMPORT_C voidSetStringAttributeL(TUint32aAttribute,
const TDesC16 &aValue
)

Sets the value for a String16 attribute.

Parameters

TUint32 aAttributeIdentifies the attribute to be set.
const TDesC16 & aValueThe value to be set.

UpdateL()

IMPORT_C voidUpdateL()

Update in the database.

operator!=(RCmConnectionMethodExt &)

IMPORT_C TBooloperator!=(RCmConnectionMethodExt &aConnMethod)const

checks if connection methods are not the same

Since
S60 3.2

Parameters

RCmConnectionMethodExt & aConnMethodthe 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 TBooloperator==(RCmConnectionMethodExt &aConnMethod)const

checks if connection methods are the same

Since
S60 3.2

Parameters

RCmConnectionMethodExt & aConnMethodthe connection method being compared

Member Data Documentation

CCmPluginBaseEng * iImplementation

CCmPluginBaseEng *iImplementation[private]