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

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

#include "HybridNitroAccessibilityModuleSpecSwift.hpp"
#include "HybridNitroDeviceModuleSpecSwift.hpp"

@interface NitroStyleSheetAutolinking : NSObject
@end

@implementation NitroStyleSheetAutolinking

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

  HybridObjectRegistry::registerHybridObjectConstructor(
    "NitroAccessibilityModule",
    []() -> std::shared_ptr<HybridObject> {
      std::shared_ptr<margelo::nitro::stylesheet::HybridNitroAccessibilityModuleSpec> hybridObject = NitroStyleSheet::NitroStyleSheetAutolinking::createNitroAccessibilityModule();
      return hybridObject;
    }
  );
  HybridObjectRegistry::registerHybridObjectConstructor(
    "NitroDeviceModule",
    []() -> std::shared_ptr<HybridObject> {
      std::shared_ptr<margelo::nitro::stylesheet::HybridNitroDeviceModuleSpec> hybridObject = NitroStyleSheet::NitroStyleSheetAutolinking::createNitroDeviceModule();
      return hybridObject;
    }
  );
}

@end
