akniconarray.h

Go to the documentation of this file.
00001 /*
00002 * ============================================================================
00003 *  Name     : CAknIconArray.h
00004 *  Part of  : Avkon
00005 *
00006 *  Description:
00007 *     Icon array helper class
00008 *
00009 *  Version:
00010 *
00011 *  Copyright © 2002 Nokia Corporation.
00012 *  This material, including documentation and any related 
00013 *  computer programs, is protected by copyright controlled by 
00014 *  Nokia Corporation. All rights are reserved. Copying, 
00015 *  including reproducing, storing,  adapting or translating, any 
00016 *  or all of this material requires the prior written consent of 
00017 *  Nokia Corporation. This material also contains confidential 
00018 *  information which may not be disclosed to others without the 
00019 *  prior written consent of Nokia Corporation.
00020 */
00021 
00022 #ifndef     __AKNICONARRAY_H__
00023 #define     __AKNICONARRAY_H__
00024 
00025 
00026 //  INCLUDES
00027 #include <e32base.h>
00028 
00029 
00030 //  FORWARD DECLARATIONS
00031 class CGulIcon;
00032 class TResourceReader;
00033 
00034 
00035 // CLASS DECLARATION
00036 
00042 class CAknIconArray : public CArrayPtrFlat<CGulIcon>
00043     {
00044     public:  // Constructors and destructor
00048         IMPORT_C CAknIconArray(TInt aGranurality);
00049 
00055         IMPORT_C void ConstructFromResourceL(TInt aResId);
00056 
00063         IMPORT_C void ConstructFromResourceL(TResourceReader& aReader);
00064 
00068         IMPORT_C ~CAknIconArray();
00069 
00070     public:  // interface
00076         IMPORT_C void AppendFromResourceL(TInt aResId);
00077 
00084         IMPORT_C void AppendFromResourceL(TResourceReader& aReader);
00085         
00086         private: // implementation 
00112                  HBufC* GetBmpNameLC(TResourceReader& aReader);
00113 
00114     };
00115 
00116 
00117 // __AKNICONARRAY_H__
00118 #endif
00119             
00120 
00121 // End of File
00122 

Copyright © Nokia Corporation 2001-2008
Back to top