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

#include "HybridPhotoSpec.hpp"

namespace margelo::nitro::camera {

  void HybridPhotoSpec::loadHybridMethods() {
    // load base methods/properties
    HybridObject::loadHybridMethods();
    // load custom methods/properties
    registerHybrids(this, [](Prototype& prototype) {
      prototype.registerHybridGetter("isMirrored", &HybridPhotoSpec::getIsMirrored);
      prototype.registerHybridGetter("orientation", &HybridPhotoSpec::getOrientation);
      prototype.registerHybridGetter("timestamp", &HybridPhotoSpec::getTimestamp);
      prototype.registerHybridGetter("isRawPhoto", &HybridPhotoSpec::getIsRawPhoto);
      prototype.registerHybridGetter("width", &HybridPhotoSpec::getWidth);
      prototype.registerHybridGetter("height", &HybridPhotoSpec::getHeight);
      prototype.registerHybridGetter("containerFormat", &HybridPhotoSpec::getContainerFormat);
      prototype.registerHybridGetter("hasPixelBuffer", &HybridPhotoSpec::getHasPixelBuffer);
      prototype.registerHybridGetter("depth", &HybridPhotoSpec::getDepth);
      prototype.registerHybridGetter("calibrationData", &HybridPhotoSpec::getCalibrationData);
      prototype.registerHybridMethod("getPixelBuffer", &HybridPhotoSpec::getPixelBuffer);
      prototype.registerHybridMethod("saveToFileAsync", &HybridPhotoSpec::saveToFileAsync);
      prototype.registerHybridMethod("saveToTemporaryFileAsync", &HybridPhotoSpec::saveToTemporaryFileAsync);
      prototype.registerHybridMethod("getFileData", &HybridPhotoSpec::getFileData);
      prototype.registerHybridMethod("getFileDataAsync", &HybridPhotoSpec::getFileDataAsync);
      prototype.registerHybridMethod("toImage", &HybridPhotoSpec::toImage);
      prototype.registerHybridMethod("toImageAsync", &HybridPhotoSpec::toImageAsync);
    });
  }

} // namespace margelo::nitro::camera
