X-Git-Url: http://git.code-monkey.de/?a=blobdiff_plain;f=pv%2Fprop%2Fbinding%2Fdecoderoptions.h;h=62f4fe184cb766e51b7affdfeab35ede0ad851fa;hb=7491a29f33471b38e161b3254f4d8e708b05f929;hp=8217b4791e19c6f9a3b98b4f71df8f5118634f5a;hpb=67fe5e9c02e4e9cfe94d465a0a5e5b598129e4e3;p=pulseview.git diff --git a/pv/prop/binding/decoderoptions.h b/pv/prop/binding/decoderoptions.h index 8217b47..62f4fe1 100644 --- a/pv/prop/binding/decoderoptions.h +++ b/pv/prop/binding/decoderoptions.h @@ -21,18 +21,27 @@ #ifndef PULSEVIEW_PV_PROP_BINDING_DECODEROPTIONS_H #define PULSEVIEW_PV_PROP_BINDING_DECODEROPTIONS_H -#include +#include #include "binding.h" namespace pv { + +namespace data { +class DecoderStack; +namespace decode { +class Decoder; +} +} + namespace prop { namespace binding { class DecoderOptions : public Binding { public: - DecoderOptions(const srd_decoder *decoder, GHashTable *options); + DecoderOptions(boost::shared_ptr decoder_stack, + boost::shared_ptr decoder); private: GVariant* getter(const char *id); @@ -40,8 +49,8 @@ private: void setter(const char *id, GVariant *value); private: - const srd_decoder *const _decoder; - GHashTable *const _options; + boost::shared_ptr _decoder_stack; + boost::shared_ptr _decoder; }; } // binding