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

#include "HybridNitroGoogleSigninSpecSwift.hpp"
#include "HybridGoogleSignInButtonSpecSwift.hpp"

@interface NitroGoogleSigninAutolinking : NSObject
@end

@implementation NitroGoogleSigninAutolinking

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

  HybridObjectRegistry::registerHybridObjectConstructor(
    "NitroGoogleSignin",
    []() -> std::shared_ptr<HybridObject> {
      std::shared_ptr<HybridNitroGoogleSigninSpec> hybridObject = NitroGoogleSignin::NitroGoogleSigninAutolinking::createNitroGoogleSignin();
      return hybridObject;
    }
  );
  HybridObjectRegistry::registerHybridObjectConstructor(
    "GoogleSignInButton",
    []() -> std::shared_ptr<HybridObject> {
      std::shared_ptr<HybridGoogleSignInButtonSpec> hybridObject = NitroGoogleSignin::NitroGoogleSigninAutolinking::createGoogleSignInButton();
      return hybridObject;
    }
  );
}

@end
