#include <mw/cmconnectionmethod.h>
class RCmConnectionMethod |
Public Member Functions | |
---|---|
RCmConnectionMethod() | |
RCmConnectionMethod(const RCmConnectionMethod &) | |
~RCmConnectionMethod() | |
IMPORT_C void | Close() |
IMPORT_C RCmConnectionMethod | CreateCopyL() |
IMPORT_C TBool | DeleteL() |
IMPORT_C RCmDestination | DestinationL() |
IMPORT_C TBool | GetBoolAttributeL(TUint32) |
IMPORT_C TUint32 | GetIntAttributeL(TUint32) |
IMPORT_C HBufC8 * | GetString8AttributeL(const TUint32) |
IMPORT_C HBufC * | GetStringAttributeL(TUint32) |
IMPORT_C void | SetBoolAttributeL(TUint32, TBool) |
IMPORT_C void | SetIntAttributeL(TUint32, TUint32) |
IMPORT_C void | SetString8AttributeL(TUint32, const TDesC8 &) |
IMPORT_C void | SetStringAttributeL(TUint32, const TDesC16 &) |
IMPORT_C void | UpdateL() |
IMPORT_C TBool | operator!=(RCmConnectionMethod &) |
IMPORT_C RCmConnectionMethod & | operator=(const RCmConnectionMethod &) |
IMPORT_C TBool | operator==(RCmConnectionMethod &) |
IMPORT_C | RCmConnectionMethod | ( | const RCmConnectionMethod & | aItem | ) |
Copy constructor.
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.
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.
Returns: ETrue if connection method deleted.
IMPORT_C RCmDestination | DestinationL | ( | ) | const |
Call this function only if this CM is an embedded destination!
Returns: embedded destination
IMPORT_C TBool | operator!= | ( | RCmConnectionMethod & | aConnMethod | ) | const |
checks if connection methods are not the same
Parameter | Description |
---|---|
aConnMethod | the connection method being compared |
Returns: ETrue if the destinations are different
IMPORT_C RCmConnectionMethod & | operator= | ( | const RCmConnectionMethod & | aConnMethod | ) |
assignment operator
Returns: RCmConnectionMethod
IMPORT_C TBool | operator== | ( | RCmConnectionMethod & | aConnMethod | ) | const |
checks if connection methods are the same
Parameter | Description |
---|---|
aConnMethod | the connection method being compared |
Returns: ETrue if the destinations are the same