API published in: S60 3rd Ed FP 2
Link against: cmmanager.lib
Required Capabilities
None
Exceptions
Reading 'private' user data such as user names or passwords: ReadDeviceData
#include <cmdestination.h>
Public Member Functions |
|
IMPORT_C | RCmDestination () |
Default constructor. |
|
IMPORT_C | ~RCmDestination () |
IMPORT_C | RCmDestination (const RCmDestination &aCmDestination) |
IMPORT_C void | Close () |
Close the session. |
|
IMPORT_C TInt | ConnectionMethodCount () const |
Returns the number of connection methods of the destination. |
|
IMPORT_C RCmConnectionMethod | ConnectionMethodL (TInt anIndex) const |
Returns a reference to the connection method. |
|
IMPORT_C RCmConnectionMethod | ConnectionMethodByIDL (TInt aCmId) const |
Returns the connection method with the ECmId. |
|
IMPORT_C TUint | PriorityL (const RCmConnectionMethod &aCCMItem) const |
Return the priority of the passed connection method. |
|
IMPORT_C HBufC * | NameLC () const |
Returns the destination's Name attribute HBuf ownership is passed to the caller. |
|
IMPORT_C TUint32 | Id () const |
Returns the destination's Id attribute. |
|
IMPORT_C TUint32 | ElementId () const |
Returns the destination's ElementId attribute. |
|
IMPORT_C CGulIcon * | IconL () const |
Returns the Icon pointer This function leaves if the client does not have a valid UI context. |
|
IMPORT_C TUint32 | MetadataL (CMManager::TSnapMetadataField aMetaField) const |
Returns the Metadata. |
|
IMPORT_C CMManager::TProtectionLevel | ProtectionLevel () const |
Return the protection level of the destination. |
|
IMPORT_C TBool | IsConnectedL () const |
Returns if there's a connection created with any of the destination's connection method. |
|
IMPORT_C TBool | IsHidden () const |
Returns whether the destination is hidden or not. |
|
IMPORT_C TBool | operator== (const RCmDestination &aDestination) const |
checks if destinations are the same |
|
IMPORT_C TBool | operator!= (const RCmDestination &aDestination) const |
checks if destinations are not the same |
|
IMPORT_C RCmDestination & | operator= (const RCmDestination &aCmDestination) |
assignment operator |
|
Friends |
|
class | RCmManager |
class | RCmConnectionMethod |
|
Default constructor. |
|
|
|
Close the session. |
|
Returns the connection method with the ECmId. Leaves with KErrNotFound if not found.
|
|
Returns the number of connection methods of the destination.
|
|
Returns a reference to the connection method. The index must be less than the return value of ConnectionMethodCount().
|
|
Returns the destination's ElementId attribute.
|
|
Returns the Icon pointer This function leaves if the client does not have a valid UI context.
|
|
Returns the destination's Id attribute.
|
|
Returns if there's a connection created with any of the destination's connection method.
|
|
Returns whether the destination is hidden or not.
|
|
Returns the Metadata.
|
|
Returns the destination's Name attribute HBuf ownership is passed to the caller.
|
|
checks if destinations are not the same
|
|
assignment operator
|
|
checks if destinations are the same
|
|
Return the priority of the passed connection method.
|
|
Return the protection level of the destination.
|
|
|