blob: b510c0af31dfd43de808ba1e0f6c99c1134d0774 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
#ifndef ENVIRONMENTPROPERTIES_H_
#define ENVIRONMENTPROPERTIES_H_
#include "dbusplugin.h"
#include "abstractdbusinterface.h"
#include "abstractroutingengine.h"
/** @interface ExteriorBrightness **/
class ExteriorBrightnessProperty: public DBusSink
{
public:
ExteriorBrightnessProperty(AbstractRoutingEngine* re, GDBusConnection* connection)
:DBusSink("org.automotive.ExteriorBrightness","/org/automotive/environment/ExteriorBrightness", re, connection, map<string, string>())
{
wantProperty<uint16_t>(VehicleProperty::ExteriorBrightness,"ExteriorBrightness", "q", AbstractProperty::Read);
supportedChanged(re->supported());
}
};
#endif
|