cdlcompiler/test/Ex1.cdl
author William Roberts <williamr@symbian.org>
Sun, 14 Mar 2010 13:13:44 +0000
branchCompilerCompatibility
changeset 13 a19656173f66
parent 0 f58d6ec98e88
permissions -rw-r--r--
Automatic merge from PDK_3.0.h

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