X-Git-Url: http://git.code-monkey.de/?a=blobdiff_plain;f=pv%2Fdevicemanager.hpp;h=d6548ae12c99fe1b6f4e1310b742bd2ecdd87c45;hb=c732664f019d4934da970f4656c4857a4aa35398;hp=2ecf54af9aa3a84994da807806f85769769f9ff2;hpb=602bff3a242a92f74a04ed972082ec740f5cd093;p=pulseview.git diff --git a/pv/devicemanager.hpp b/pv/devicemanager.hpp index 2ecf54a..d6548ae 100644 --- a/pv/devicemanager.hpp +++ b/pv/devicemanager.hpp @@ -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 #include @@ -27,15 +27,15 @@ #include namespace Glib { - class VariantBase; +class VariantBase; } namespace sigrok { - class ConfigKey; - class Context; - class Driver; - class Device; - class HardwareDevice; +class ConfigKey; +class Context; +class Driver; +class Device; +class HardwareDevice; } namespace pv { @@ -49,6 +49,8 @@ public: ~DeviceManager(); + const std::shared_ptr& context() const; + std::shared_ptr context(); const std::list< std::shared_ptr >& @@ -86,4 +88,4 @@ protected: } // namespace pv -#endif // PULSEVIEW_PV_DEVICEMANAGER_H +#endif // PULSEVIEW_PV_DEVICEMANAGER_HPP