CAknsItemData Class Reference

class CAknsItemData : public CBase

Base class for item data classes. Item data encapsulates type information and resource instance (such as CFbsBitmap object) of a specific skin item. Since actual data entries vary depending on the type of the item, CAknsItemData contains only type information and can not be instantiated.

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

AknSkins.lib

2.0

Inherits from

Constructor & Destructor Documentation

CAknsItemData(const TAknsItemType)

CAknsItemData(const TAknsItemTypeaType)[protected]

C++ constructor for derived classes. Constructs item data object with given item type.

Parameters

const TAknsItemType aTypeItem type of the new item data object.

~CAknsItemData()

~CAknsItemData()[virtual]

Destructor. CAknsItemData itself has no dynamically allocated members, but derived classes may have them.

Member Functions Documentation

SetType(const TAknsItemType)

voidSetType(const TAknsItemTypeaType)

Sets the perceived type of this item without affecting the real instance inheritance.

2.8

Parameters

const TAknsItemType aType

Type()

IMPORT_C TAknsItemTypeType()const

Returns the type of the item data object. This method can be used to provide run-time type information. Corresponding classes are listed in definition of TAknsItemType.

2.0

Type of the item data as TAknsItemType.

Member Data Documentation

TAknsItemType iType

TAknsItemType iType[protected]