CAknsItemData Class Reference

#include <mw/AknsItemData.h>

Link against: AknSkins.lib

class CAknsItemData : public CBase

Inherits from

  • CAknsItemData

    Detailed Description

    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.

    Since
    2.0

    Member Attribute Documentation

    iType

    TAknsItemType iType[protected]

    Type of the item data object.

    Constructor & Destructor Documentation

    CAknsItemData ( const TAknsItemType )

    CAknsItemData(const TAknsItemTypeaType)[protected]

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

    ParameterDescription
    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 Function Documentation

    SetType ( const TAknsItemType )

    voidSetType(const TAknsItemTypeaType)

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

    Since
    2.8

    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.

    Since
    2.0

    Returns: Type of the item data as TAknsItemType.