introduce option handling for decoders
[nihav.git] / nihav-game / src / codecs / lhst500f22.rs
index eea2c9f483624fe1f216f8a1cfd08182d82668c3..e3535f57359a7282dfbbd8398122c79230351c8a 100644 (file)
@@ -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())
 }