cdlcompiler/test/Ex1.cdl
author Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
Tue, 26 Jan 2010 12:55:26 +0200
changeset 3 de36cc5e7eac
parent 0 f58d6ec98e88
permissions -rw-r--r--
Revision: 201001 Kit: 201004

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