CAknIconArray Class Reference

API published in: S60 1st Ed

Link against: avkon.lib eikcore.lib

Capability Information

Required Capabilities

None


#include <akniconarray.h>

Detailed Description

Icon array helper class.

Extends CArrayPtrFlat<CGulIcon> to make it easier to load icons for a listbox. This class IS-A CArrayPtrFlat<CGulIcon>, but owns the CGulIcons it contains for leave-safety.


Public Member Functions

IMPORT_C  CAknIconArray (TInt aGranurality)
  C++ Constructor.
IMPORT_C void  ConstructFromResourceL (TInt aResId)
  Second phase constructor: loads contents of array from resources.
IMPORT_C void  ConstructFromResourceL (TResourceReader &aReader)
  Second phase constructor: loads contents of array from resources.
IMPORT_C  ~CAknIconArray ()
  Destructor.
IMPORT_C void  AppendFromResourceL (TInt aResId)
  Append icons from a resource to this array.
IMPORT_C void  AppendFromResourceL (TResourceReader &aReader)
  Append icons from a resource to this array.

Constructor & Destructor Documentation

IMPORT_C CAknIconArray::CAknIconArray TInt  aGranurality  ) 
 

C++ Constructor.

IMPORT_C CAknIconArray::~CAknIconArray  ) 
 

Destructor.

Destroys all icons in the array.


Member Function Documentation

IMPORT_C void CAknIconArray::AppendFromResourceL TResourceReader &  aReader  ) 
 

Append icons from a resource to this array.

Parameters:
aReader  resource reader pointed to a AKN_ICON_ARRAY resource
IMPORT_C void CAknIconArray::AppendFromResourceL TInt  aResId  ) 
 

Append icons from a resource to this array.

Parameters:
aResId  id of a AKN_ICON_ARRAY resource.
IMPORT_C void CAknIconArray::ConstructFromResourceL TResourceReader &  aReader  ) 
 

Second phase constructor: loads contents of array from resources.

Parameters:
aReader  resource reader pointed to a AKN_ICON_ARRAY resource.
IMPORT_C void CAknIconArray::ConstructFromResourceL TInt  aResId  ) 
 

Second phase constructor: loads contents of array from resources.

Parameters:
aResId  id of a AKN_ICON_ARRAY resource.

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

Copyright © Nokia Corporation 2001-2008
Back to top