summaryrefslogtreecommitdiffstats
path: root/tests/wrapper.idl
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-01-05 00:01:18 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-01-05 00:01:18 +0000
commit42995d7bf396933ee60c5f89c354ea89cf13df0d (patch)
treecfdcea0ac57420e7baf570bfe435e107bb842541 /tests/wrapper.idl
downloadarts-42995d7bf396933ee60c5f89c354ea89cf13df0d.tar.gz
arts-42995d7bf396933ee60c5f89c354ea89cf13df0d.zip
Copy of aRts for Trinity modifications
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/dependencies/arts@1070145 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'tests/wrapper.idl')
-rw-r--r--tests/wrapper.idl27
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();
+};