cdlcompiler/test/Ex1.cdl
author Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
Mon, 15 Mar 2010 12:44:40 +0200
branchRCL_3
changeset 8 1871e4cafb97
parent 0 f58d6ec98e88
permissions -rw-r--r--
Revision: 201009 Kit: 201010

// The CDL header

Name: Avkon LAF
Version: 1.0
UID: 0x1f123456


%% C++

// The C++ section

struct TWindowLine
	{
	TInt16 t;
	TInt16 l;
	TInt16 r;
	TInt16 b;
	TInt16 w;
	TInt16 h;
	};


%% Translation

// The data type translation section. Format is:
// <type> # <initialisation syntax> # <pointer reference syntax>

TWindowLine # const TWindowLine aName = {0,0,0,0,0,0} # &aName


%% API		// The API section

// See C++ section for TWindowLine
// it's a simple structure
TWindowLine control_pane;			// example of data API

TDesC introduction	;				// example of special type handling system

TCdlArray<TInt> 
	array_test;