blob: dc0c0b68788e7a30d29426cb40a15974fed9c456 (
plain)
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();
};
|