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

#include "HybridNitroBackgroundTimerSpecSwift.hpp"

@interface NitroBackgroundTimerAutolinking : NSObject
@end

@implementation NitroBackgroundTimerAutolinking

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

  HybridObjectRegistry::registerHybridObjectConstructor(
    "NitroBackgroundTimer",
    []() -> std::shared_ptr<HybridObject> {
      std::shared_ptr<HybridNitroBackgroundTimerSpec> hybridObject = NitroBackgroundTimer::NitroBackgroundTimerAutolinking::createNitroBackgroundTimer();
      return hybridObject;
    }
  );
}

@end
