00001 // Copyright (c) 2000-2009 Nokia Corporation and/or its subsidiary(-ies). 00002 // All rights reserved. 00003 // This component and the accompanying materials are made available 00004 // under the terms of "Eclipse Public License v1.0" 00005 // which accompanies this distribution, and is available 00006 // at the URL "http://www.eclipse.org/legal/epl-v10.html". 00007 // 00008 // Initial Contributors: 00009 // Nokia Corporation - initial contribution. 00010 // 00011 // Contributors: 00012 // 00013 // Description: 00014 // 00015 00016 // This header file contains the class definitions for: 00017 // CResData 00018 #include "CommonFile.hrh" 00019 00020 class CResData : public CBase 00021 { 00022 public: 00023 ~CResData(); 00024 static CResData* NewLC(TResourceReader& aReader); 00025 void ShowData(const TInt aStructNum = 0); 00026 private: 00027 void ConstructL(TResourceReader& aReader); 00028 private: 00029 TInt iWrd; // STRUCT member type: WORD, 00030 TInt iFlags; // WORD 00031 TInt iLng; // LONG, 00032 TInt iByt; // BYTE, 00033 TReal iDbl; // DOUBLE, 00034 TBufC<TEXTMAX> iTxt; // LTEXT (maximum length specified), 00035 HBufC* iLtxt; // LTEXT 00036 }; 00037 00038 00039 00040 00041 00042