Merge pull request #69 from fredcadete/master
[profile/ivi/automotive-message-broker.git] / plugins / testplugin / testplugin.h
index efeb981..a678196 100644 (file)
@@ -18,10 +18,8 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
 */
 
 
-#ifndef OBD2SOURCE_H
-#define OBD2SOURCE_H
-
-
+#ifndef TESTSOURCE_H
+#define TESTSOURCE_H
 
 #include <abstractsource.h>
 #include <string>
@@ -32,9 +30,6 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
 #include <termios.h>
 #include <glib.h>
 
-
-
-
 class TestPlugin : public AbstractSource
 {
 
@@ -52,12 +47,12 @@ public:
 
        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: