projects
/
nihav.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
introduce option handling for decoders
[nihav.git]
/
nihav-game
/
src
/
codecs
/
lhst500f22.rs
diff --git
a/nihav-game/src/codecs/lhst500f22.rs
b/nihav-game/src/codecs/lhst500f22.rs
index eea2c9f483624fe1f216f8a1cfd08182d82668c3..e3535f57359a7282dfbbd8398122c79230351c8a 100644
(file)
--- a/
nihav-game/src/codecs/lhst500f22.rs
+++ b/
nihav-game/src/codecs/lhst500f22.rs
@@
-418,6
+418,12
@@
impl NADecoder for LHDecoder {
}
}
}
}
+impl NAOptionHandler for LHDecoder {
+ fn get_supported_options(&self) -> &[NAOptionDefinition] { &[] }
+ fn set_options(&mut self, _options: &[NAOption]) { }
+ fn query_option_value(&self, _name: &str) -> Option<NAValue> { None }
+}
+
pub fn get_decoder() -> Box<dyn NADecoder + Send> {
Box::new(LHDecoder::new())
}
pub fn get_decoder() -> Box<dyn NADecoder + Send> {
Box::new(LHDecoder::new())
}