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

#include "HybridOneScreenOrientationSpec.hpp"

namespace margelo::nitro::one {

  void HybridOneScreenOrientationSpec::loadHybridMethods() {
    // load base methods/properties
    HybridObject::loadHybridMethods();
    // load custom methods/properties
    registerHybrids(this, [](Prototype& prototype) {
      prototype.registerHybridMethod("getOrientation", &HybridOneScreenOrientationSpec::getOrientation);
      prototype.registerHybridMethod("lock", &HybridOneScreenOrientationSpec::lock);
      prototype.registerHybridMethod("unlock", &HybridOneScreenOrientationSpec::unlock);
      prototype.registerHybridMethod("addChangeListener", &HybridOneScreenOrientationSpec::addChangeListener);
    });
  }

} // namespace margelo::nitro::one
