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

#import <Foundation/Foundation.h>
#import <NitroModules/HybridObjectRegistry.hpp>
#import "NitroVisionCameraOcrPlus-Swift-Cxx-Umbrella.hpp"
#import <type_traits>

#include "HybridTextRecognizerSpecSwift.hpp"
#include "HybridTranslatorSpecSwift.hpp"

@interface NitroVisionCameraOcrPlusAutolinking : NSObject
@end

@implementation NitroVisionCameraOcrPlusAutolinking

+ (void) load {
  using namespace margelo::nitro;
  using namespace margelo::nitro::visioncameraocrplus;

  HybridObjectRegistry::registerHybridObjectConstructor(
    "TextRecognizer",
    []() -> std::shared_ptr<HybridObject> {
      std::shared_ptr<HybridTextRecognizerSpec> hybridObject = NitroVisionCameraOcrPlus::NitroVisionCameraOcrPlusAutolinking::createTextRecognizer();
      return hybridObject;
    }
  );
  HybridObjectRegistry::registerHybridObjectConstructor(
    "Translator",
    []() -> std::shared_ptr<HybridObject> {
      std::shared_ptr<HybridTranslatorSpec> hybridObject = NitroVisionCameraOcrPlus::NitroVisionCameraOcrPlusAutolinking::createTranslator();
      return hybridObject;
    }
  );
}

@end
