]> sigrok.org Git - pulseview.git/blobdiff - pv/devicemanager.hpp
pv::binding::InputOutput: Bound up more integer types and Bool
[pulseview.git] / pv / devicemanager.hpp
index 2ecf54af9aa3a84994da807806f85769769f9ff2..b99a047c6327100f9f0d15fb9b92f0ece53d418a 100644 (file)
@@ -18,8 +18,8 @@
  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301 USA
  */
 
-#ifndef PULSEVIEW_PV_DEVICEMANAGER_H
-#define PULSEVIEW_PV_DEVICEMANAGER_H
+#ifndef PULSEVIEW_PV_DEVICEMANAGER_HPP
+#define PULSEVIEW_PV_DEVICEMANAGER_HPP
 
 #include <list>
 #include <map>
@@ -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> >&
@@ -86,4 +88,4 @@ protected:
 
 } // namespace pv
 
-#endif // PULSEVIEW_PV_DEVICEMANAGER_H
+#endif // PULSEVIEW_PV_DEVICEMANAGER_HPP