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

#include "HybridMediaToolkitSpecSwift.hpp"

@interface MediaToolkitAutolinking : NSObject
@end

@implementation MediaToolkitAutolinking

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

  HybridObjectRegistry::registerHybridObjectConstructor(
    "MediaToolkit",
    []() -> std::shared_ptr<HybridObject> {
      std::shared_ptr<HybridMediaToolkitSpec> hybridObject = MediaToolkit::MediaToolkitAutolinking::createMediaToolkit();
      return hybridObject;
    }
  );
}

@end
