]> pilppa.org Git - lib1wire.git/blobdiff - src/DeviceTypeGeneric.hh
Started defining generic device type base classes that could be used
[lib1wire.git] / src / DeviceTypeGeneric.hh
diff --git a/src/DeviceTypeGeneric.hh b/src/DeviceTypeGeneric.hh
new file mode 100644 (file)
index 0000000..ba944a8
--- /dev/null
@@ -0,0 +1,24 @@
+/*
+ * GenericDevice.hh
+ *
+ *  Created on: Feb 28, 2011
+ *      Author: lamikr
+ */
+
+#ifndef DEVICETYPEGENERIC_HH_
+#define DEVICETYPEGENERIC_HH_
+
+#include <string>
+
+namespace plp {
+       class DeviceTypeGeneric {
+               public:
+                       virtual std::string get_id() = 0;
+                       virtual std::string get_name() = 0;
+                       virtual void set_name(std::string name_param) = 0;
+                       virtual std::string get_device_type() = 0;
+                       virtual void printout() = 0;
+       };
+}
+
+#endif /* DEVICETYPEGENERIC_HH_ */