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

#include "HybridNitroShareIntentSpec.hpp"

namespace margelo::nitro::nitroshareintent {

  void HybridNitroShareIntentSpec::loadHybridMethods() {
    // load base methods/properties
    HybridObject::loadHybridMethods();
    // load custom methods/properties
    registerHybrids(this, [](Prototype& prototype) {
      prototype.registerHybridMethod("getInitialShare", &HybridNitroShareIntentSpec::getInitialShare);
      prototype.registerHybridMethod("onIntentListener", &HybridNitroShareIntentSpec::onIntentListener);
      prototype.registerHybridMethod("onErrorListener", &HybridNitroShareIntentSpec::onErrorListener);
      prototype.registerHybridMethod("removeListener", &HybridNitroShareIntentSpec::removeListener);
      prototype.registerHybridMethod("clearShareIntent", &HybridNitroShareIntentSpec::clearShareIntent);
    });
  }

} // namespace margelo::nitro::nitroshareintent
