#include <mmf/common/mmfcontrollerframeworkbase.h>
Link against: mmfcontrollerframework.lib
| class CMMFUrlParams : public CBase, public CBase |
| Public Member Functions | |
|---|---|
| ~CMMFUrlParams() | |
| IMPORT_C void | ExternalizeL(RWriteStream &) |
| IMPORT_C CBufFlat * | ExternalizeToCBufFlatLC() |
| IMPORT_C TInt | IAPId() |
| IMPORT_C CMMFUrlParams * | NewL(const TDesC &, TInt) |
| IMPORT_C CMMFUrlParams * | NewLC(const TDesC &, TInt) |
| IMPORT_C CMMFUrlParams * | NewLC(RReadStream &) |
| IMPORT_C const TDesC & | Url() |
| IMPORT_C TBool | UseIAPId() |
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.
| IMPORT_C void | ExternalizeL | ( | RWriteStream & | aStream | ) | const |
Externalize this object to a stream.
This method can leave with one of the standard system-wide error codes.
| Parameters | |
|---|---|
| aStream | The stream to which the object will be externalized. |
| 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.
| IMPORT_C CMMFUrlParams * | NewL | ( | const TDesC & | aUrl, |
| TInt | aIAPId = KUseDefaultIap | |||
| ) | [static] | |||
Factory function to create a CMMFUrlParams object.
This method can leave with one of the standard system-wide error codes.
| Parameters | |
|---|---|
| aUrl | The url, for example http://www.symbian.com/clip.mpg |
| aIAPId | 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. |
| IMPORT_C CMMFUrlParams * | NewLC | ( | const TDesC & | aUrl, |
| TInt | aIAPId = KUseDefaultIap | |||
| ) | [static] | |||
Factory function to create a CMMFUrlParams object.
This method can leave with one of the standard system-wide error codes.
| Parameters | |
|---|---|
| aUrl | The url, for example http://www.symbian.com/clip.mpg |
| aIAPId | 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. |
| IMPORT_C CMMFUrlParams * | NewLC | ( | RReadStream & | aStream | ) | [static] |
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 | |
|---|---|
| aStream | The stream from which the object should be internalized. |
| IMPORT_C const TDesC & | Url | ( | ) | const |
Returns the URL string, for example http://www.symbian.com/clip/mpg.
| IMPORT_C TBool | UseIAPId | ( | ) | const |
Signifies whether the IAP ID should be used. This is determined internally by comparing the IAP ID with KUseDefaultIap.