RCmDestination Class Reference
RCmDestination is for setting/getting values of a network destination.
cmmanager.lib
- Since
- S60 v3.2
Constructor & Destructor Documentation
RCmDestination(const RCmDestination &)
~RCmDestination()
IMPORT_C | ~RCmDestination | ( | ) | |
Member Functions Documentation
AddConnectionMethodL(RCmConnectionMethod)
AddEmbeddedDestinationL(const RCmDestination &)
ConnectionMethodByIDL(TInt)
Returns the connection method with the ECmId. Leaves with KErrNotFound if not found.
Parameters
TInt aCmId | unique id of the requested connection method. |
ConnectionMethodCount()
IMPORT_C TInt | ConnectionMethodCount | ( | ) | const |
Returns the number of connection methods of the destination
ConnectionMethodL(TInt)
Returns a reference to the connection method. The index must be less than the return value of ConnectionMethodCount().
CreateConnectionMethodL(TUint32)
Create a connection method that belongs to this destination.
CreateConnectionMethodL(TUint32, TUint32)
Create a connection method with given id that belongs to this destination.
DeleteConnectionMethodL(RCmConnectionMethod &)
Remove a connection method from a destination and delete it on update. Exception: conenction method is not deleted if it's referenced from any other destination.
DeleteLD()
Delete destination and its connection methods from CommsDat. Connection methods that belong to other destination, too, are not deleted.
ElementId()
Returns the destination's ElementId attribute
IconL()
Returns the Icon pointer This function leaves if the client does not have a valid UI context
Id()
Returns the destination's Id attribute
IsConnectedL()
IMPORT_C TBool | IsConnectedL | ( | ) | const |
Returns if there's a connection created with any of the destination's connection method.
IsHidden()
IMPORT_C TBool | IsHidden | ( | ) | const |
Returns whether the destination is hidden or not.
MetadataL(CMManager::TSnapMetadataField)
ModifyPriorityL(RCmConnectionMethod &, TUint)
Set the connection method's priority based on the passed index.
Parameters
RCmConnectionMethod & aCCMItem | the connection method item |
TUint aIndex | the new priority of the connection method in the destination |
NameLC()
IMPORT_C HBufC * | NameLC | ( | ) | const |
Returns the destination's Name attribute HBuf ownership is passed to the caller
PriorityL(const RCmConnectionMethod &)
Return the priority of the passed connection method
ProtectionLevel()
Return the protection level of the destination.
RemoveConnectionMethodL(RCmConnectionMethod)
Remove connection method from the destination
SetHiddenL(TBool)
IMPORT_C void | SetHiddenL | ( | TBool | aHidden | ) | |
Set if the destination is hidden or not.
Parameters
TBool aHidden | - ETrue if destination is hidden |
SetIconL(TUint32)
IMPORT_C void | SetIconL | ( | TUint32 | anIndex | ) | |
Set the destination's icon index. This fucton leaves if the client does not have a valid UI context
SetMetadataL(CMManager::TSnapMetadataField, TUint32)
SetNameL(const TDesC &)
IMPORT_C void | SetNameL | ( | const TDesC & | aName | ) | |
Set the destination's name
SetProtectionL(CMManager::TProtectionLevel)
Set the protection level of the destination.
UpdateL()
Update all values of the destination and its connection method. Nothing if stored, if update leaves due to any reason.
operator!=(const RCmDestination &)
checks if destinations are not the same
operator=(const RCmDestination &)
operator==(const RCmDestination &)
checks if destinations are the same
Member Data Documentation
CCmDestinationData * iDestinatonData
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.