RCmManagerExt Class Reference
RCmManager is used to query and modify network destinations and connection methods.
cmmanager.lib
- Since
- S60 v3.2
Public Member Functions |
---|
| RCmManagerExt() |
IMPORT_C void | AllDestinationsL(RArray< TUint32 > &) |
IMPORT_C void | BearerPriorityArrayL(RArray< TBearerPriority > &) |
IMPORT_C void | CleanupGlobalPriorityArray(RArray< TBearerPriority > &) |
IMPORT_C void | Close() |
IMPORT_C RCmConnectionMethodExt | ConnectionMethodL(TUint32) |
IMPORT_C void | ConnectionMethodL(RArray< TUint32 > &, TBool, TBool, TBool) |
IMPORT_C TInt | CopyConnectionMethodL(RCmDestinationExt &, RCmConnectionMethodExt &) |
IMPORT_C RCmConnectionMethodExt | CreateConnectionMethodL(TUint32) |
IMPORT_C RCmConnectionMethodExt | CreateConnectionMethodL(TUint32, TUint32) |
IMPORT_C RCmDestinationExt | CreateDestinationL(const TDesC &) |
IMPORT_C RCmDestinationExt | CreateDestinationL(const TDesC &, TUint32) |
IMPORT_C void | CreateTablesAndOpenL() |
IMPORT_C RCmDestinationExt | 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(RCmDestinationExt &, RCmDestinationExt &, RCmConnectionMethodExt &) |
IMPORT_C void | OpenL() |
IMPORT_C void | OpenLC() |
IMPORT_C void | ReadDefConnL(TCmDefConnValue &) |
IMPORT_C void | RemoveAllReferencesL(RCmConnectionMethodExt &) |
IMPORT_C void | RemoveConnectionMethodL(RCmDestinationExt &, RCmConnectionMethodExt &) |
IMPORT_C void | SupportedBearersL(RArray< TUint32 > &) |
IMPORT_C CGulIcon * | UncategorizedIconL() |
IMPORT_C void | UpdateBearerPriorityArrayL(const RArray< TBearerPriority > &) |
IMPORT_C void | WriteDefConnL(const TCmDefConnValue &) |
Constructor & Destructor Documentation
RCmManagerExt(RCmManagerExt &)
This is a private copy constructor without iplemetation. The sole purpose of this declaration is to forbid the copying of the objects of this class.
Member Functions Documentation
AllDestinationsL(RArray< TUint32 > &)
Returns an array of all destination id's
Parameters
RArray< TUint32 > & aDestArray | array of all available network destination |
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.
ConnectionMethodL(RArray< TUint32 > &, TBool, TBool, TBool)
IMPORT_C void | ConnectionMethodL | ( | RArray< TUint32 > & | aCMArray, |
| TBool | aCheckBearerType = ETrue, |
| TBool | aLegacyOnly = ETrue, |
| TBool | aEasyWlan = EFalse |
| ) | |
Returns the list of connection methods that do not belong to any destination
Parameters
RArray< TUint32 > & aCMArray | on return it is the array of IAP ids. |
TBool aCheckBearerType = ETrue | If ETrue only connection methods with supported bearer types 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(RCmDestinationExt &, RCmConnectionMethodExt &)
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 (id range is from 1 to max IAP record amount in CommsDat). |
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 the destination |
EasyWlanIdL()
Returns the id of the EasyWlan connection method.
GetBearerInfoBoolL(TUint32, TUint32)
GetBearerInfoIntL(TUint32, TUint32)
GetBearerInfoXXX function can be used to query bearer informantion that doesn't belong to a specific connection method, such as ECmCoverage or ECmDefaultPriority etc. NULL pointer, returned from string functions, means attribute exists but has no value. HBuf ownership is passed to the caller
GetBearerInfoString8L(TUint32, TUint32)
GetBearerInfoStringL(TUint32, TUint32)
GetConnectionMethodInfoBoolL(TUint32, TUint32)
GetConnectionMethodInfoIntL(TUint32, TUint32)
GetConnectionMethodInfoXXX function can be used to query any, non-bearer specific information about a given connection method. This can be e.g. ECmBearerType, ECmName, ECmStartPage etc. NULL pointer, returned from string functions, means attribute exists but has no value. HBuf ownership is passed to the caller
GetConnectionMethodInfoString8L(TUint32, TUint32)
GetConnectionMethodInfoStringL(TUint32, TUint32)
MoveConnectionMethodL(RCmDestinationExt &, RCmDestinationExt &, RCmConnectionMethodExt &)
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.
RemoveAllReferencesL(RCmConnectionMethodExt &)
Removes connection method from every destination and make it uncategorized.
RemoveConnectionMethodL(RCmDestinationExt &, RCmConnectionMethodExt &)
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.
operator=(RCmManagerExt &)
This is a private copy constructor without iplemetation. The sole purpose of this declaration is to forbid the copying of the objects of this class.
Member Data Documentation
CCmManagerImpl * iImplementation
CCmManagerImpl * | iImplementation | [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.