/// /// CodepadAutolinking.mm /// This file was generated by nitrogen. DO NOT MODIFY THIS FILE. /// https://github.com/mrousavy/nitro /// Copyright © Marc Rousavy @ Margelo /// #import #import #import "Codepad-Swift-Cxx-Umbrella.hpp" #import #include "HybridCodeEditorViewSpecSwift.hpp" #include "HybridCodepadSpecSwift.hpp" @interface CodepadAutolinking : NSObject @end @implementation CodepadAutolinking + (void) load { using namespace margelo::nitro; using namespace margelo::nitro::codepad; HybridObjectRegistry::registerHybridObjectConstructor( "CodeEditorView", []() -> std::shared_ptr { std::shared_ptr hybridObject = Codepad::CodepadAutolinking::createCodeEditorView(); return hybridObject; } ); HybridObjectRegistry::registerHybridObjectConstructor( "Codepad", []() -> std::shared_ptr { std::shared_ptr hybridObject = Codepad::CodepadAutolinking::createCodepad(); return hybridObject; } ); } @end