]> sigrok.org Git - pulseview.git/blobdiff - pv/data/decode/decoder.hpp
Apply option changes immediately, not on decode stack rebuild
[pulseview.git] / pv / data / decode / decoder.hpp
index 1ef3a28a9316ad030d9ab193515c6c257e595bd5..02f3f04bfb11385d17bab9abb0a888396ff50bde 100644 (file)
@@ -67,7 +67,8 @@ public:
 
        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_;
@@ -76,6 +77,7 @@ private:
 
        vector<data::DecodeChannel*> channels_;
        map<string, GVariant*> options_;
+       srd_decoder_inst *decoder_inst_;
 };
 
 } // namespace decode