cdlcompiler/test/Ex1.cdl
author Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
Thu, 17 Dec 2009 09:14:18 +0200
changeset 0 f58d6ec98e88
permissions -rw-r--r--
Revision: 200949 Kit: 200951

// 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;