From: Kevron Rees Date: Tue, 27 Nov 2012 03:21:31 +0000 (-0800) Subject: register air intake X-Git-Tag: 0.6.0~8^2~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=2c625a3827a6b2693a707b6513740240dc04a1f3;p=profile%2Fivi%2Fautomotive-message-broker.git register air intake --- diff --git a/lib/abstractroutingengine.h b/lib/abstractroutingengine.h index 2f87662..1bf7578 100644 --- a/lib/abstractroutingengine.h +++ b/lib/abstractroutingengine.h @@ -170,6 +170,7 @@ public: virtual void subscribeToProperty(VehicleProperty::Property, AbstractSink* self) = 0; virtual void unsubscribeToProperty(VehicleProperty::Property, AbstractSink* self) = 0; virtual PropertyList supported() = 0; + }; #endif // ABSTRACTROUTINGENGINE_H diff --git a/lib/vehicleproperty.cpp b/lib/vehicleproperty.cpp index a51c52d..5a47d5b 100644 --- a/lib/vehicleproperty.cpp +++ b/lib/vehicleproperty.cpp @@ -117,6 +117,7 @@ VehicleProperty::VehicleProperty() registerProperty(AccelerationZ, [](){ return new AccelerationType(0); }); registerProperty(MassAirFlow, [](){ return new MassAirFlowType(0); }); registerProperty(ButtonEvent, [](){ return new ButtonEventType(ButtonEvents::NoButton); }); + REGISTERPROPERTY(AirIntakeTemperature,0) registerProperty(BatteryVoltage, [](){ return new BatteryVoltageType(0); }); registerProperty(InteriorTemperature, [](){ return new InteriorTemperatureType(0); }); registerProperty(VIN, [](){ return new VINType(""); });