The best way to control Claude Code, Codex and more from any computer or phone
Mirrored from https://github.com/Camo67/t3code.git
Synced Nov 21, 04:45 UTC
| 1 | /// |
| 2 | /// T3HighlightsNativeAutolinking.mm |
| 3 | /// This file was generated by nitrogen. DO NOT MODIFY THIS FILE. |
| 4 | /// https://github.com/mrousavy/nitro |
| 5 | /// Copyright © Marc Rousavy @ Margelo |
| 6 | /// |
| 7 | |
| 8 | #import <Foundation/Foundation.h> |
| 9 | #import <NitroModules/HybridObjectRegistry.hpp> |
| 10 | |
| 11 | #import <type_traits> |
| 12 | |
| 13 | #include "HybridT3Highlights.hpp" |
| 14 | |
| 15 | @interface T3HighlightsNativeAutolinking : NSObject |
| 16 | @end |
| 17 | |
| 18 | @implementation T3HighlightsNativeAutolinking |
| 19 | |
| 20 | + (void) load { |
| 21 | using namespace margelo::nitro; |
| 22 | using namespace margelo::nitro::t3highlights; |
| 23 | |
| 24 | HybridObjectRegistry::registerHybridObjectConstructor( |
| 25 | "T3Highlights", |
| 26 | []() -> std::shared_ptr<HybridObject> { |
| 27 | static_assert(std::is_default_constructible_v<HybridT3Highlights>, |
| 28 | "The HybridObject \"HybridT3Highlights\" is not default-constructible! " |
| 29 | "Create a public constructor that takes zero arguments to be able to autolink this HybridObject."); |
| 30 | return std::make_shared<HybridT3Highlights>(); |
| 31 | } |
| 32 | ); |
| 33 | } |
| 34 | |
| 35 | @end |