projects
/
pulseview.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Moved decoder config into the popup
[pulseview.git]
/
pv
/
prop
/
binding
/
decoderoptions.h
diff --git
a/pv/prop/binding/decoderoptions.h
b/pv/prop/binding/decoderoptions.h
index 8217b4791e19c6f9a3b98b4f71df8f5118634f5a..11b0be724afd9d738da6de3105640a72f401a8b5 100644
(file)
--- a/
pv/prop/binding/decoderoptions.h
+++ b/
pv/prop/binding/decoderoptions.h
@@
-21,18
+21,23
@@
#ifndef PULSEVIEW_PV_PROP_BINDING_DECODEROPTIONS_H
#define PULSEVIEW_PV_PROP_BINDING_DECODEROPTIONS_H
#ifndef PULSEVIEW_PV_PROP_BINDING_DECODEROPTIONS_H
#define PULSEVIEW_PV_PROP_BINDING_DECODEROPTIONS_H
-#include <
libsigrokdecode/libsigrokdecode
.h>
+#include <
glib
.h>
#include "binding.h"
namespace pv {
#include "binding.h"
namespace pv {
+
+namespace data {
+class Decoder;
+}
+
namespace prop {
namespace binding {
class DecoderOptions : public Binding
{
public:
namespace prop {
namespace binding {
class DecoderOptions : public Binding
{
public:
- DecoderOptions(
const srd_decoder *decoder, GHashTable *options
);
+ DecoderOptions(
boost::shared_ptr<pv::data::Decoder> decoder
);
private:
GVariant* getter(const char *id);
private:
GVariant* getter(const char *id);
@@
-40,8
+45,7
@@
private:
void setter(const char *id, GVariant *value);
private:
void setter(const char *id, GVariant *value);
private:
- const srd_decoder *const _decoder;
- GHashTable *const _options;
+ boost::shared_ptr<pv::data::Decoder> _decoder;
};
} // binding
};
} // binding