X-Git-Url: https://sigrok.org/gitweb/?a=blobdiff_plain;ds=sidebyside;f=pv%2Fprop%2Fbinding%2Fdecoderoptions.h;h=c08f1017fb2a822106f21a603f7be76768d66050;hb=5b1994c45194a95069dfcadf637723f3db8249da;hp=11b0be724afd9d738da6de3105640a72f401a8b5;hpb=4e5a4405482a296ebb6014e627298ad156c78d55;p=pulseview.git diff --git a/pv/prop/binding/decoderoptions.h b/pv/prop/binding/decoderoptions.h index 11b0be72..c08f1017 100644 --- a/pv/prop/binding/decoderoptions.h +++ b/pv/prop/binding/decoderoptions.h @@ -21,15 +21,16 @@ #ifndef PULSEVIEW_PV_PROP_BINDING_DECODEROPTIONS_H #define PULSEVIEW_PV_PROP_BINDING_DECODEROPTIONS_H -#include - #include "binding.h" namespace pv { namespace data { +class DecoderStack; +namespace decode { class Decoder; } +} namespace prop { namespace binding { @@ -37,7 +38,8 @@ namespace binding { class DecoderOptions : public Binding { public: - DecoderOptions(boost::shared_ptr decoder); + DecoderOptions(boost::shared_ptr decoder_stack, + boost::shared_ptr decoder); private: GVariant* getter(const char *id); @@ -45,7 +47,8 @@ private: void setter(const char *id, GVariant *value); private: - boost::shared_ptr _decoder; + boost::shared_ptr _decoder_stack; + boost::shared_ptr _decoder; }; } // binding