projects
/
pulseview.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
CMakeLists.txt: Enable unit tests by default.
[pulseview.git]
/
pv
/
devices
/
hardwaredevice.hpp
diff --git
a/pv/devices/hardwaredevice.hpp
b/pv/devices/hardwaredevice.hpp
index 9f052d7e85efa5a5a35b494b201dd310354631af..bc8e47a589c9640e2828d1c16b80293c49e80ce5 100644
(file)
--- 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<sigrok::Context> context_;
+ bool device_open_;
};
} // namespace devices