diff options
author | Juergen Bocklage-Ryannel <juergen.bocklage-ryannel@pelagicore.com> | 2016-08-29 17:56:59 +0200 |
---|---|---|
committer | Juergen Ryannel <juergen.bocklage-ryannel@pelagicore.com> | 2016-11-30 10:01:19 +0100 |
commit | 287a0559673557b5da87fb1196b0a14612c48eba (patch) | |
tree | 6464abe519b807d7e34f531d92ded46bace4b6db /examples | |
parent | 2e0eedf3f07955667091e18c033d48a7ab1660ef (diff) |
renamed examples folder to input folder
Diffstat (limited to 'examples')
-rw-r--r-- | examples/entertainment.tuner.Tuner.qface | 49 | ||||
-rw-r--r-- | examples/test.qface | 26 | ||||
-rw-r--r-- | examples/vehicle.climate.ClimateControl.qface | 111 |
3 files changed, 0 insertions, 186 deletions
diff --git a/examples/entertainment.tuner.Tuner.qface b/examples/entertainment.tuner.Tuner.qface deleted file mode 100644 index 8a41c33..0000000 --- a/examples/entertainment.tuner.Tuner.qface +++ /dev/null @@ -1,49 +0,0 @@ -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; -} - - - diff --git a/examples/test.qface b/examples/test.qface deleted file mode 100644 index 3a6eb63..0000000 --- a/examples/test.qface +++ /dev/null @@ -1,26 +0,0 @@ -package com.pelagicore.test; - -service TestService { - int intValue; - readonly string stringValue; - bool boolValue; - real realValue; - - void call(); -} - -enum State { - Null = 0x00, - Loading = 0x01, - Ready = 0x02, - Failure = 0x03 -} - -/** - * The contact information - */ -struct Contact { - string name; - int age; - bool isMarried; -} diff --git a/examples/vehicle.climate.ClimateControl.qface b/examples/vehicle.climate.ClimateControl.qface deleted file mode 100644 index d3b6091..0000000 --- a/examples/vehicle.climate.ClimateControl.qface +++ /dev/null @@ -1,111 +0,0 @@ -package vehicle.climate; - -/*! - * The ClimateControl provides a QML interface to the climate control - * of the vehicle. - */ -service ClimateControl { - /*! - * Value is true if the air conditioning is enabled. - */ - bool airConditioning; - /*! - * value holds the airflow directions - */ - AirflowDirections airflowDirections; - /*! - * value is true if the heater is enabled. - */ - bool heater; - /*! - * value holds the fan speed level, where the level can be between - * minimumValue(off) to maximumValue (strongest). - */ - int fanSpeedLevel; - /*! - * value holds the steering wheel heater level, where the level can - * be between minimumValue(off) to maximumValue (warmest). - */ - int steeringWheelHeater; - /*! - * value holds the target temperature of the zone expressed - * in centigrades, where the temperature can be between - * minimumValue(coolest) to maximumValue (warmest). - */ - int targetTemperature; - /*! - * value holds the seat cooler level, where the level can be - * between minimumValue(off) to maximumValue (coolest). - */ - int seatCooler; - /*! - * value holds the seat heater level, where the level can be between - * minimumValue(off) to maximumValue (warmest). - */ - int seatHeater; - /*! - * value holds the outside temperature of the zone expressed in - * centigrades, where the temperature can be between - * minimumValue(coolest) to maximumValue (warmest). - */ - int outsideTemperature; - /*! - * value is true if the zone synchronization is enabled. - * - * Which zones and properties are synchronized is controlled - * by the backend implementing it. - */ - bool zoneSynchronization; - /*! - * value is true if defrost is enabled. Usually that means that the fans - * are on the highest level to remove ice from the windshield. - */ - bool defrost; - /*! - * value holds the recirculation mode - */ - RecirculationMode recirculationMode; - /*! - * value is true if the recirculation is currently running. - */ - bool recirculation; - /*! - * value holds the sensitivity level of the recirculation - * system when the recirculationMode is set to AutoRecirculation, - * where the level can be between minimumValue(least sensitive) - * to maximumValue(most sensitive). - */ - int recirculationSensitivityLevel; - /*! - * value holds the climate mode - */ - ClimateMode climateMode; - /*! - * value holds the intensity level of the fan when the climateMode - * is set to AutoClimate, where the level can be between - * minimumValue(least intensity) to maximumValue(most intensity). - */ - int automaticClimateFanIntensityLevel; -} - -flag AirflowDirection { - Windshield = 1, - Dashboard = 2, - Floor = 4 -} - -enum RecirculationMode { - RecirculationOff = 0x0, - RecirculationOn = 0x1, - AutoRecirculation = 0x2 -} - -enum ClimateMode { - ClimateOff = 0x0, - ClimateOn = 0x1, - AutoClimate = 0x2 -} - -service Extra { - -} |