CAknIcon Class Reference

API published in: S60 2nd Ed FP 3

Link against: aknicon.lib

Capability Information

Required Capabilities

None


#include <akniconutils.h>

Detailed Description

Cleanup stack helper.

Owns the bitmap and the mask.


Public Member Functions

  ~CAknIcon ()
  Destructor.
IMPORT_C CFbsBitmap *  Bitmap () const
  Gets the bitmap.
IMPORT_C CFbsBitmap *  Mask () const
  Gets the mask.
IMPORT_C void  SetBitmap (CFbsBitmap *aBitmap)
  Sets the bitmap.
IMPORT_C void  SetMask (CFbsBitmap *aMask)
  Sets the mask.

Static Public Member Functions

static IMPORT_C CAknIcon NewL ()
  Two-phased constructor.

Constructor & Destructor Documentation

CAknIcon::~CAknIcon  ) 
 

Destructor.


Member Function Documentation

IMPORT_C CFbsBitmap* CAknIcon::Bitmap  )  const
 

Gets the bitmap.

Returns:
The icon's bitmap.
IMPORT_C CFbsBitmap* CAknIcon::Mask  )  const
 

Gets the mask.

Returns:
The icon's mask.
static IMPORT_C CAknIcon* CAknIcon::NewL  )  [static]
 

Two-phased constructor.

Creates and returns a pointer to a new CAknIcon object.

Returns:
New CAknIcon.
IMPORT_C void CAknIcon::SetBitmap CFbsBitmap *  aBitmap  ) 
 

Sets the bitmap.

Parameters:
aBitmap  The icon's bitmap.
IMPORT_C void CAknIcon::SetMask CFbsBitmap *  aMask  ) 
 

Sets the mask.

Parameters:
aMask  The icon's mask.

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

Copyright © Nokia Corporation 2001-2008
Back to top