summaryrefslogtreecommitdiff
path: root/tests/in/test.qface
diff options
context:
space:
mode:
Diffstat (limited to 'tests/in/test.qface')
-rw-r--r--tests/in/test.qface33
1 files changed, 33 insertions, 0 deletions
diff --git a/tests/in/test.qface b/tests/in/test.qface
new file mode 100644
index 0000000..399bb6d
--- /dev/null
+++ b/tests/in/test.qface
@@ -0,0 +1,33 @@
+package com.pelagicore.test;
+
+service ContactService {
+ State state;
+ int intValue;
+ readonly string stringValue;
+ bool boolValue;
+ real realValue;
+ Contact currentContact;
+
+ void addContact(Contact contact);
+ void removeContact(Contact contact);
+ void updateContact(Contact contact);
+
+ list<Contact> contactList;
+ model<Contact> contactModel;
+}
+
+enum State {
+ Null = 0x00,
+ Loading = 0x01,
+ Ready = 0x02,
+ Failure = 0x03
+}
+
+/*!
+ * The contact information
+ */
+struct Contact {
+ string name;
+ int age;
+ bool isMarried;
+}