74808f086e
* feat: Replace Legacy Media Controls with Nitro-Powered Playback * feat: Add TTS Engine Selection * chore: Remove User-Facing Error Reporting * refactor: Combine `Tts` and `TtsSession` Imports from `nitro-tts` Module --------- Co-authored-by: Claude <noreply@anthropic.com>
34 lines
824 B
Plaintext
Generated
34 lines
824 B
Plaintext
Generated
///
|
|
/// NitroTtsAutolinking.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 "NitroTts-Swift-Cxx-Umbrella.hpp"
|
|
#import <type_traits>
|
|
|
|
#include "HybridTtsFactorySpecSwift.hpp"
|
|
|
|
@interface NitroTtsAutolinking : NSObject
|
|
@end
|
|
|
|
@implementation NitroTtsAutolinking
|
|
|
|
+ (void) load {
|
|
using namespace margelo::nitro;
|
|
using namespace margelo::nitro::nitrotts;
|
|
|
|
HybridObjectRegistry::registerHybridObjectConstructor(
|
|
"TtsFactory",
|
|
[]() -> std::shared_ptr<HybridObject> {
|
|
std::shared_ptr<HybridTtsFactorySpec> hybridObject = NitroTts::NitroTtsAutolinking::createTtsFactory();
|
|
return hybridObject;
|
|
}
|
|
);
|
|
}
|
|
|
|
@end
|