X-Git-Url: http://git.code-monkey.de/?a=blobdiff_plain;f=pv%2Fdata%2Fdecode%2Fdecoder.hpp;h=55742c6070e5a020c00042b2c8894e744b13986e;hb=72486b789078f024e4f3404f81118c03b03e2b70;hp=4ec193b1df24dc73d61936e8e5d71bfb278b6316;hpb=27a3f09baf61c7f9b8c07630d34df75ddfdd476b;p=pulseview.git diff --git a/pv/data/decode/decoder.hpp b/pv/data/decode/decoder.hpp index 4ec193b..55742c6 100644 --- a/pv/data/decode/decoder.hpp +++ b/pv/data/decode/decoder.hpp @@ -28,8 +28,6 @@ #include using std::map; -using std::set; -using std::shared_ptr; using std::string; using std::vector; @@ -67,9 +65,12 @@ public: void set_option(const char *id, GVariant *value); + void apply_all_options(); + bool have_required_channels() const; - srd_decoder_inst* create_decoder_inst(srd_session *session) const; + srd_decoder_inst* create_decoder_inst(srd_session *session); + void invalidate_decoder_inst(); private: const srd_decoder *const decoder_; @@ -78,6 +79,7 @@ private: vector channels_; map options_; + srd_decoder_inst *decoder_inst_; }; } // namespace decode