CAknsItemData Class Reference

API published in: S60 2nd Ed

Link against: aknskins.lib aknskinsrv.lib aknswallpaperutils.lib

Capability Information

Required Capabilities

None


#include <aknsitemdata.h>

Inherited by CAknsAnimationItemData, CAknsEffectQueueItemData, CAknsImageItemData, and CAknsStringItemData.


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.


Public Member Functions

virtual  ~CAknsItemData ()
  Destructor.
void  SetType (const TAknsItemType aType)
  Sets the perceived type of this item without affecting the real instance inheritance.
IMPORT_C TAknsItemType  Type () const
  Returns the type of the item data object.

Protected Member Functions

  CAknsItemData (const TAknsItemType aType)
  C++ constructor for derived classes.

Protected Attributes

TAknsItemType  iType
  Type of the item data object.

Constructor & Destructor Documentation

virtual CAknsItemData::~CAknsItemData  )  [virtual]
 

Destructor.

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

CAknsItemData::CAknsItemData const TAknsItemType  aType  )  [protected]
 

C++ constructor for derived classes.

Constructs item data object with given item type.

Parameters:
aType  Item type of the new item data object.

Member Function Documentation

void CAknsItemData::SetType const TAknsItemType  aType  ) 
 

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

IMPORT_C TAknsItemType CAknsItemData::Type  )  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.

Returns:
Type of the item data as TAknsItemType.

Field Documentation

TAknsItemType CAknsItemData::iType [protected]
 

Type of the item data object.


The documentation for this class was generated from the following file:

Copyright © Nokia Corporation 2001-2008
Back to top