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

#include "HybridTextToSpeechSpec.hpp"

namespace margelo::nitro::nitrotexttospeech {

  void HybridTextToSpeechSpec::loadHybridMethods() {
    // load base methods/properties
    HybridObject::loadHybridMethods();
    // load custom methods/properties
    registerHybrids(this, [](Prototype& prototype) {
      prototype.registerHybridMethod("speak", &HybridTextToSpeechSpec::speak);
      prototype.registerHybridMethod("stop", &HybridTextToSpeechSpec::stop);
      prototype.registerHybridMethod("pause", &HybridTextToSpeechSpec::pause);
      prototype.registerHybridMethod("resume", &HybridTextToSpeechSpec::resume);
      prototype.registerHybridMethod("getVoices", &HybridTextToSpeechSpec::getVoices);
      prototype.registerHybridMethod("addEventListener", &HybridTextToSpeechSpec::addEventListener);
    });
  }

} // namespace margelo::nitro::nitrotexttospeech
