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

Default constructor.

RCmConnectionMethod(const RCmConnectionMethod &)

IMPORT_CRCmConnectionMethod(const RCmConnectionMethod &aItem)

Copy constructor.

Parameters

const RCmConnectionMethod & aItem

~RCmConnectionMethod()

IMPORT_C~RCmConnectionMethod()

Destructor.

Member Functions Documentation

Close()

IMPORT_C voidClose()

Close the session

Since
S60 3.2

CreateCopyL()

IMPORT_C RCmConnectionMethodCreateCopyL()

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

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

Since
S60 3.2

GetBoolAttributeL(TUint32)

IMPORT_C TBoolGetBoolAttributeL(TUint32aAttribute)const

Gets the value for a TBool attribute.

Since
S60 3.2

Parameters

TUint32 aAttributeIdentifies the attribute to be retrieved.

GetIntAttributeL(TUint32)

IMPORT_C TUint32GetIntAttributeL(TUint32aAttribute)const

Gets the value for a TInt attribute.

Since
S60 3.2

Parameters

TUint32 aAttributeIdentifies the attribute to be retrieved.

GetString8AttributeL(const TUint32)

IMPORT_C HBufC8 *GetString8AttributeL(const TUint32aAttribute)const

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

Since
S60 3.2

Parameters

const TUint32 aAttributeIdentifies the attribute to be retrieved.

GetStringAttributeL(TUint32)

IMPORT_C HBufC *GetStringAttributeL(TUint32aAttribute)const

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

Since
S60 3.2

Parameters

TUint32 aAttributeIdentifies the attribute to be retrieved.

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

IMPORT_C TBooloperator!=(RCmConnectionMethod &aConnMethod)const

checks if connection methods are not the same

Since
S60 3.2

Parameters

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

checks if connection methods are the same

Since
S60 3.2

Parameters

RCmConnectionMethod & aConnMethodthe connection method being compared

Member Data Documentation

CCmPluginBaseEng * iImplementation

CCmPluginBaseEng *iImplementation[private]

the implementation class