File: wrapper.idl

package info (click to toggle)
arts 1.5.9-3
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 8,436 kB
  • ctags: 9,848
  • sloc: ansic: 44,670; cpp: 33,776; sh: 10,486; perl: 3,470; makefile: 372; yacc: 347; lex: 160
file content (27 lines) | stat: -rw-r--r-- 469 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
/*------------------- Test classes for smartwrappers ---------------------*/

interface A {
	attribute long value;
	string a();   // returns "a"
};

interface B : A {
	string b();   // returns "b"
};

interface C : A {
	string c();   // returns "c"
};

interface D : B, C {
	// returns the interface itself
	readonly attribute D self;

	string d();   // returns "d"

	// returns sum of both interface values
	long sum(A v1, A v2);  

	// dummy method
	void dummy();
};