CMMFUrlParams Class Reference
class CMMFUrlParams : public CBase |
Class to be used to configure a URL source or sink.
Contains a variable length string to represent the URL, and whether to use a specified Internet Access Point or use the default.
Constructor & Destructor Documentation
Member Functions Documentation
ConstructL(const TDesC &, TInt)
void | ConstructL | ( | const TDesC & | aUrl, |
| TInt | aIAPId |
| ) | [private] |
ConstructL(RReadStream &)
ExternalizeL(RWriteStream &)
Externalize this object to a stream.
This method can leave with one of the standard system-wide error codes.
Parameters
RWriteStream & aStream | The stream to which the object will be externalized. |
ExternalizeToCBufFlatLC()
IMPORT_C CBufFlat * | ExternalizeToCBufFlatLC | ( | ) | const |
Externalize this object into a newly created CBufFlat buffer.
This method can leave with one of the standard system-wide error codes.
IAPId()
IMPORT_C TInt | IAPId | ( | ) | const |
Returns the Internet Access Point ID.
NewL(const TDesC &, TInt)
Factory function to create a CMMFUrlParams object.
This method can leave with one of the standard system-wide error codes.
Parameters
const TDesC & aUrl | The url, for example http://www.symbian.com/clip.mpg |
TInt aIAPId =
KUseDefaultIap
| The Inernet Access Point to be used. This should be a valid IAP ID retrieved from CommDB. A special value of KUseDefaultIap can be used to signify that the plugin should just use the default IAP. |
NewLC(const TDesC &, TInt)
Factory function to create a CMMFUrlParams object.
This method can leave with one of the standard system-wide error codes.
Parameters
const TDesC & aUrl | The url, for example http://www.symbian.com/clip.mpg |
TInt aIAPId =
KUseDefaultIap
| The Inernet Access Point to be used. This should be a valid IAP ID retrieved from CommDB. A special value of KUseDefaultIap can be used to signify that the plugin should just use the default IAP. |
NewLC(RReadStream &)
Factory function to create a CMMFUrlParams object by internalizing data from a stream.
This method can leave with one of the standard system-wide error codes.
Parameters
RReadStream & aStream | The stream from which the object should be internalized. |
Url()
IMPORT_C const TDesC & | Url | ( | ) | const |
UseIAPId()
IMPORT_C TBool | UseIAPId | ( | ) | const |
Signifies whether the IAP ID should be used. This is determined internally by comparing the IAP ID with KUseDefaultIap.
Member Data Documentation
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.