RCmDestinationExt Class Reference
RCmDestination is for getting/setting values of a network destination. cmmanager.lib
-
Since
-
S60 v3.2
Constructor & Destructor Documentation
RCmDestinationExt()
IMPORT_C
|
RCmDestinationExt
|
(
|
)
|
|
RCmDestinationExt(const RCmDestinationExt &)
~RCmDestinationExt()
IMPORT_C
|
~RCmDestinationExt
|
(
|
)
|
|
Member Functions Documentation
AddConnectionMethodL(RCmConnectionMethodExt)
AddEmbeddedDestinationL(const RCmDestinationExt &)
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
|
(
|
)
|
|
Return the number of connection methods in the destination
ConnectionMethodL(TInt)
Return a reference to the connection method. The index must be less than the return value of
ConnectionMethodCount()
Parameters
TInt
anIndex
|
index of the connection method to be returned
|
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(RCmConnectionMethodExt &)
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()
IMPORT_C void
|
DeleteLD
|
(
|
)
|
|
Delete destination and its connection methods from CommsDat. Connection methods that belong to other destination, too, are not deleted.
ElementId()
Return the destination's ElementId attribute
IconL()
IMPORT_C CGulIcon *
|
IconL
|
(
|
)
|
|
Return the Icon pointer. Ownership is passed. This fucton leaves if the client does not have a valid UI context
Id()
Return the destination's Id attribute
IsConnectedL()
IMPORT_C
TBool
|
IsConnectedL
|
(
|
)
|
const
|
Returns if there's connection created with any of the destination's connection method.
IsHidden()
IMPORT_C
TBool
|
IsHidden
|
(
|
)
|
|
Return that the destination is hidden or not.
MetadataL(CMManager::TSnapMetadataField)
IMPORT_C
TUint32
|
MetadataL
|
(
|
CMManager::TSnapMetadataField
|
aMetaField
|
)
|
const
|
Parameters
CMManager::TSnapMetadataField
aMetaField
|
|
ModifyPriorityL(RCmConnectionMethodExt &, TUint)
Set the connection method's priority based on the passed index. Indexing starts from zero(the highest priority).
NameLC()
IMPORT_C
HBufC
*
|
NameLC
|
(
|
)
|
|
Return the name of the destination. Ownership is passed. HBuf ownership is passed to the caller
PriorityL(const RCmConnectionMethodExt &)
Return the priority of the passed connection method
ProtectionLevel()
IMPORT_C
CMManager::TProtectionLevel
|
ProtectionLevel
|
(
|
)
|
|
Return the protection level of the destination.
RemoveConnectionMethodL(RCmConnectionMethodExt)
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)
IMPORT_C void
|
SetMetadataL
|
(
|
CMManager::TSnapMetadataField
|
aMetaField,
|
|
TUint32
|
aValue
|
|
)
|
|
Parameters
CMManager::TSnapMetadataField
aMetaField
|
field to be modified
|
TUint32
aValue
|
value to be set
|
SetNameL(const TDesC &)
IMPORT_C void
|
SetNameL
|
(
|
const
TDesC
&
|
aName
|
)
|
|
Set the destination's name
SetProtectionL(CMManager::TProtectionLevel)
IMPORT_C void
|
SetProtectionL
|
(
|
CMManager::TProtectionLevel
|
aProtLevel
|
)
|
|
Set the protection level of the destination.
Parameters
CMManager::TProtectionLevel
aProtLevel
|
new protection level
|
UpdateL()
IMPORT_C void
|
UpdateL
|
(
|
)
|
|
Update all values of the destination and its connection method. Nothing if stored, if update leaves due to any reason.
operator!=(const RCmDestinationExt &)
Compares whether two objects content is different.
operator=(const RCmDestinationExt &)
operator==(const RCmDestinationExt &)
Compares whether two objects content is the same.
Member Data Documentation
CCmDestinationData * iDestinatonData
CCmDestinationData *
|
iDestinatonData
|
[private]
|
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.