]> sigrok.org Git - pulseview.git/blobdiff - pv/popups/deviceoptions.cpp
Use libsigrok C++ bindings (patch version 7).
[pulseview.git] / pv / popups / deviceoptions.cpp
index eaa036c2e237c4a38b20460709e3ef0c2664e447..3d069f799e1f40f9a6066148804c9e73f687109c 100644 (file)
 
 #include <pv/prop/property.h>
 
+#include <libsigrok/libsigrok.hpp>
+
 using std::shared_ptr;
 
+using sigrok::Device;
+
 namespace pv {
 namespace popups {
 
-DeviceOptions::DeviceOptions(shared_ptr<device::DevInst> dev_inst,
-       QWidget *parent) :
+DeviceOptions::DeviceOptions(shared_ptr<Device> device, QWidget *parent) :
        Popup(parent),
-       _dev_inst(dev_inst),
+       _device(device),
        _layout(this),
-       _binding(dev_inst)
+       _binding(device)
 {
        setLayout(&_layout);