]> pilppa.org Git - lib1wire.git/blobdiff - src/W1CounterDevice.hh
Initial support for reading and writing device specific config data.
[lib1wire.git] / src / W1CounterDevice.hh
index b2080e044a680039bc9cdd18ed2aea62c8b433ff..837488c248cc6e0112c70e9b028865d304cbc557 100644 (file)
 namespace w1 {
        class W1CounterDevice: public w1::W1Device {
                public:
-                       W1CounterDevice(dirent *direntry, int family_code_param, std::string id_param);
+                       W1CounterDevice(int family_code_param,
+                                       std::string device_id_param,
+                                       dirent *direntry_param);
                        virtual ~W1CounterDevice();
                        std::string get_raw_value();
                        std::string get_unit();
-                       std::string get_devicetype_name();
+                       std::string get_device_type();
                protected:
                        bool is_supported_family_code(int family_code);
        };