CHgVgItem Class Reference

class CHgVgItem : public CHgItem

Inherits from

Constructor & Destructor Documentation

CHgVgItem(TInt, CGulIcon *)

CHgVgItem ( TInt aFlags,
CGulIcon * aIcon
) [protected]

Parameters

TInt aFlags
CGulIcon * aIcon

~CHgVgItem()

IMPORT_C ~CHgVgItem ( ) [virtual]

Member Functions Documentation

ConstructL(const TDesC &, const TDesC &)

void ConstructL ( const TDesC & aTitle,
const TDesC & aText
) [protected, virtual]

Parameters

const TDesC & aTitle
const TDesC & aText

FreeOpenVgImage()

void FreeOpenVgImage ( )

Frees openvg image resource. This is used by media wall to free resources on demand and should not be used externally.

NewL(TInt, CGulIcon *, const TDesC &, const TDesC &)

IMPORT_C CHgVgItem * NewL ( TInt aFlags = EHgItemFlagsNone,
CGulIcon * aIcon = 0,
const TDesC & aTitle =  KNullDesC ,
const TDesC & aText =  KNullDesC
) [static]

Creates new CHgVgItem .

Parameters

TInt aFlags = EHgItemFlagsNone Item flags. Default is EHgItemFlagsNone
CGulIcon * aIcon = 0 Item Icon. Ownership transferred.
const TDesC & aTitle =  KNullDesC Title text.
const TDesC & aText =  KNullDesC Additional Text.

NewLC(TInt, CGulIcon *, const TDesC &, const TDesC &)

IMPORT_C CHgVgItem * NewLC ( TInt aFlags = EHgItemFlagsNone,
CGulIcon * aIcon = 0,
const TDesC & aTitle =  KNullDesC ,
const TDesC & aText =  KNullDesC
) [static]

Creates new CHgVgItem .

Parameters

TInt aFlags = EHgItemFlagsNone Item flags. Default is EHgItemFlagsNone
CGulIcon * aIcon = 0 Item Icon. Ownership transferred.
const TDesC & aTitle =  KNullDesC Title text.
const TDesC & aText =  KNullDesC Additional Text.

ReloadOpenVgImage()

void ReloadOpenVgImage ( )

Reloads openvg image resource. This is used by media wall to allocate resources on demand and should not be used externally.

SetIcon(CGulIcon *, TInt)

IMPORT_C void SetIcon ( CGulIcon * aIcon,
TInt aFlags = EHgItemFlagsNone
) [virtual]

Sets icon.

Parameters

CGulIcon * aIcon New icon. Ownership transferred.
TInt aFlags = EHgItemFlagsNone

VgImage()

VGImage VgImage ( ) const

Gets OpenVG Image.

Member Data Documentation

VGImage iVgImage

VGImage iVgImage [private]