examples/SysLibs/ResourceFiles/ReadArray/ReadArray.rss

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 #include "ReadArray.rh"
00017         
00018 RESOURCE DATA first
00019         {
00020         wrd=0;
00021         flags=EFlagItem1+EFlagItem2;
00022         lng=2; 
00023         txt="This is TEXT type (NULL terminated)";
00024         ltxt="This is LTEXT type (leading byte count)";
00025         byt=255;
00026         dbl=99.9;
00027         }
00028 
00029 RESOURCE DATAARRAY second
00030         {
00031         dataments=
00032                 {
00033                 DATA
00034                         {
00035                         //  wrd and dbl allowed to default
00036                         flags=EFlagItem1;
00037                         lng=654;
00038                         txt="First element";
00039                         ltxt="This text has a leading byte count";
00040                         byt=-1;
00041                         },
00042                 DATA
00043                         {
00044                         wrd=999;
00045                         flags=EFlagItem1+EFlagItem2;
00046                         lng=3;
00047                         txt="Second element";
00048                         ltxt="Extremely large text indeed abcd efghijklm";
00049                         byt=255;
00050                         dbl=1.0;
00051                         },
00052                 DATA
00053                         {
00054                         wrd=0;
00055                         flags=EFlagItem16;
00056                         lng=-1;
00057                         txt="Third element";
00058                         ltxt="";
00059                         byt=127;
00060                         dbl=12.34;
00061                         },
00062                 DATA
00063                         {
00064                         wrd=-1;
00065                         flags=EFlagItem1+EFlagItem8+EFlagItem16;
00066                         lng=2147483647;
00067                         txt="Fourth element";
00068                         ltxt="{[@@@@@@@@@@@@@@]}";
00069                         byt=128;
00070                         dbl=-3400;
00071                         }
00072                 };
00073         }

Generated by  doxygen 1.6.2