]> sigrok.org Git - pulseview.git/blobdiff - pv/devinst.h
Moved config getting/setting into DevInst
[pulseview.git] / pv / devinst.h
index 64d27583b24e08e8226bb14121dddb0454805ceb..4b61810933bf5c6a1ab2b571a8032093bc09b2ec 100644 (file)
 
 #include <boost/shared_ptr.hpp>
 
+#include <glib.h>
+
 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;
 };