X-Git-Url: https://sigrok.org/gitweb/?p=pulseview.git;a=blobdiff_plain;f=pv%2Fdevicemanager.hpp;h=9b8ef3d120a3a4c68f97a9e359156270516ed4eb;hp=2c9343001211409e8e836d95c9d5d623417ebcd2;hb=72486b789078f024e4f3404f81118c03b03e2b70;hpb=58d8e4c6c50bb119d405d754a6fb122d932d6510 diff --git a/pv/devicemanager.hpp b/pv/devicemanager.hpp index 2c934300..9b8ef3d1 100644 --- a/pv/devicemanager.hpp +++ b/pv/devicemanager.hpp @@ -58,7 +58,8 @@ class Session; class DeviceManager { public: - DeviceManager(shared_ptr context, std::string driver); + DeviceManager(shared_ptr context, + std::string driver, bool do_scan); ~DeviceManager() = default; @@ -69,6 +70,8 @@ public: const list< shared_ptr >& devices() const; shared_ptr user_spec_device() const; + bool driver_supported(shared_ptr driver) const; + list< shared_ptr > driver_scan( shared_ptr driver, map drvopts);