blob: f8eb4afc9da561e04221e9ff21c8868544274764 (
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
56
57
|
module com.pelagicore.ivi.tuner 1.0;
/** Service Tuner */
@service()
@interface()
interface Tuner {
/** property currentStation */
readonly Station currentStation;
/** operation nextStation */
void nextStation();
/** operation previousStation */
void previousStation();
/** operation updateCurrentStation */
void updateCurrentStation(int stationId);
list<int> primitiveList;
list<Station> complexList;
model<int> primitiveModel;
model<Station> complexModel;
}
/** enum State */
enum State {
/** value State.Null */
Null=0,
/** value State.Loading */
Loading=1,
/** value State.Ready */
Ready=2,
/** value State.Error */
Error=3
}
/** enum Waveband */
@default(value=FM)
enum Waveband {
/** value Waveband.FM */
FM=0,
/** value Waveband.AM */
AM=1
}
flag Features {
Mono = 0x1,
Stereo = 0x2,
}
/** struct Station */
struct Station {
/** member stationId */
int stationId;
/** member name */
string name;
}
|