00001 /* 00002 * ============================================================================== 00003 * Name : AknsRlParameter.h 00004 * Part of : Avkon Skins / Rendering Library 00005 * Interface : ?Interface_category, ?Interface_name 00006 * Description : ?Description 00007 * Version : ?Version 00008 * 00009 * Copyright (c) 2004 Nokia Corporation. 00010 * This material, including documentation and any related 00011 * computer programs, is protected by copyright controlled by 00012 * Nokia Corporation. All rights are reserved. Copying, 00013 * including reproducing, storing, adapting or translating, any 00014 * or all of this material requires the prior written consent of 00015 * Nokia Corporation. This material also contains confidential 00016 * information which may not be disclosed to others without the 00017 * prior written consent of Nokia Corporation. 00018 * ============================================================================== 00019 */ 00020 00021 #ifndef AKNSRLPARAMETER_H 00022 #define AKNSRLPARAMETER_H 00023 00024 // INCLUDES 00025 //#include <?include_file> 00026 //#include <?include_file> 00027 00028 // CONSTANTS 00029 00030 // DATA TYPES 00031 00037 enum TAknsRlParameterType 00038 { 00039 EAknsRlParameterTypeNumber = 0, 00040 EAknsRlParameterTypeString = 1, 00041 EAknsRlParameterTypeGraphics = 2 00042 }; 00043 00049 struct TAknsRlGraphicsParam 00050 { 00051 const TDesC16* iFilename; 00052 TInt iIndex; 00053 TInt iMaskIndex; 00054 }; 00055 00061 struct TAknsRlParameterData 00062 { 00070 const TDesC16* iName; 00071 00077 TAknsRlParameterType iType; 00078 00079 union { 00086 TInt iNumber; 00087 00096 const TDesC16* iString; 00097 00106 const TAknsRlGraphicsParam* iGfx; 00107 00108 }; 00109 }; 00110 00111 // FORWARD DECLARATIONS 00112 00113 // CLASS DECLARATION 00114 00120 class MAknsRlParameterIterator 00121 { 00122 public: // Constructors and destructor 00123 00130 inline virtual ~MAknsRlParameterIterator() {} 00131 00132 public: // New functions 00133 00142 virtual TBool HasNext() =0; 00143 00154 virtual const TAknsRlParameterData* NextL() =0; 00155 }; 00156 00157 // AKNSRLPARAMETER_H 00158 #endif 00159 00160 // End of File