X-Git-Url: https://sigrok.org/gitweb/?p=pulseview.git;a=blobdiff_plain;f=pv%2Fdevinst.h;h=4b61810933bf5c6a1ab2b571a8032093bc09b2ec;hp=64d27583b24e08e8226bb14121dddb0454805ceb;hb=8dd4419097191563045396946f0dcff5ac9714b2;hpb=1aef69f9792d8c032269afd6cfb2122b125aea4d diff --git a/pv/devinst.h b/pv/devinst.h index 64d27583..4b618109 100644 --- a/pv/devinst.h +++ b/pv/devinst.h @@ -25,7 +25,10 @@ #include +#include + struct sr_dev_inst; +struct sr_probe_group; namespace pv { @@ -38,6 +41,12 @@ public: std::string format_device_title() const; + GVariant* get_config(const sr_probe_group *group, int key); + + bool set_config(const sr_probe_group *group, int key, GVariant *data); + + GVariant* list_config(const sr_probe_group *group, int key); + private: sr_dev_inst *const _sdi; };