///
/// HybridOneSpeechSynthesisSpec.cpp
/// This file was generated by nitrogen. DO NOT MODIFY THIS FILE.
/// https://github.com/mrousavy/nitro
/// Copyright © Marc Rousavy @ Margelo
///

#include "HybridOneSpeechSynthesisSpec.hpp"

namespace margelo::nitro::one {

  void HybridOneSpeechSynthesisSpec::loadHybridMethods() {
    // load base methods/properties
    HybridObject::loadHybridMethods();
    // load custom methods/properties
    registerHybrids(this, [](Prototype& prototype) {
      prototype.registerHybridGetter("maxInputLength", &HybridOneSpeechSynthesisSpec::getMaxInputLength);
      prototype.registerHybridMethod("speak", &HybridOneSpeechSynthesisSpec::speak);
      prototype.registerHybridMethod("stop", &HybridOneSpeechSynthesisSpec::stop);
      prototype.registerHybridMethod("pause", &HybridOneSpeechSynthesisSpec::pause);
      prototype.registerHybridMethod("resume", &HybridOneSpeechSynthesisSpec::resume);
      prototype.registerHybridMethod("isSpeaking", &HybridOneSpeechSynthesisSpec::isSpeaking);
      prototype.registerHybridMethod("getAvailableVoices", &HybridOneSpeechSynthesisSpec::getAvailableVoices);
    });
  }

} // namespace margelo::nitro::one
