projects
/
pulseview.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix #1259 by not silently ignoring file read errors
[pulseview.git]
/
pv
/
data
/
decode
/
decoder.hpp
diff --git
a/pv/data/decode/decoder.hpp
b/pv/data/decode/decoder.hpp
index 1ef3a28a9316ad030d9ab193515c6c257e595bd5..55742c6070e5a020c00042b2c8894e744b13986e 100644
(file)
--- a/
pv/data/decode/decoder.hpp
+++ b/
pv/data/decode/decoder.hpp
@@
-65,9
+65,12
@@
public:
void set_option(const char *id, GVariant *value);
void set_option(const char *id, GVariant *value);
+ void apply_all_options();
+
bool have_required_channels() const;
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_;
private:
const srd_decoder *const decoder_;
@@
-76,6
+79,7
@@
private:
vector<data::DecodeChannel*> channels_;
map<string, GVariant*> options_;
vector<data::DecodeChannel*> channels_;
map<string, GVariant*> options_;
+ srd_decoder_inst *decoder_inst_;
};
} // namespace decode
};
} // namespace decode