aboutsummaryrefslogtreecommitdiffstats
path: root/interfaces/org.qface.test.qface
blob: 50dd6a91367b53078af6b3c6de8a10067d86ce86 (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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
module org.qface.test 1.0

interface Interface1 {
}

interface Interface2 {
    bool v1
    int v2
    real v3
    string v4
    var v5
}

interface Interface3 {
    list<string> list1
    list<Type1> list2

    model<string> model1
    model<Type1> model2

//    map<string> map1
//    map<Type1> map1
}

interface Interface4 {
    string doSimple(string p1)
    Type1 doComplex(Type1 p1)
    void doMany(bool p1, int p2, string p3)

    signal notifyPrimitive(string p1)
    signal notifyComplex(Type1 p1)
}


struct Type1 {
    string v1
}

struct Type2 {
    string v1
    Type1 t1
}



enum Enumeration {
    ZERO,
    ONE
}

flag Flag {
    ONE,
    TWO,
    FOUR
}