*/
-#ifndef OBD2SOURCE_H
-#define OBD2SOURCE_H
-
-
+#ifndef TESTSOURCE_H
+#define TESTSOURCE_H
#include <abstractsource.h>
#include <string>
#include <termios.h>
#include <glib.h>
-
-
-
class TestPlugin : public AbstractSource
{
int supportedOperations();
- void supportedChanged(PropertyList) {}
+ void supportedChanged(const PropertyList &) {}
void setConfiguration(map<string, string> config);
//void randomizeProperties();
- void updateProperty(VehicleProperty::Property property,AbstractPropertyType *value);
+ void updateProperty(VehicleProperty::Property property, AbstractPropertyType *value);
- PropertyInfo getPropertyInfo(VehicleProperty::Property property);
+ PropertyInfo getPropertyInfo(const VehicleProperty::Property & property);
void propertyChanged(AbstractPropertyType *value);
private: