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

#include "HybridHapticSpecSwift.hpp"

@interface NitroHapticAutolinking : NSObject
@end

@implementation NitroHapticAutolinking

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

  HybridObjectRegistry::registerHybridObjectConstructor(
    "Haptic",
    []() -> std::shared_ptr<HybridObject> {
      std::shared_ptr<HybridHapticSpec> hybridObject = NitroHaptic::NitroHapticAutolinking::createHaptic();
      return hybridObject;
    }
  );
}

@end
