projects
/
pulseview.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Moved config getting/setting into DevInst
[pulseview.git]
/
pv
/
devinst.h
diff --git
a/pv/devinst.h
b/pv/devinst.h
index 64d27583b24e08e8226bb14121dddb0454805ceb..4b61810933bf5c6a1ab2b571a8032093bc09b2ec 100644
(file)
--- a/
pv/devinst.h
+++ b/
pv/devinst.h
@@
-25,7
+25,10
@@
#include <boost/shared_ptr.hpp>
#include <boost/shared_ptr.hpp>
+#include <glib.h>
+
struct sr_dev_inst;
struct sr_dev_inst;
+struct sr_probe_group;
namespace pv {
namespace pv {
@@
-38,6
+41,12
@@
public:
std::string format_device_title() const;
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;
};
private:
sr_dev_inst *const _sdi;
};