]> pilppa.org Git - lib1wire.git/blobdiff - src/W1CounterDevice.hh
Refactoring and fixes.
[lib1wire.git] / src / W1CounterDevice.hh
index c5198bdfbb8c6fa4aa3b153705729fcd8071a911..c642ecac5748d7f3814e7e37e4cffe5fb9f53a05 100644 (file)
@@ -8,20 +8,22 @@
 #ifndef W1COUNTERDEVICE_HH_
 #define W1COUNTERDEVICE_HH_
 
+#include <vector>
+
 #include "W1Device.hh"
 
 namespace w1 {
-       class W1CounterDevice: public w1::W1Device {
+       class W1CounterDevice: public W1Device {
                public:
                        W1CounterDevice(int family_code_param,
                                        std::string device_id_param,
                                        dirent *direntry_param);
                        virtual ~W1CounterDevice();
-                       std::string get_raw_data();
                        std::string get_unit();
                        std::string get_device_type();
                protected:
-                       bool is_supported_family_code(int family_code);
+                       std::vector<double> *get_raw_data();
+                       bool is_supported_w1_family_code(int family_code);
        };
 }