projects
/
pulseview.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Implemented decoder options binding
[pulseview.git]
/
pv
/
prop
/
binding
/
decoderoptions.h
diff --git
a/pv/prop/binding/decoderoptions.h
b/pv/prop/binding/decoderoptions.h
index ac32d42cabf29c9260da357d5e22b6a7d4a620f2..8217b4791e19c6f9a3b98b4f71df8f5118634f5a 100644
(file)
--- a/
pv/prop/binding/decoderoptions.h
+++ b/
pv/prop/binding/decoderoptions.h
@@
-32,10
+32,16
@@
namespace binding {
class DecoderOptions : public Binding
{
public:
class DecoderOptions : public Binding
{
public:
- DecoderOptions(
struct srd_decoder *decoder
);
+ DecoderOptions(
const srd_decoder *decoder, GHashTable *options
);
-protected:
- struct srd_decoder *const _decoder;
+private:
+ GVariant* getter(const char *id);
+
+ void setter(const char *id, GVariant *value);
+
+private:
+ const srd_decoder *const _decoder;
+ GHashTable *const _options;
};
} // binding
};
} // binding