]> sigrok.org Git - pulseview.git/blobdiff - pv/devices/device.hpp
Fix #605 by closing current device when another is selected
[pulseview.git] / pv / devices / device.hpp
index 612d750940612e70e24e9eb27291590585f709d3..acc772ecc5eaab8aed2ccc746f0e9911cc42590b 100644 (file)
@@ -64,7 +64,11 @@ public:
        virtual std::string display_name(
                const DeviceManager &device_manager) const = 0;
 
-       virtual void create() = 0;
+       virtual void open() = 0;
+
+       virtual void close() = 0;
+
+       virtual void start();
 
        virtual void run();