X-Git-Url: http://pilppa.org/gitweb/?p=lib1wire.git;a=blobdiff_plain;f=src%2FDeviceTypeGeneric.hh;fp=src%2FDeviceTypeGeneric.hh;h=ba944a8c792a78aa236cf682936a6dd8edad9a6b;hp=0000000000000000000000000000000000000000;hb=6caee6cb22c1334701afe7aa30bcf9668ca3a5c5;hpb=9d1c70c1f8f130ad17cf8e58d54387714b6f43b5 diff --git a/src/DeviceTypeGeneric.hh b/src/DeviceTypeGeneric.hh new file mode 100644 index 0000000..ba944a8 --- /dev/null +++ b/src/DeviceTypeGeneric.hh @@ -0,0 +1,24 @@ +/* + * GenericDevice.hh + * + * Created on: Feb 28, 2011 + * Author: lamikr + */ + +#ifndef DEVICETYPEGENERIC_HH_ +#define DEVICETYPEGENERIC_HH_ + +#include + +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_ */