WPAdapterUtil Class Reference
WPAdapterUtil is a utility class for reading resource strings.
ProvisioningEngine
- Since
- 2.0
Member Functions Documentation
AccesspointL(CWPCharacteristic &)
Get a pointer to the access point pointed by a logical proxy.
CheckIPv4(const TDesC &)
Checks if an IPv4 address is valid.
CheckIPv6(const TDesC &)
Checks if an IPv6 address is valid.
CheckURI(const TDesC &)
Checks if a URL is valid.
FindAndOpenResourceFileLC(RFs &, const TDesC &, const TDesC &, RResourceFile &)
void | FindAndOpenResourceFileLC | ( | RFs & | aFs, |
| const TDesC & | aDllPath, |
| const TDesC & | aAdapterName, |
| RResourceFile & | aResFile |
| ) | [protected, static] |
Searches for the resource file with the correct language extension for the language of the current locale, or failing this, the best matching file.
Parameters
RFs & aFs | reference to file server. |
const TDesC & aDllPath | Path for the calling DLL from Dll::FileName |
const TDesC & aAdapterName | Name of the adapter. Resource file name is derived from this. |
RResourceFile & aResFile | Reference to resource file. |
GetAPIDL()
IMPORT_C TUint | GetAPIDL | ( | ) | [static] |
Gets the accesspoint ID from DB file or from SNAP
ReadHBufCL(const TDesC &, const TDesC &, TInt)
IMPORT_C HBufC * | ReadHBufCL | ( | const TDesC & | aDllPath, |
| const TDesC & | aAdapterName, |
| TInt | aResourceId |
| ) | [static] |
Loads a specified resource string from resource file.
Parameters
const TDesC & aDllPath | Path for the calling DLL from Dll::FileName |
const TDesC & aAdapterName | Name of the adapter. Resource file name is derived from this. |
TInt aResourceId | is of a resource string. |
SetAPDetailsL(TUint)
IMPORT_C void | SetAPDetailsL | ( | TUint | aAPId | ) | [static] |
Saves accesspoint attributes of APID, BearerType and Originator to DataBase and saves the Access Point in SNAP folder
Parameters
TUint aAPId | The AccessPoint ID |
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.