diff options
Diffstat (limited to 'tests/wrapper.idl')
-rw-r--r-- | tests/wrapper.idl | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/tests/wrapper.idl b/tests/wrapper.idl new file mode 100644 index 0000000..dc0c0b6 --- /dev/null +++ b/tests/wrapper.idl @@ -0,0 +1,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(); +}; |