]> sigrok.org Git - pulseview.git/blobdiff - pv/devicemanager.hpp
DeviceManager: Added const context accessor
[pulseview.git] / pv / devicemanager.hpp
index 5aed775821300805ebc279439dab11995d2f8894..b99a047c6327100f9f0d15fb9b92f0ece53d418a 100644 (file)
@@ -49,6 +49,8 @@ public:
 
        ~DeviceManager();
 
+       const std::shared_ptr<sigrok::Context>& context() const;
+
        std::shared_ptr<sigrok::Context> context();
 
        const std::list< std::shared_ptr<sigrok::HardwareDevice> >&