blob: 18c3450062d2c1c1869e6faca8d9e4e6d4e3d081 [file] [log] [blame]
Lei YUe57c38e2019-09-20 17:38:17 +08001description: >
2 A test interface
3properties:
4 - name: SomeValue
5 type: int64
Patrick Williamse1c73d32020-07-10 16:02:27 -05006 - name: ReadonlyValue
7 type: int64
8 flags:
9 - readonly
10 - emits_change
11 - name: ConstValue
12 type: int64
13 flags:
14 - const
Patrick Williams4ac7e562020-09-10 08:06:11 -050015 - name: Countable
16 type: size
Patrick Williams4690d882020-10-08 11:09:58 -050017 - name: SignedCountable
18 type: ssize
19 - name: UnsignedInt32
20 type: uint32
21 - name: UnsignedInt64
22 type: uint64
Patrick Williamsdbfb9672020-09-11 16:06:38 -050023 - name: ObjectPath
Patrick Williamsd5ce3462020-09-11 16:16:30 -050024 type: object_path
Patrick Williamsc67e1e82020-11-04 12:39:24 -060025 - name: DoubleAsNAN
26 type: double
27 default: NaN
28 - name: DoubleAsInf
29 type: double
30 default: Infinity
31 - name: DoubleAsNegInf
32 type: double
33 default: -Infinity
34 - name: DoubleAsEpsilon
35 type: double
36 default: Epsilon
Patrick Williamsea56ec32021-07-14 07:41:47 -050037
38 - name: VariantOfEnums
39 type: variant[enum[self.EnumOne], string, enum[self.EnumTwo]]
40
41enumerations:
42 - name: EnumOne
43 values:
44 - name: OneA
45 - name: OneB
46 - name: EnumTwo
47 values:
48 - name: TwoA
49 - name: TwoB