X-Git-Url: https://sigrok.org/gitweb/?p=pulseview.git;a=blobdiff_plain;f=pv%2Fprop%2Fbinding%2Fdecoderoptions.h;h=7f14d0fd4448b3a328c93964fc668564aec100e5;hp=6dec9c2ec5bd9d4a2ba5938c7191d3b767dbe30d;hb=8dbbc7f0b9ea59d0f0d62225772f8a56eee125f5;hpb=182d2f5dbe8b631b24949e5b111762009d1eeefa diff --git a/pv/prop/binding/decoderoptions.h b/pv/prop/binding/decoderoptions.h index 6dec9c2e..7f14d0fd 100644 --- a/pv/prop/binding/decoderoptions.h +++ b/pv/prop/binding/decoderoptions.h @@ -42,21 +42,21 @@ namespace binding { class DecoderOptions : public Binding { public: - DecoderOptions(boost::shared_ptr decoder_stack, - boost::shared_ptr decoder); + DecoderOptions(std::shared_ptr decoder_stack, + std::shared_ptr decoder); private: - static boost::shared_ptr bind_enum(const QString &name, + static std::shared_ptr bind_enum(const QString &name, const srd_decoder_option *option, Property::Getter getter, Property::Setter setter); - GVariant* getter(const char *id); + Glib::VariantBase getter(const char *id); - void setter(const char *id, GVariant *value); + void setter(const char *id, Glib::VariantBase value); private: - boost::shared_ptr _decoder_stack; - boost::shared_ptr _decoder; + std::shared_ptr decoder_stack_; + std::shared_ptr decoder_; }; } // binding