5 #include "dbusplugin.h"
6 #include "abstractdbusinterface.h"
7 #include "abstractroutingengine.h"
9 class SecurityAlertProperty: public DBusSink
12 SecurityAlertProperty(AbstractRoutingEngine* re, GDBusConnection* connection)
13 :DBusSink("org.automotive.securityAlert","/org/automotive/parking/securityAlert", re, connection, map<string, string>())
15 wantProperty<bool>(VehicleProperty::SecurityAlertStatus,"SecurityAlert", "b", AbstractProperty::Read);
17 supportedChanged(re->supported());
22 class ParkingBrakeProperty: public DBusSink
25 ParkingBrakeProperty(AbstractRoutingEngine* re, GDBusConnection* connection)
26 :DBusSink("org.automotive.parkingBrake","/org/automotive/parking/parkingBrake", re, connection, map<string, string>())
28 wantProperty<bool>(VehicleProperty::ParkingBrakeStatus,"ParkingBrake", "b", AbstractProperty::Read);
30 supportedChanged(re->supported());
34 class ParkingLightProperty: public DBusSink
37 ParkingLightProperty(AbstractRoutingEngine* re, GDBusConnection* connection)
38 :DBusSink("org.automotive.parkingLight","/org/automotive/parking/parkingLight", re, connection, map<string, string>())
40 wantProperty<bool>(VehicleProperty::ParkingLightStatus,"ParkingLight", "b", AbstractProperty::Read);
42 supportedChanged(re->supported());
47 class HazardLightProperty: public DBusSink
50 HazardLightProperty(AbstractRoutingEngine* re, GDBusConnection* connection)
51 :DBusSink("org.automotive.parkingLight","/org/automotive/parking/parkingLight", re, connection, map<string, string>())
53 wantProperty<bool>(VehicleProperty::HazardLightStatus,"HazardLight", "b", AbstractProperty::Read);
55 supportedChanged(re->supported());