* 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>
#include <string>
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 {
~DeviceManager();
+ const std::shared_ptr<sigrok::Context>& context() const;
+
std::shared_ptr<sigrok::Context> context();
const std::list< std::shared_ptr<sigrok::HardwareDevice> >&
} // namespace pv
-#endif // PULSEVIEW_PV_DEVICEMANAGER_H
+#endif // PULSEVIEW_PV_DEVICEMANAGER_HPP