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

#include "HybridNitroNetworkInfoSpec.hpp"

namespace margelo::nitro::nitronetworkinfo {

  void HybridNitroNetworkInfoSpec::loadHybridMethods() {
    // load base methods/properties
    HybridObject::loadHybridMethods();
    // load custom methods/properties
    registerHybrids(this, [](Prototype& prototype) {
      prototype.registerHybridGetter("isConnected", &HybridNitroNetworkInfoSpec::getIsConnected);
      prototype.registerHybridGetter("connectionType", &HybridNitroNetworkInfoSpec::getConnectionType);
      prototype.registerHybridMethod("addListener", &HybridNitroNetworkInfoSpec::addListener);
    });
  }

} // namespace margelo::nitro::nitronetworkinfo
