X-Git-Url: https://sigrok.org/gitweb/?p=pulseview.git;a=blobdiff_plain;f=pv%2Fprop%2Fbinding%2Fdecoderoptions.h;h=8217b4791e19c6f9a3b98b4f71df8f5118634f5a;hp=ac32d42cabf29c9260da357d5e22b6a7d4a620f2;hb=67fe5e9c02e4e9cfe94d465a0a5e5b598129e4e3;hpb=4206fe26e6b3f6439e382a072f5ff67c009f412a diff --git a/pv/prop/binding/decoderoptions.h b/pv/prop/binding/decoderoptions.h index ac32d42c..8217b479 100644 --- a/pv/prop/binding/decoderoptions.h +++ b/pv/prop/binding/decoderoptions.h @@ -32,10 +32,16 @@ namespace binding { 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