X-Git-Url: https://sigrok.org/gitweb/?p=pulseview.git;a=blobdiff_plain;f=pv%2Fdevices%2Fhardwaredevice.hpp;h=bc8e47a589c9640e2828d1c16b80293c49e80ce5;hp=9f052d7e85efa5a5a35b494b201dd310354631af;hb=2ad82c2e40b6865481733913a2c32735602f63c4;hpb=b485408f20c39ae8d05372a5faffe15653c74705 diff --git a/pv/devices/hardwaredevice.hpp b/pv/devices/hardwaredevice.hpp index 9f052d7e..bc8e47a5 100644 --- a/pv/devices/hardwaredevice.hpp +++ b/pv/devices/hardwaredevice.hpp @@ -53,10 +53,13 @@ public: */ std::string display_name(const DeviceManager &device_manager) const; - void create(); + void open(); + + void close(); private: const std::shared_ptr context_; + bool device_open_; }; } // namespace devices