CAknsImageItemDef Class Reference

class CAknsImageItemDef : public CAknsItemDef

Image item definition. Image item definition consists of (in addition to base class data) image attributes and their values. Item type for image item definitions is EAknsITImage

This is a public class with exported functions. The class is not intended for derivation outside the library.

AknSkinSrv.lib

Since
2.0

Inherits from

Constructor & Destructor Documentation

CAknsImageItemDef(const TAknsItemType, const TAknsItemID &)

CAknsImageItemDef ( const TAknsItemType aType,
const TAknsItemID & aID
) [protected]

C++ constructor for internal use. Constructs an image item definition object with given ID.

Since
2.0

Parameters

const TAknsItemType aType Type of the definition object. While this is always EAknsITImage for CAknsImageItemDef objects, derived classes may specify other values.
const TAknsItemID & aID Item ID of the new item definition.

~CAknsImageItemDef()

~CAknsImageItemDef ( ) [virtual]

Destructor.

Member Functions Documentation

Attributes()

IMPORT_C const TAknsImageAttributeData * Attributes ( ) const

Returns the image attributes for this image definition.

Since
2.0

NewL(const TAknsItemID &)

IMPORT_C CAknsImageItemDef * NewL ( const TAknsItemID & aID ) [static]

Two-phased constructor. Constructs a new image item definition object.

Exceptions:
If allocation fails, function leaves with a system-wide error code.

Parameters

const TAknsItemID & aID Item ID of the new object.

SetAttributesL(const TAknsImageAttributeData &)

IMPORT_C void SetAttributesL ( const TAknsImageAttributeData & aAttributes )

Sets the image attributes for this image definition.

Since
2.0

Parameters

const TAknsImageAttributeData & aAttributes

Member Data Documentation

TAknsImageAttributeData * iAttributeData

TAknsImageAttributeData * iAttributeData [protected]