blob: 8a41c33b1ae6855314445c9493174d305194c86b (
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
|
package entertainment.tuner;
/*! Service Tuner */
service Tuner {
/*! attribute currentStation */
readonly Station currentStation;
/*! operation nextStation */
void nextStation();
/*! operation previousStation */
void previousStation();
/*! operation updateCurrentStation */
void updateCurrentStation(int stationId);
}
/*! 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 */
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;
}
|