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_;
vector<data::DecodeChannel*> channels_;
map<string, GVariant*> options_;
+ srd_decoder_inst *decoder_inst_;
};
} // namespace decode