///
/// VisionCameraBarcodeScannerAutolinking.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 "VisionCameraBarcodeScanner-Swift-Cxx-Umbrella.hpp"
#import <type_traits>

#include "HybridBarcodeScannerFactorySpecSwift.hpp"

@interface VisionCameraBarcodeScannerAutolinking : NSObject
@end

@implementation VisionCameraBarcodeScannerAutolinking

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

  HybridObjectRegistry::registerHybridObjectConstructor(
    "BarcodeScannerFactory",
    []() -> std::shared_ptr<HybridObject> {
      std::shared_ptr<HybridBarcodeScannerFactorySpec> hybridObject = VisionCameraBarcodeScanner::VisionCameraBarcodeScannerAutolinking::createBarcodeScannerFactory();
      return hybridObject;
    }
  );
}

@end
