X-Git-Url: http://git.code-monkey.de/?a=blobdiff_plain;f=pv%2Fprop%2Fbinding%2Fdecoderoptions.h;h=e507e87c3accebafe17d356eace0a52dadc6defe;hb=6e89374a6796f8d5d9cc61b0a2f7e98562a034ae;hp=ac32d42cabf29c9260da357d5e22b6a7d4a620f2;hpb=21ad818feabcb0a1cb51c61c534adce553c7e325;p=pulseview.git diff --git a/pv/prop/binding/decoderoptions.h b/pv/prop/binding/decoderoptions.h index ac32d42..e507e87 100644 --- a/pv/prop/binding/decoderoptions.h +++ b/pv/prop/binding/decoderoptions.h @@ -21,21 +21,31 @@ #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 prop { namespace binding { class DecoderOptions : public Binding { public: - DecoderOptions(struct srd_decoder *decoder); + DecoderOptions(boost::shared_ptr decoder); + +private: + GVariant* getter(const char *id); + + void setter(const char *id, GVariant *value); -protected: - struct srd_decoder *const _decoder; +private: + boost::shared_ptr _decoder; }; } // binding