Q_OBJECT
public:
- DeviceOptions(sr_dev_inst *sdi, QWidget *parent);
+ DeviceOptions(std::shared_ptr<device::DevInst> dev_inst,
+ QWidget *parent);
+
+ pv::prop::binding::DeviceOptions& binding();
private:
- sr_dev_inst *const _sdi;
+ std::shared_ptr<device::DevInst> _dev_inst;
QVBoxLayout _layout;