RCmManager Class Reference
RCmManager gives access to network destinations and connection methods.
cmmanager.lib
- Since
- S60 v3.2
Public Member Functions |
---|
| RCmManager() |
IMPORT_C void | AllDestinationsL(RArray< TUint32 > &) |
IMPORT_C void | BearerPriorityArrayL(RArray< TBearerPriority > &) |
IMPORT_C void | CleanupGlobalPriorityArray(RArray< TBearerPriority > &) |
IMPORT_C void | Close() |
IMPORT_C RCmConnectionMethod | ConnectionMethodL(TUint32) |
IMPORT_C void | ConnectionMethodL(RArray< TUint32 > &, TBool, TBool, TBool) |
IMPORT_C TInt | CopyConnectionMethodL(RCmDestination &, RCmConnectionMethod &) |
IMPORT_C RCmConnectionMethod | CreateConnectionMethodL(TUint32) |
IMPORT_C RCmConnectionMethod | CreateConnectionMethodL(TUint32, TUint32) |
IMPORT_C RCmDestination | CreateDestinationL(const TDesC &) |
IMPORT_C RCmDestination | CreateDestinationL(const TDesC &, TUint32) |
IMPORT_C void | CreateTablesAndOpenL() |
IMPORT_C RCmDestination | DestinationL(TUint32) |
IMPORT_C TUint32 | EasyWlanIdL() |
IMPORT_C TBool | GetBearerInfoBoolL(TUint32, TUint32) |
IMPORT_C TUint32 | GetBearerInfoIntL(TUint32, TUint32) |
IMPORT_C HBufC8 * | GetBearerInfoString8L(TUint32, TUint32) |
IMPORT_C HBufC * | GetBearerInfoStringL(TUint32, TUint32) |
IMPORT_C TBool | GetConnectionMethodInfoBoolL(TUint32, TUint32) |
IMPORT_C TUint32 | GetConnectionMethodInfoIntL(TUint32, TUint32) |
IMPORT_C HBufC8 * | GetConnectionMethodInfoString8L(TUint32, TUint32) |
IMPORT_C HBufC * | GetConnectionMethodInfoStringL(TUint32, TUint32) |
IMPORT_C TInt | MoveConnectionMethodL(RCmDestination &, RCmDestination &, RCmConnectionMethod &) |
IMPORT_C void | OpenL() |
IMPORT_C void | OpenLC() |
IMPORT_C void | ReadDefConnL(TCmDefConnValue &) |
IMPORT_C void | ReadGenConnSettingsL(TCmGenConnSettings &) |
IMPORT_C void | RemoveAllReferencesL(RCmConnectionMethod &) |
IMPORT_C void | RemoveConnectionMethodL(RCmDestination &, RCmConnectionMethod &) |
IMPORT_C void | SupportedBearersL(RArray< TUint32 > &) |
IMPORT_C CGulIcon * | UncategorizedIconL() |
IMPORT_C void | UpdateBearerPriorityArrayL(const RArray< TBearerPriority > &) |
IMPORT_C void | WriteDefConnL(const TCmDefConnValue &) |
IMPORT_C void | WriteGenConnSettingsL(const TCmGenConnSettings &) |
Constructor & Destructor Documentation
RCmManager(RCmManager &)
This is a private copy constructor without implementation. The sole purpose of this declaration is to forbid the copying of the objects of this class.
Member Functions Documentation
AllDestinationsL(RArray< TUint32 > &)
IMPORT_C void | AllDestinationsL | ( | RArray< TUint32 > & | aDestArray | ) | const |
Returns an array of all destination id's
Parameters
RArray< TUint32 > & aDestArray | list all available destinations' id |
BearerPriorityArrayL(RArray< TBearerPriority > &)
Returns the copy of the bearer priority array. Ownership is passed.
CleanupGlobalPriorityArray(RArray< TBearerPriority > &)
Clean up passed global bearer priority array. Delete the elements and calls Reset and Close on the array.
ConnectionMethodL(TUint32)
Returns the connection method queried by its ID
Parameters
TUint32 aConnectionMethodId | id of the connection method |
ConnectionMethodL(RArray< TUint32 > &, TBool, TBool, TBool)
IMPORT_C void | ConnectionMethodL | ( | RArray< TUint32 > & | aCMArray, |
| TBool | aCheckBearerType = ETrue, |
| TBool | aLegacyOnly = ETrue, |
| TBool | aEasyWlan = EFalse |
| ) | const |
Returns the list of connection methods. Connection Methods are filtered by the switch parameters e.g. aLegacyOnly.
Parameters
RArray< TUint32 > & aCMArray | on return it is the array of IAP ids. |
TBool aCheckBearerType = ETrue | If ETrue only connection methods with supported bearer type are returned |
TBool aLegacyOnly = ETrue | when set to ETrue only Legacy IAP ids will be returned |
TBool aEasyWlan = EFalse | when set to ETrue EasyWlan id is returned, too |
CopyConnectionMethodL(RCmDestination &, RCmConnectionMethod &)
Copies a connection method belonging to one destination to another. The connection method becomes shared. Calls UpdateL on the destination
CreateConnectionMethodL(TUint32)
Creates a connection method does not belong to any destination
CreateConnectionMethodL(TUint32, TUint32)
Creates a connection method does not belong to any destination
Parameters
TUint32 aImplementationUid | - bearer type of the new connection method |
TUint32 aConnMethodId | Predefined id for the connection method. |
CreateDestinationL(const TDesC &)
Creates a Destination with the passed name.
Parameters
const TDesC & aName | the name of the new destination. |
CreateDestinationL(const TDesC &, TUint32)
Creates a Destination with the passed name and id.
Parameters
const TDesC & aName | the name of the new destination. |
TUint32 aDestId | Predefined id of the destination. |
CreateTablesAndOpenL()
IMPORT_C void | CreateTablesAndOpenL | ( | ) | |
Open session and create tables if they don't exist
DestinationL(TUint32)
Returns the destination to which a specified connection method belongs, search is by destination ID
Parameters
TUint32 aDestinationId | id of destination |
EasyWlanIdL()
Returns the id of the EasyWlan connection method.
GetBearerInfoBoolL(TUint32, TUint32)
Used to query bearer information that doesn't belong to a specific connection method, such as ECmCoverage or ECmDefaultPriority etc.
GetBearerInfoIntL(TUint32, TUint32)
Used to query bearer information that doesn't belong to a specific connection method, such as ECmCoverage or ECmDefaultPriority etc.
GetBearerInfoString8L(TUint32, TUint32)
Used to query bearer information that does not belong to a specific connection method, such as ECmCoverage or ECmDefaultPriority, etc. HBuf ownership is passed to the caller
GetBearerInfoStringL(TUint32, TUint32)
Used to query bearer information that doesn't belong to a specific connection method, such as ECmCoverage or ECmDefaultPriority etc. HBuf ownership is passed to the caller
GetConnectionMethodInfoBoolL(TUint32, TUint32)
Used to query any, non-bearer specific information about a given connection method. This can be e.g. ECmBearerType, ECmName, ECmStartPage, etc.
Parameters
TUint32 aIapId | the connection method id |
TUint32 aAttribute | the setting value |
GetConnectionMethodInfoIntL(TUint32, TUint32)
Used to query any non-bearer specific information about a given connection method. This can be e.g. ECmBearerType, ECmName, ECmStartPage, etc.
Parameters
TUint32 aIapId | the connection method id |
TUint32 aAttribute | the setting value |
GetConnectionMethodInfoString8L(TUint32, TUint32)
Used to query any non-bearer specific information about a given connection method. This can be e.g. ECmBearerType, ECmName, ECmStartPage, etc. HBuf ownership is passed to the caller
Parameters
TUint32 aIapId | the connection method id |
TUint32 aAttribute | the setting value |
GetConnectionMethodInfoStringL(TUint32, TUint32)
Used to query any non-bearer specific information about a given connection method. This can be e.g. ECmBearerType, ECmName, ECmStartPage, etc. HBuf ownership is passed to the caller
Parameters
TUint32 aIapId | the connection method id |
TUint32 aAttribute | the setting value |
MoveConnectionMethodL(RCmDestination &, RCmDestination &, RCmConnectionMethod &)
Moves a connection method belonging to one destination to another. The connection method is removed from the source destination
OpenLC()
Symbian constructor Pushes the object on the cleanup stack
ReadDefConnL(TCmDefConnValue &)
Returns the default connection method/SNAP.
ReadGenConnSettingsL(TCmGenConnSettings &)
Returns the general connection settings.
RemoveAllReferencesL(RCmConnectionMethod &)
Removes connection method from every destination and make it uncategorized.
RemoveConnectionMethodL(RCmDestination &, RCmConnectionMethod &)
Remove connection method from the destination
SupportedBearersL(RArray< TUint32 > &)
Query all of the supported bearer types.
UncategorizedIconL()
IMPORT_C CGulIcon * | UncategorizedIconL | ( | ) | const |
Returns "Uncategorized" icon. This fucton leaves if the client does not have a valid UI context
UpdateBearerPriorityArrayL(const RArray< TBearerPriority > &)
Update bearer priority array
WriteDefConnL(const TCmDefConnValue &)
Stores the default connection method/SNAP.
WriteGenConnSettingsL(const TCmGenConnSettings &)
Writes the general connection settings.
operator=(RCmManager &)
This is a private copy constructor without implementation. The sole purpose of this declaration is to forbid the copying of the objects of this class.
Member Data Documentation
CCmManagerImpl * iImplementation
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.