aknsrlparameter.h

Go to the documentation of this file.
00001 /*
00002 * ==============================================================================
00003 *  Name        : AknsRlParameter.h
00004 *  Part of     : Avkon Skins / Rendering Library
00005 *  Description : ?Description
00006 *  Version     : ?Version
00007 *
00008 *  Copyright (c) 2004-2007 Nokia Corporation.
00009 *  This material, including documentation and any related 
00010 *  computer programs, is protected by copyright controlled by 
00011 *  Nokia Corporation. All rights are reserved. Copying, 
00012 *  including reproducing, storing, adapting or translating, any 
00013 *  or all of this material requires the prior written consent of 
00014 *  Nokia Corporation. This material also contains confidential 
00015 *  information which may not be disclosed to others without the 
00016 *  prior written consent of Nokia Corporation.
00017 * ==============================================================================
00018 */
00019 
00020 #ifndef AKNSRLPARAMETER_H
00021 #define AKNSRLPARAMETER_H
00022 
00028 enum TAknsRlParameterType
00029     {
00030     EAknsRlParameterTypeNumber    = 0,
00031     EAknsRlParameterTypeString    = 1,
00032     EAknsRlParameterTypeGraphics  = 2
00033     };
00034 
00040 struct TAknsRlGraphicsParam 
00041     {
00042     const TDesC16* iFilename;
00043     TInt iIndex;
00044     TInt iMaskIndex;
00045     };
00046 
00052 struct TAknsRlParameterData
00053     {
00061     const TDesC16* iName;
00062 
00068     TAknsRlParameterType iType;
00069 
00070     union {
00077         TInt iNumber;
00078 
00087         const TDesC16* iString;
00088 
00097         const TAknsRlGraphicsParam* iGfx;
00098         
00099         };
00100     };
00101 
00102 // FORWARD DECLARATIONS
00103 
00104 // CLASS DECLARATION
00105 
00111 class MAknsRlParameterIterator
00112     {
00113     public: // Constructors and destructor
00114 
00121         inline virtual ~MAknsRlParameterIterator() {}
00122 
00123     public: // New functions
00124 
00133         virtual TBool HasNext() =0;
00134 
00145         virtual const TAknsRlParameterData* NextL() =0;
00146     };
00147 
00148 // AKNSRLPARAMETER_H
00149 #endif
00150             
00151 // End of File

Copyright © Nokia Corporation 2001-2008
Back to top