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.

Since
7.0s

Inherits from

Constructor & Destructor Documentation

CMMFUrlParams()

CMMFUrlParams ( ) [private]

~CMMFUrlParams()

~CMMFUrlParams ( )

Destructor.

Member Functions Documentation

ConstructL(const TDesC &, TInt)

void ConstructL ( const TDesC & aUrl,
TInt aIAPId
) [private]

Parameters

const TDesC & aUrl
TInt aIAPId

ConstructL(RReadStream &)

void ConstructL ( RReadStream & aStream ) [private]

Parameters

RReadStream & aStream

ExternalizeL(RWriteStream &)

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.

Since
7.0s

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.

Since
7.0s

IAPId()

IMPORT_C TInt IAPId ( ) const

Returns the Internet Access Point ID.

Since
7.0s

NewL(const TDesC &, TInt)

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.

Since
7.0s

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)

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.

Since
7.0s

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 &)

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.

Since
7.0s

Parameters

RReadStream & aStream The stream from which the object should be internalized.

Url()

IMPORT_C const TDesC & Url ( ) const

Returns the URL string, for example http://www.symbian.com/clip/mpg.

Since
7.0s

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.

Since
7.0s

Member Data Documentation

TInt iIAPId

TInt iIAPId [private]

HBufC * iUrl

HBufC * iUrl [private]