added trip meter property
[profile/ivi/automotive-message-broker.git] / plugins / dbus / dbusplugin.h
index 7faa80b..2803eb1 100644 (file)
@@ -40,7 +40,12 @@ protected:
        template <typename T>
        void wantProperty(VehicleProperty::Property property, std::string propertyName, std::string signature, AbstractProperty::Access access)
        {
-               propertyDBusMap[property] = new BasicProperty<T>(propertyName, signature, access, this);
+               propertyDBusMap[property] = new BasicProperty<T>(routingEngine, property, propertyName, signature, access, this);
+       }
+
+       virtual void setProperty(VehicleProperty::Property name, AbstractPropertyType* value)
+       {
+               routingEngine->setProperty(name, value);
        }
 
        PropertyDBusMap propertyDBusMap;