CUpnpIcon Class Reference

class CUpnpIcon : public CBase

Declares CUpnpIcon class

Since
Series60 2.6

Inherits from

Public Member Functions
~CUpnpIcon()
voidAddPropertyL(CUpnpDescriptionProperty *)
IMPORT_C TFileNameBitmapFilename()
IMPORT_C TIntDepth()
TPtrC8 DepthTPtrC8()
voidExternalizeL(RWriteStream &)
IMPORT_C const TPtr8 &GetIconBufferPtr()
IMPORT_C TIntHeight()
TPtrC8 HeightTPtrC8()
IMPORT_C voidInternalizeL(RReadStream &)
IMPORT_C const TPtrC8MimeType()
IMPORT_C CUpnpIcon *NewL()
IMPORT_C CUpnpIcon *NewL(const TDesC16 &, const TDesC8 &, const TInt, const TInt, const TInt, const TDesC8 &)
IMPORT_C CUpnpIcon *NewL(const TDesC16 &, const TInt, const TInt, const TInt, const TDesC8 &)
IMPORT_C voidSetBitmapFilename(const TDesC &)
voidSetDepthL(const TInt)
voidSetHeightL(const TInt)
voidSetMimeTypeL(const TDesC8 &)
IMPORT_C voidSetUrlL(const TDesC8 &)
voidSetWidthL(const TInt)
IMPORT_C HBufC8 *ToDes8L()
IMPORT_C const TPtrC8Url()
IMPORT_C TIntWidth()
TPtrC8 WidthTPtrC8()
Private Member Functions
CUpnpIcon()
voidConstructL()
voidConstructL(const TDesC16 &, const TDesC8 &, const TInt, const TInt, const TInt, const TDesC8 &)
voidConstructL(const TDesC16 &, const TInt, const TInt, const TInt, const TDesC8 &)
voidDeleteIconFromFsL()
Inherited Functions
CBase::CBase()
CBase::Delete(CBase *)
CBase::Extension_(TUint,TAny *&,TAny *)
CBase::operator new(TUint)
CBase::operator new(TUint,TAny *)
CBase::operator new(TUint,TLeave)
CBase::operator new(TUint,TLeave,TUint)
CBase::operator new(TUint,TUint)
CBase::~CBase()
Private Attributes
TFileName iFilename
RPointerArray< CUpnpDescriptionProperty >iProperties
HBufC8 *iSendBuffer
TPtr8 iSendBufferPtr

Constructor & Destructor Documentation

CUpnpIcon()

CUpnpIcon()[private]

C++ default constructor.

~CUpnpIcon()

IMPORT_C~CUpnpIcon()[virtual]

Destructor. Deletes the element from memory.

Member Functions Documentation

AddPropertyL(CUpnpDescriptionProperty *)

voidAddPropertyL(CUpnpDescriptionProperty *aProperty)
Add description property
Since
Series60 3.2

Parameters

CUpnpDescriptionProperty * aProperty

BitmapFilename()

IMPORT_C TFileNameBitmapFilename()const
Get bitmap filename
Since
Series60 2.6

ConstructL()

voidConstructL()[private]

By default Symbian 2nd phase constructor is private.

ConstructL(const TDesC16 &, const TDesC8 &, const TInt, const TInt, const TInt, const TDesC8 &)

voidConstructL(const TDesC16 &aPath,
const TDesC8 &aUrl,
const TIntaWidth,
const TIntaHeight,
const TIntaDepth,
const TDesC8 &aMimeType
)[private]

By default Symbian 2nd phase constructor is private.

Parameters

const TDesC16 & aPathicon path
const TDesC8 & aUrlicon url
const TInt aWidthicon width
const TInt aHeighticon height
const TInt aDepthicon depth
const TDesC8 & aMimeTypeicon mime type

ConstructL(const TDesC16 &, const TInt, const TInt, const TInt, const TDesC8 &)

voidConstructL(const TDesC16 &aPath,
const TIntaWidth,
const TIntaHeight,
const TIntaDepth,
const TDesC8 &aMimeType
)[private]

By default Symbian 2nd phase constructor is private.

Parameters

const TDesC16 & aPathicon path
const TInt aWidthicon width
const TInt aHeighticon height
const TInt aDepthicon depth
const TDesC8 & aMimeTypeicon mime type

DeleteIconFromFsL()

voidDeleteIconFromFsL()[private]
Deletes icon's file if exists.
Since
Series60 2.6

Depth()

IMPORT_C TIntDepth()const
Returns the color depth of the icon.
Since
Series60 2.6

DepthTPtrC8()

TPtrC8 DepthTPtrC8()const
Returns color depth of the icon.
Since
Series60 2.6

ExternalizeL(RWriteStream &)

voidExternalizeL(RWriteStream &aStream)const
Deserializes icon
Since
Series60 3.2

Parameters

RWriteStream & aStream

GetIconBufferPtr()

IMPORT_C const TPtr8 &GetIconBufferPtr()const
Returns the icon buffer
Since
Series60 2.6

Height()

IMPORT_C TIntHeight()const
Returns the height of the icon.
Since
Series60 2.6

HeightTPtrC8()

TPtrC8 HeightTPtrC8()const
Returns height of the icon.
Since
Series60 2.6

InternalizeL(RReadStream &)

IMPORT_C voidInternalizeL(RReadStream &aStream)
Serializes icon
Since
Series60 3.2

Parameters

RReadStream & aStream

MimeType()

IMPORT_C const TPtrC8MimeType()const
Returns the mime type.
Since
Series60 2.6

NewL()

IMPORT_C CUpnpIcon *NewL()[static]

Two-phased constructor. returns a pointer to the new element.

NewL(const TDesC16 &, const TDesC8 &, const TInt, const TInt, const TInt, const TDesC8 &)

IMPORT_C CUpnpIcon *NewL(const TDesC16 &aPath,
const TDesC8 &aUrl,
const TIntaWidth,
const TIntaHeight,
const TIntaDepth,
const TDesC8 &aMimeType
)[static]

Two-phased constructor. returns a pointer to the new element.

Parameters

const TDesC16 & aPathicon path
const TDesC8 & aUrlicon url
const TInt aWidthicon width
const TInt aHeighticon height
const TInt aDepthicon depth
const TDesC8 & aMimeTypeicon mime type

NewL(const TDesC16 &, const TInt, const TInt, const TInt, const TDesC8 &)

IMPORT_C CUpnpIcon *NewL(const TDesC16 &aPath,
const TIntaWidth,
const TIntaHeight,
const TIntaDepth,
const TDesC8 &aMimeType
)[static]

Two-phased constructor. returns a pointer to the new element.

Parameters

const TDesC16 & aPathicon path
const TInt aWidthicon width
const TInt aHeighticon height
const TInt aDepthicon depth
const TDesC8 & aMimeTypeicon mime type

SetBitmapFilename(const TDesC &)

IMPORT_C voidSetBitmapFilename(const TDesC &aName)
Set bitmap filename
Since
Series60 2.6

Parameters

const TDesC & aNamethe bitmap filename (path?)

SetDepthL(const TInt)

voidSetDepthL(const TIntaDepth)
Sets icon depth
Since
Series60 2.6

Parameters

const TInt aDepthicon depth

SetHeightL(const TInt)

voidSetHeightL(const TIntaHeight)
Sets icon height
Since
Series60 2.6

Parameters

const TInt aHeighticon height

SetMimeTypeL(const TDesC8 &)

voidSetMimeTypeL(const TDesC8 &aMimeType)
Sets icon mime type
Since
Series60 2.6

Parameters

const TDesC8 & aMimeTypeicon mime type

SetUrlL(const TDesC8 &)

IMPORT_C voidSetUrlL(const TDesC8 &aUrl)
Sets icon url
Since
Series60 2.6

Parameters

const TDesC8 & aUrlicon url

SetWidthL(const TInt)

voidSetWidthL(const TIntaWidth)
Sets icon width
Since
Series60 2.6

Parameters

const TInt aWidthicon width

ToDes8L()

IMPORT_C HBufC8 *ToDes8L()const
Since
Series60 3.2

Url()

IMPORT_C const TPtrC8Url()const
Returns the url address.
Since
Series60 2.6

Width()

IMPORT_C TIntWidth()const
Returns the width of the icon.
Since
Series60 2.6

WidthTPtrC8()

TPtrC8 WidthTPtrC8()const
Returns the width of the icon.
Since
Series60 2.6

Member Data Documentation

TFileName iFilename

TFileName iFilename[private]

RPointerArray< CUpnpDescriptionProperty > iProperties

RPointerArray< CUpnpDescriptionProperty >iProperties[private]

HBufC8 * iSendBuffer

HBufC8 *iSendBuffer[private]

TPtr8 iSendBufferPtr

TPtr8 iSendBufferPtr[private]