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

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

#include "HybridNitroKeyEventSpecSwift.hpp"

@interface NitroKeyEventAutolinking : NSObject
@end

@implementation NitroKeyEventAutolinking

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

  HybridObjectRegistry::registerHybridObjectConstructor(
    "NitroKeyEvent",
    []() -> std::shared_ptr<HybridObject> {
      std::shared_ptr<HybridNitroKeyEventSpec> hybridObject = NitroKeyEvent::NitroKeyEventAutolinking::createNitroKeyEvent();
      return hybridObject;
    }
  );
}

@end
