diff options
Diffstat (limited to 'tests/in/com.pelagicore.ivi.tuner.qface')
-rw-r--r-- | tests/in/com.pelagicore.ivi.tuner.qface | 39 |
1 files changed, 21 insertions, 18 deletions
diff --git a/tests/in/com.pelagicore.ivi.tuner.qface b/tests/in/com.pelagicore.ivi.tuner.qface index 36fab03..765e9f5 100644 --- a/tests/in/com.pelagicore.ivi.tuner.qface +++ b/tests/in/com.pelagicore.ivi.tuner.qface @@ -1,42 +1,45 @@ module com.pelagicore.ivi.tuner 1.0; -/*! Service Tuner */ +/** Service Tuner */ @service() @interface() interface Tuner { - /*! property currentStation */ + /** property currentStation */ readonly Station currentStation; - /*! operation nextStation */ + /** operation nextStation */ void nextStation(); - /*! operation previousStation */ + /** operation previousStation */ void previousStation(); - /*! operation updateCurrentStation */ - void updateCurrentStation(int stationId); + /** operation updateCurrentStation */ + void updateCurrentStation(int stationId); list<int> primitiveList; list<Station> complexList; model<int> primitiveModel; model<Station> complexModel; + + signal scanFinished(); + signal broadcastMessage(string message); } -/*! enum State */ +/** enum State */ enum State { - /*! value State.Null */ + /** value State.Null */ Null=0, - /*! value State.Loading */ + /** value State.Loading */ Loading=1, - /*! value State.Ready */ + /** value State.Ready */ Ready=2, - /*! value State.Error */ + /** value State.Error */ Error=3 } -/*! enum Waveband */ +/** enum Waveband */ @default(value=FM) enum Waveband { - /*! value Waveband.FM */ + /** value Waveband.FM */ FM=0, - /*! value Waveband.AM */ + /** value Waveband.AM */ AM=1 } @@ -45,13 +48,13 @@ flag Features { Stereo = 0x2, } -/*! struct Station */ +/** struct Station */ struct Station { - /*! member stationId */ + /** member stationId */ int stationId; - /*! member name */ + /** member name */ string name; -} +} |