summaryrefslogtreecommitdiff
path: root/src/test/test-freedesktop-interface.fidl
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/test-freedesktop-interface.fidl')
-rw-r--r--src/test/test-freedesktop-interface.fidl21
1 files changed, 21 insertions, 0 deletions
diff --git a/src/test/test-freedesktop-interface.fidl b/src/test/test-freedesktop-interface.fidl
new file mode 100644
index 0000000..db1143f
--- /dev/null
+++ b/src/test/test-freedesktop-interface.fidl
@@ -0,0 +1,21 @@
+/* This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
+package commonapi.tests
+
+import commonapi.tests.* from "test-derived-types.fidl"
+
+interface TestFreedesktopInterface {
+ version { major 1 minor 0 }
+
+ attribute UInt32 TestPredefinedTypeAttribute
+ attribute UInt32 TestReadonlyAttribute readonly
+ attribute DerivedTypeCollection.TestStructExtended TestDerivedStructAttribute
+ attribute DerivedTypeCollection.TestArrayUInt64 TestDerivedArrayAttribute
+}
+
+interface TestFreedesktopDerivedInterface extends TestFreedesktopInterface {
+ version { major 1 minor 0 }
+
+ attribute UInt32 TestAttributedFromDerivedInterface
+} \ No newline at end of file