X-Git-Url: https://sigrok.org/gitweb/?p=pulseview.git;a=blobdiff_plain;f=pv%2Fprop%2Fbinding%2Fdeviceoptions.h;h=ca27a5b7fc69590654316bf08645eb4cf638d1e1;hp=ab0f01716f0377c563c5288a14050bed8ea7fae2;hb=19adbc2c342b190161ec1223377a3619974b91f7;hpb=5b8b1e47bd0d8c0d2519f83855a84f1820f1955e diff --git a/pv/prop/binding/deviceoptions.h b/pv/prop/binding/deviceoptions.h index ab0f0171..ca27a5b7 100644 --- a/pv/prop/binding/deviceoptions.h +++ b/pv/prop/binding/deviceoptions.h @@ -26,18 +26,24 @@ #include -#include - #include "binding.h" +#include + +struct sr_dev_inst; +struct sr_probe_group; + namespace pv { + +class DevInst; + namespace prop { namespace binding { class DeviceOptions : public Binding { public: - DeviceOptions(const sr_dev_inst *sdi, + DeviceOptions(boost::shared_ptr dev_inst, const sr_probe_group *group = NULL); private: @@ -62,7 +68,7 @@ private: static QString print_voltage_threshold(GVariant *const gvar); protected: - const sr_dev_inst *const _sdi; + boost::shared_ptr _dev_inst; const sr_probe_group *const _group; };