blob: f6a5c9fcaa13b4da39e2cfe4c2964c88d8130012 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
@config_simulator: { simulationFile: "qrc:/simulation.qml" }
module Example.IVI.InstrumentCluster 1.0
interface InstrumentCluster {
readonly int speed;
readonly int rpm;
readonly real fuel;
@config_simulator: { default: 15 }
readonly real temperature;
readonly SystemType systemType;
readonly Warning currentWarning;
}
enum SystemType {
Imperial,
Metric
}
struct Warning {
string color
string text
string icon
}
|