···11+/*
22+ This file is part of Darling.
33+44+ Copyright (C) 2019 Lubos Dolezel
55+66+ Darling is free software: you can redistribute it and/or modify
77+ it under the terms of the GNU General Public License as published by
88+ the Free Software Foundation, either version 3 of the License, or
99+ (at your option) any later version.
1010+1111+ Darling is distributed in the hope that it will be useful,
1212+ but WITHOUT ANY WARRANTY; without even the implied warranty of
1313+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1414+ GNU General Public License for more details.
1515+1616+ You should have received a copy of the GNU General Public License
1717+ along with Darling. If not, see <http://www.gnu.org/licenses/>.
1818+*/
1919+2020+#include <Foundation/Foundation.h>
2121+2222+@protocol AFDictationDelegate
2323+2424+@end
···11+/*
22+ This file is part of Darling.
33+44+ Copyright (C) 2019 Lubos Dolezel
55+66+ Darling is free software: you can redistribute it and/or modify
77+ it under the terms of the GNU General Public License as published by
88+ the Free Software Foundation, either version 3 of the License, or
99+ (at your option) any later version.
1010+1111+ Darling is distributed in the hope that it will be useful,
1212+ but WITHOUT ANY WARRANTY; without even the implied warranty of
1313+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1414+ GNU General Public License for more details.
1515+1616+ You should have received a copy of the GNU General Public License
1717+ along with Darling. If not, see <http://www.gnu.org/licenses/>.
1818+*/
1919+2020+#include <Foundation/Foundation.h>
2121+2222+@interface SFAcousticFeature : NSObject
2323+2424+@end
···11+/*
22+ This file is part of Darling.
33+44+ Copyright (C) 2019 Lubos Dolezel
55+66+ Darling is free software: you can redistribute it and/or modify
77+ it under the terms of the GNU General Public License as published by
88+ the Free Software Foundation, either version 3 of the License, or
99+ (at your option) any later version.
1010+1111+ Darling is distributed in the hope that it will be useful,
1212+ but WITHOUT ANY WARRANTY; without even the implied warranty of
1313+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1414+ GNU General Public License for more details.
1515+1616+ You should have received a copy of the GNU General Public License
1717+ along with Darling. If not, see <http://www.gnu.org/licenses/>.
1818+*/
1919+2020+#include <Foundation/Foundation.h>
2121+2222+@interface SFSpeechAudioBufferRecognitionRequest : NSObject
2323+2424+@end
···11+/*
22+ This file is part of Darling.
33+44+ Copyright (C) 2019 Lubos Dolezel
55+66+ Darling is free software: you can redistribute it and/or modify
77+ it under the terms of the GNU General Public License as published by
88+ the Free Software Foundation, either version 3 of the License, or
99+ (at your option) any later version.
1010+1111+ Darling is distributed in the hope that it will be useful,
1212+ but WITHOUT ANY WARRANTY; without even the implied warranty of
1313+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1414+ GNU General Public License for more details.
1515+1616+ You should have received a copy of the GNU General Public License
1717+ along with Darling. If not, see <http://www.gnu.org/licenses/>.
1818+*/
1919+2020+#include <Foundation/Foundation.h>
2121+2222+@protocol SFSpeechRecognitionBufferDelegate
2323+2424+@end
···11+/*
22+ This file is part of Darling.
33+44+ Copyright (C) 2019 Lubos Dolezel
55+66+ Darling is free software: you can redistribute it and/or modify
77+ it under the terms of the GNU General Public License as published by
88+ the Free Software Foundation, either version 3 of the License, or
99+ (at your option) any later version.
1010+1111+ Darling is distributed in the hope that it will be useful,
1212+ but WITHOUT ANY WARRANTY; without even the implied warranty of
1313+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1414+ GNU General Public License for more details.
1515+1616+ You should have received a copy of the GNU General Public License
1717+ along with Darling. If not, see <http://www.gnu.org/licenses/>.
1818+*/
1919+2020+#include <Foundation/Foundation.h>
2121+2222+@interface SFSpeechRecognitionRequest : NSObject
2323+2424+@end
···11+/*
22+ This file is part of Darling.
33+44+ Copyright (C) 2019 Lubos Dolezel
55+66+ Darling is free software: you can redistribute it and/or modify
77+ it under the terms of the GNU General Public License as published by
88+ the Free Software Foundation, either version 3 of the License, or
99+ (at your option) any later version.
1010+1111+ Darling is distributed in the hope that it will be useful,
1212+ but WITHOUT ANY WARRANTY; without even the implied warranty of
1313+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1414+ GNU General Public License for more details.
1515+1616+ You should have received a copy of the GNU General Public License
1717+ along with Darling. If not, see <http://www.gnu.org/licenses/>.
1818+*/
1919+2020+#include <Foundation/Foundation.h>
2121+2222+@interface SFSpeechRecognitionResult : NSObject
2323+2424+@end
···11+/*
22+ This file is part of Darling.
33+44+ Copyright (C) 2019 Lubos Dolezel
55+66+ Darling is free software: you can redistribute it and/or modify
77+ it under the terms of the GNU General Public License as published by
88+ the Free Software Foundation, either version 3 of the License, or
99+ (at your option) any later version.
1010+1111+ Darling is distributed in the hope that it will be useful,
1212+ but WITHOUT ANY WARRANTY; without even the implied warranty of
1313+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1414+ GNU General Public License for more details.
1515+1616+ You should have received a copy of the GNU General Public License
1717+ along with Darling. If not, see <http://www.gnu.org/licenses/>.
1818+*/
1919+2020+#include <Foundation/Foundation.h>
2121+2222+@interface SFSpeechRecognitionTask : NSObject
2323+2424+@end
···11+/*
22+ This file is part of Darling.
33+44+ Copyright (C) 2019 Lubos Dolezel
55+66+ Darling is free software: you can redistribute it and/or modify
77+ it under the terms of the GNU General Public License as published by
88+ the Free Software Foundation, either version 3 of the License, or
99+ (at your option) any later version.
1010+1111+ Darling is distributed in the hope that it will be useful,
1212+ but WITHOUT ANY WARRANTY; without even the implied warranty of
1313+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1414+ GNU General Public License for more details.
1515+1616+ You should have received a copy of the GNU General Public License
1717+ along with Darling. If not, see <http://www.gnu.org/licenses/>.
1818+*/
1919+2020+#include <Foundation/Foundation.h>
2121+2222+@interface SFSpeechRecognizer : NSObject
2323+2424+@end
···11+/*
22+ This file is part of Darling.
33+44+ Copyright (C) 2019 Lubos Dolezel
55+66+ Darling is free software: you can redistribute it and/or modify
77+ it under the terms of the GNU General Public License as published by
88+ the Free Software Foundation, either version 3 of the License, or
99+ (at your option) any later version.
1010+1111+ Darling is distributed in the hope that it will be useful,
1212+ but WITHOUT ANY WARRANTY; without even the implied warranty of
1313+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1414+ GNU General Public License for more details.
1515+1616+ You should have received a copy of the GNU General Public License
1717+ along with Darling. If not, see <http://www.gnu.org/licenses/>.
1818+*/
1919+2020+#include <Foundation/Foundation.h>
2121+2222+@interface SFSpeechURLRecognitionRequest : NSObject
2323+2424+@end
···11+/*
22+ This file is part of Darling.
33+44+ Copyright (C) 2019 Lubos Dolezel
55+66+ Darling is free software: you can redistribute it and/or modify
77+ it under the terms of the GNU General Public License as published by
88+ the Free Software Foundation, either version 3 of the License, or
99+ (at your option) any later version.
1010+1111+ Darling is distributed in the hope that it will be useful,
1212+ but WITHOUT ANY WARRANTY; without even the implied warranty of
1313+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1414+ GNU General Public License for more details.
1515+1616+ You should have received a copy of the GNU General Public License
1717+ along with Darling. If not, see <http://www.gnu.org/licenses/>.
1818+*/
1919+2020+#include <Foundation/Foundation.h>
2121+2222+@interface SFTranscription : NSObject
2323+2424+@end
···11+/*
22+ This file is part of Darling.
33+44+ Copyright (C) 2019 Lubos Dolezel
55+66+ Darling is free software: you can redistribute it and/or modify
77+ it under the terms of the GNU General Public License as published by
88+ the Free Software Foundation, either version 3 of the License, or
99+ (at your option) any later version.
1010+1111+ Darling is distributed in the hope that it will be useful,
1212+ but WITHOUT ANY WARRANTY; without even the implied warranty of
1313+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1414+ GNU General Public License for more details.
1515+1616+ You should have received a copy of the GNU General Public License
1717+ along with Darling. If not, see <http://www.gnu.org/licenses/>.
1818+*/
1919+2020+#include <Foundation/Foundation.h>
2121+2222+@interface SFTranscriptionSegment : NSObject
2323+2424+@end
···11+/*
22+ This file is part of Darling.
33+44+ Copyright (C) 2019 Lubos Dolezel
55+66+ Darling is free software: you can redistribute it and/or modify
77+ it under the terms of the GNU General Public License as published by
88+ the Free Software Foundation, either version 3 of the License, or
99+ (at your option) any later version.
1010+1111+ Darling is distributed in the hope that it will be useful,
1212+ but WITHOUT ANY WARRANTY; without even the implied warranty of
1313+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1414+ GNU General Public License for more details.
1515+1616+ You should have received a copy of the GNU General Public License
1717+ along with Darling. If not, see <http://www.gnu.org/licenses/>.
1818+*/
1919+2020+#include <Foundation/Foundation.h>
2121+2222+@interface SFVoiceAnalytics : NSObject
2323+2424+@end
+45
src/frameworks/Speech/include/Speech/Speech.h
···11+/*
22+ This file is part of Darling.
33+44+ Copyright (C) 2019 Lubos Dolezel
55+66+ Darling is free software: you can redistribute it and/or modify
77+ it under the terms of the GNU General Public License as published by
88+ the Free Software Foundation, either version 3 of the License, or
99+ (at your option) any later version.
1010+1111+ Darling is distributed in the hope that it will be useful,
1212+ but WITHOUT ANY WARRANTY; without even the implied warranty of
1313+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1414+ GNU General Public License for more details.
1515+1616+ You should have received a copy of the GNU General Public License
1717+ along with Darling. If not, see <http://www.gnu.org/licenses/>.
1818+*/
1919+2020+2121+#ifndef _Speech_H_
2222+#define _Speech_H_
2323+2424+#import <Foundation/Foundation.h>
2525+2626+#import <Speech/AFDictationDelegate.h>
2727+#import <Speech/SFSpeechRecognitionBufferDelegate.h>
2828+#import <Speech/SFAcousticFeature.h>
2929+#import <Speech/SFVoiceAnalytics.h>
3030+#import <Speech/_SFSearchResult.h>
3131+#import <Speech/SFSpeechRecognitionTask.h>
3232+#import <Speech/_SFSpeechRecognitionBlockTask.h>
3333+#import <Speech/_SFSpeechRecognitionDelegateTask.h>
3434+#import <Speech/SFSpeechRecognitionResult.h>
3535+#import <Speech/SFSpeechRecognizer.h>
3636+#import <Speech/SFTranscriptionSegment.h>
3737+#import <Speech/_SFSearchRequest.h>
3838+#import <Speech/SFSpeechRecognitionRequest.h>
3939+#import <Speech/SFSpeechURLRecognitionRequest.h>
4040+#import <Speech/SFSpeechAudioBufferRecognitionRequest.h>
4141+#import <Speech/SFTranscription.h>
4242+4343+void* SFIsTV(void);
4444+4545+#endif
···11+/*
22+ This file is part of Darling.
33+44+ Copyright (C) 2019 Lubos Dolezel
55+66+ Darling is free software: you can redistribute it and/or modify
77+ it under the terms of the GNU General Public License as published by
88+ the Free Software Foundation, either version 3 of the License, or
99+ (at your option) any later version.
1010+1111+ Darling is distributed in the hope that it will be useful,
1212+ but WITHOUT ANY WARRANTY; without even the implied warranty of
1313+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1414+ GNU General Public License for more details.
1515+1616+ You should have received a copy of the GNU General Public License
1717+ along with Darling. If not, see <http://www.gnu.org/licenses/>.
1818+*/
1919+2020+#include <Foundation/Foundation.h>
2121+2222+@interface _SFSearchRequest : NSObject
2323+2424+@end
···11+/*
22+ This file is part of Darling.
33+44+ Copyright (C) 2019 Lubos Dolezel
55+66+ Darling is free software: you can redistribute it and/or modify
77+ it under the terms of the GNU General Public License as published by
88+ the Free Software Foundation, either version 3 of the License, or
99+ (at your option) any later version.
1010+1111+ Darling is distributed in the hope that it will be useful,
1212+ but WITHOUT ANY WARRANTY; without even the implied warranty of
1313+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1414+ GNU General Public License for more details.
1515+1616+ You should have received a copy of the GNU General Public License
1717+ along with Darling. If not, see <http://www.gnu.org/licenses/>.
1818+*/
1919+2020+#include <Foundation/Foundation.h>
2121+2222+@interface _SFSearchResult : NSObject
2323+2424+@end
···11+/*
22+ This file is part of Darling.
33+44+ Copyright (C) 2019 Lubos Dolezel
55+66+ Darling is free software: you can redistribute it and/or modify
77+ it under the terms of the GNU General Public License as published by
88+ the Free Software Foundation, either version 3 of the License, or
99+ (at your option) any later version.
1010+1111+ Darling is distributed in the hope that it will be useful,
1212+ but WITHOUT ANY WARRANTY; without even the implied warranty of
1313+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1414+ GNU General Public License for more details.
1515+1616+ You should have received a copy of the GNU General Public License
1717+ along with Darling. If not, see <http://www.gnu.org/licenses/>.
1818+*/
1919+2020+#include <Foundation/Foundation.h>
2121+2222+@interface _SFSpeechRecognitionBlockTask : NSObject
2323+2424+@end
···11+/*
22+ This file is part of Darling.
33+44+ Copyright (C) 2019 Lubos Dolezel
55+66+ Darling is free software: you can redistribute it and/or modify
77+ it under the terms of the GNU General Public License as published by
88+ the Free Software Foundation, either version 3 of the License, or
99+ (at your option) any later version.
1010+1111+ Darling is distributed in the hope that it will be useful,
1212+ but WITHOUT ANY WARRANTY; without even the implied warranty of
1313+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1414+ GNU General Public License for more details.
1515+1616+ You should have received a copy of the GNU General Public License
1717+ along with Darling. If not, see <http://www.gnu.org/licenses/>.
1818+*/
1919+2020+#include <Foundation/Foundation.h>
2121+2222+@interface _SFSpeechRecognitionDelegateTask : NSObject
2323+2424+@end
+34
src/frameworks/Speech/src/SFAcousticFeature.m
···11+/*
22+ This file is part of Darling.
33+44+ Copyright (C) 2019 Lubos Dolezel
55+66+ Darling is free software: you can redistribute it and/or modify
77+ it under the terms of the GNU General Public License as published by
88+ the Free Software Foundation, either version 3 of the License, or
99+ (at your option) any later version.
1010+1111+ Darling is distributed in the hope that it will be useful,
1212+ but WITHOUT ANY WARRANTY; without even the implied warranty of
1313+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1414+ GNU General Public License for more details.
1515+1616+ You should have received a copy of the GNU General Public License
1717+ along with Darling. If not, see <http://www.gnu.org/licenses/>.
1818+*/
1919+2020+#import <Speech/SFAcousticFeature.h>
2121+2222+@implementation SFAcousticFeature
2323+2424+- (NSMethodSignature *)methodSignatureForSelector:(SEL)aSelector
2525+{
2626+ return [NSMethodSignature signatureWithObjCTypes: "v@:"];
2727+}
2828+2929+- (void)forwardInvocation:(NSInvocation *)anInvocation
3030+{
3131+ NSLog(@"Stub called: %@ in %@", NSStringFromSelector([anInvocation selector]), [self class]);
3232+}
3333+3434+@end
···11+/*
22+ This file is part of Darling.
33+44+ Copyright (C) 2019 Lubos Dolezel
55+66+ Darling is free software: you can redistribute it and/or modify
77+ it under the terms of the GNU General Public License as published by
88+ the Free Software Foundation, either version 3 of the License, or
99+ (at your option) any later version.
1010+1111+ Darling is distributed in the hope that it will be useful,
1212+ but WITHOUT ANY WARRANTY; without even the implied warranty of
1313+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1414+ GNU General Public License for more details.
1515+1616+ You should have received a copy of the GNU General Public License
1717+ along with Darling. If not, see <http://www.gnu.org/licenses/>.
1818+*/
1919+2020+#import <Speech/SFSpeechAudioBufferRecognitionRequest.h>
2121+2222+@implementation SFSpeechAudioBufferRecognitionRequest
2323+2424+- (NSMethodSignature *)methodSignatureForSelector:(SEL)aSelector
2525+{
2626+ return [NSMethodSignature signatureWithObjCTypes: "v@:"];
2727+}
2828+2929+- (void)forwardInvocation:(NSInvocation *)anInvocation
3030+{
3131+ NSLog(@"Stub called: %@ in %@", NSStringFromSelector([anInvocation selector]), [self class]);
3232+}
3333+3434+@end
···11+/*
22+ This file is part of Darling.
33+44+ Copyright (C) 2019 Lubos Dolezel
55+66+ Darling is free software: you can redistribute it and/or modify
77+ it under the terms of the GNU General Public License as published by
88+ the Free Software Foundation, either version 3 of the License, or
99+ (at your option) any later version.
1010+1111+ Darling is distributed in the hope that it will be useful,
1212+ but WITHOUT ANY WARRANTY; without even the implied warranty of
1313+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1414+ GNU General Public License for more details.
1515+1616+ You should have received a copy of the GNU General Public License
1717+ along with Darling. If not, see <http://www.gnu.org/licenses/>.
1818+*/
1919+2020+#import <Speech/SFSpeechRecognitionRequest.h>
2121+2222+@implementation SFSpeechRecognitionRequest
2323+2424+- (NSMethodSignature *)methodSignatureForSelector:(SEL)aSelector
2525+{
2626+ return [NSMethodSignature signatureWithObjCTypes: "v@:"];
2727+}
2828+2929+- (void)forwardInvocation:(NSInvocation *)anInvocation
3030+{
3131+ NSLog(@"Stub called: %@ in %@", NSStringFromSelector([anInvocation selector]), [self class]);
3232+}
3333+3434+@end
···11+/*
22+ This file is part of Darling.
33+44+ Copyright (C) 2019 Lubos Dolezel
55+66+ Darling is free software: you can redistribute it and/or modify
77+ it under the terms of the GNU General Public License as published by
88+ the Free Software Foundation, either version 3 of the License, or
99+ (at your option) any later version.
1010+1111+ Darling is distributed in the hope that it will be useful,
1212+ but WITHOUT ANY WARRANTY; without even the implied warranty of
1313+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1414+ GNU General Public License for more details.
1515+1616+ You should have received a copy of the GNU General Public License
1717+ along with Darling. If not, see <http://www.gnu.org/licenses/>.
1818+*/
1919+2020+#import <Speech/SFSpeechRecognitionResult.h>
2121+2222+@implementation SFSpeechRecognitionResult
2323+2424+- (NSMethodSignature *)methodSignatureForSelector:(SEL)aSelector
2525+{
2626+ return [NSMethodSignature signatureWithObjCTypes: "v@:"];
2727+}
2828+2929+- (void)forwardInvocation:(NSInvocation *)anInvocation
3030+{
3131+ NSLog(@"Stub called: %@ in %@", NSStringFromSelector([anInvocation selector]), [self class]);
3232+}
3333+3434+@end
···11+/*
22+ This file is part of Darling.
33+44+ Copyright (C) 2019 Lubos Dolezel
55+66+ Darling is free software: you can redistribute it and/or modify
77+ it under the terms of the GNU General Public License as published by
88+ the Free Software Foundation, either version 3 of the License, or
99+ (at your option) any later version.
1010+1111+ Darling is distributed in the hope that it will be useful,
1212+ but WITHOUT ANY WARRANTY; without even the implied warranty of
1313+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1414+ GNU General Public License for more details.
1515+1616+ You should have received a copy of the GNU General Public License
1717+ along with Darling. If not, see <http://www.gnu.org/licenses/>.
1818+*/
1919+2020+#import <Speech/SFSpeechRecognitionTask.h>
2121+2222+@implementation SFSpeechRecognitionTask
2323+2424+- (NSMethodSignature *)methodSignatureForSelector:(SEL)aSelector
2525+{
2626+ return [NSMethodSignature signatureWithObjCTypes: "v@:"];
2727+}
2828+2929+- (void)forwardInvocation:(NSInvocation *)anInvocation
3030+{
3131+ NSLog(@"Stub called: %@ in %@", NSStringFromSelector([anInvocation selector]), [self class]);
3232+}
3333+3434+@end
+34
src/frameworks/Speech/src/SFSpeechRecognizer.m
···11+/*
22+ This file is part of Darling.
33+44+ Copyright (C) 2019 Lubos Dolezel
55+66+ Darling is free software: you can redistribute it and/or modify
77+ it under the terms of the GNU General Public License as published by
88+ the Free Software Foundation, either version 3 of the License, or
99+ (at your option) any later version.
1010+1111+ Darling is distributed in the hope that it will be useful,
1212+ but WITHOUT ANY WARRANTY; without even the implied warranty of
1313+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1414+ GNU General Public License for more details.
1515+1616+ You should have received a copy of the GNU General Public License
1717+ along with Darling. If not, see <http://www.gnu.org/licenses/>.
1818+*/
1919+2020+#import <Speech/SFSpeechRecognizer.h>
2121+2222+@implementation SFSpeechRecognizer
2323+2424+- (NSMethodSignature *)methodSignatureForSelector:(SEL)aSelector
2525+{
2626+ return [NSMethodSignature signatureWithObjCTypes: "v@:"];
2727+}
2828+2929+- (void)forwardInvocation:(NSInvocation *)anInvocation
3030+{
3131+ NSLog(@"Stub called: %@ in %@", NSStringFromSelector([anInvocation selector]), [self class]);
3232+}
3333+3434+@end
···11+/*
22+ This file is part of Darling.
33+44+ Copyright (C) 2019 Lubos Dolezel
55+66+ Darling is free software: you can redistribute it and/or modify
77+ it under the terms of the GNU General Public License as published by
88+ the Free Software Foundation, either version 3 of the License, or
99+ (at your option) any later version.
1010+1111+ Darling is distributed in the hope that it will be useful,
1212+ but WITHOUT ANY WARRANTY; without even the implied warranty of
1313+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1414+ GNU General Public License for more details.
1515+1616+ You should have received a copy of the GNU General Public License
1717+ along with Darling. If not, see <http://www.gnu.org/licenses/>.
1818+*/
1919+2020+#import <Speech/SFSpeechURLRecognitionRequest.h>
2121+2222+@implementation SFSpeechURLRecognitionRequest
2323+2424+- (NSMethodSignature *)methodSignatureForSelector:(SEL)aSelector
2525+{
2626+ return [NSMethodSignature signatureWithObjCTypes: "v@:"];
2727+}
2828+2929+- (void)forwardInvocation:(NSInvocation *)anInvocation
3030+{
3131+ NSLog(@"Stub called: %@ in %@", NSStringFromSelector([anInvocation selector]), [self class]);
3232+}
3333+3434+@end
+34
src/frameworks/Speech/src/SFTranscription.m
···11+/*
22+ This file is part of Darling.
33+44+ Copyright (C) 2019 Lubos Dolezel
55+66+ Darling is free software: you can redistribute it and/or modify
77+ it under the terms of the GNU General Public License as published by
88+ the Free Software Foundation, either version 3 of the License, or
99+ (at your option) any later version.
1010+1111+ Darling is distributed in the hope that it will be useful,
1212+ but WITHOUT ANY WARRANTY; without even the implied warranty of
1313+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1414+ GNU General Public License for more details.
1515+1616+ You should have received a copy of the GNU General Public License
1717+ along with Darling. If not, see <http://www.gnu.org/licenses/>.
1818+*/
1919+2020+#import <Speech/SFTranscription.h>
2121+2222+@implementation SFTranscription
2323+2424+- (NSMethodSignature *)methodSignatureForSelector:(SEL)aSelector
2525+{
2626+ return [NSMethodSignature signatureWithObjCTypes: "v@:"];
2727+}
2828+2929+- (void)forwardInvocation:(NSInvocation *)anInvocation
3030+{
3131+ NSLog(@"Stub called: %@ in %@", NSStringFromSelector([anInvocation selector]), [self class]);
3232+}
3333+3434+@end
···11+/*
22+ This file is part of Darling.
33+44+ Copyright (C) 2019 Lubos Dolezel
55+66+ Darling is free software: you can redistribute it and/or modify
77+ it under the terms of the GNU General Public License as published by
88+ the Free Software Foundation, either version 3 of the License, or
99+ (at your option) any later version.
1010+1111+ Darling is distributed in the hope that it will be useful,
1212+ but WITHOUT ANY WARRANTY; without even the implied warranty of
1313+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1414+ GNU General Public License for more details.
1515+1616+ You should have received a copy of the GNU General Public License
1717+ along with Darling. If not, see <http://www.gnu.org/licenses/>.
1818+*/
1919+2020+#import <Speech/SFTranscriptionSegment.h>
2121+2222+@implementation SFTranscriptionSegment
2323+2424+- (NSMethodSignature *)methodSignatureForSelector:(SEL)aSelector
2525+{
2626+ return [NSMethodSignature signatureWithObjCTypes: "v@:"];
2727+}
2828+2929+- (void)forwardInvocation:(NSInvocation *)anInvocation
3030+{
3131+ NSLog(@"Stub called: %@ in %@", NSStringFromSelector([anInvocation selector]), [self class]);
3232+}
3333+3434+@end
+34
src/frameworks/Speech/src/SFVoiceAnalytics.m
···11+/*
22+ This file is part of Darling.
33+44+ Copyright (C) 2019 Lubos Dolezel
55+66+ Darling is free software: you can redistribute it and/or modify
77+ it under the terms of the GNU General Public License as published by
88+ the Free Software Foundation, either version 3 of the License, or
99+ (at your option) any later version.
1010+1111+ Darling is distributed in the hope that it will be useful,
1212+ but WITHOUT ANY WARRANTY; without even the implied warranty of
1313+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1414+ GNU General Public License for more details.
1515+1616+ You should have received a copy of the GNU General Public License
1717+ along with Darling. If not, see <http://www.gnu.org/licenses/>.
1818+*/
1919+2020+#import <Speech/SFVoiceAnalytics.h>
2121+2222+@implementation SFVoiceAnalytics
2323+2424+- (NSMethodSignature *)methodSignatureForSelector:(SEL)aSelector
2525+{
2626+ return [NSMethodSignature signatureWithObjCTypes: "v@:"];
2727+}
2828+2929+- (void)forwardInvocation:(NSInvocation *)anInvocation
3030+{
3131+ NSLog(@"Stub called: %@ in %@", NSStringFromSelector([anInvocation selector]), [self class]);
3232+}
3333+3434+@end
+36
src/frameworks/Speech/src/Speech.m
···11+/*
22+ This file is part of Darling.
33+44+ Copyright (C) 2019 Lubos Dolezel
55+66+ Darling is free software: you can redistribute it and/or modify
77+ it under the terms of the GNU General Public License as published by
88+ the Free Software Foundation, either version 3 of the License, or
99+ (at your option) any later version.
1010+1111+ Darling is distributed in the hope that it will be useful,
1212+ but WITHOUT ANY WARRANTY; without even the implied warranty of
1313+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1414+ GNU General Public License for more details.
1515+1616+ You should have received a copy of the GNU General Public License
1717+ along with Darling. If not, see <http://www.gnu.org/licenses/>.
1818+*/
1919+2020+2121+#include <Speech/Speech.h>
2222+#include <stdlib.h>
2323+#include <stdio.h>
2424+2525+static int verbose = 0;
2626+2727+__attribute__((constructor))
2828+static void initme(void) {
2929+ verbose = getenv("STUB_VERBOSE") != NULL;
3030+}
3131+3232+void* SFIsTV(void)
3333+{
3434+ if (verbose) puts("STUB: SFIsTV called");
3535+ return NULL;
3636+}
+34
src/frameworks/Speech/src/_SFSearchRequest.m
···11+/*
22+ This file is part of Darling.
33+44+ Copyright (C) 2019 Lubos Dolezel
55+66+ Darling is free software: you can redistribute it and/or modify
77+ it under the terms of the GNU General Public License as published by
88+ the Free Software Foundation, either version 3 of the License, or
99+ (at your option) any later version.
1010+1111+ Darling is distributed in the hope that it will be useful,
1212+ but WITHOUT ANY WARRANTY; without even the implied warranty of
1313+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1414+ GNU General Public License for more details.
1515+1616+ You should have received a copy of the GNU General Public License
1717+ along with Darling. If not, see <http://www.gnu.org/licenses/>.
1818+*/
1919+2020+#import <Speech/_SFSearchRequest.h>
2121+2222+@implementation _SFSearchRequest
2323+2424+- (NSMethodSignature *)methodSignatureForSelector:(SEL)aSelector
2525+{
2626+ return [NSMethodSignature signatureWithObjCTypes: "v@:"];
2727+}
2828+2929+- (void)forwardInvocation:(NSInvocation *)anInvocation
3030+{
3131+ NSLog(@"Stub called: %@ in %@", NSStringFromSelector([anInvocation selector]), [self class]);
3232+}
3333+3434+@end
+34
src/frameworks/Speech/src/_SFSearchResult.m
···11+/*
22+ This file is part of Darling.
33+44+ Copyright (C) 2019 Lubos Dolezel
55+66+ Darling is free software: you can redistribute it and/or modify
77+ it under the terms of the GNU General Public License as published by
88+ the Free Software Foundation, either version 3 of the License, or
99+ (at your option) any later version.
1010+1111+ Darling is distributed in the hope that it will be useful,
1212+ but WITHOUT ANY WARRANTY; without even the implied warranty of
1313+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1414+ GNU General Public License for more details.
1515+1616+ You should have received a copy of the GNU General Public License
1717+ along with Darling. If not, see <http://www.gnu.org/licenses/>.
1818+*/
1919+2020+#import <Speech/_SFSearchResult.h>
2121+2222+@implementation _SFSearchResult
2323+2424+- (NSMethodSignature *)methodSignatureForSelector:(SEL)aSelector
2525+{
2626+ return [NSMethodSignature signatureWithObjCTypes: "v@:"];
2727+}
2828+2929+- (void)forwardInvocation:(NSInvocation *)anInvocation
3030+{
3131+ NSLog(@"Stub called: %@ in %@", NSStringFromSelector([anInvocation selector]), [self class]);
3232+}
3333+3434+@end
···11+/*
22+ This file is part of Darling.
33+44+ Copyright (C) 2019 Lubos Dolezel
55+66+ Darling is free software: you can redistribute it and/or modify
77+ it under the terms of the GNU General Public License as published by
88+ the Free Software Foundation, either version 3 of the License, or
99+ (at your option) any later version.
1010+1111+ Darling is distributed in the hope that it will be useful,
1212+ but WITHOUT ANY WARRANTY; without even the implied warranty of
1313+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1414+ GNU General Public License for more details.
1515+1616+ You should have received a copy of the GNU General Public License
1717+ along with Darling. If not, see <http://www.gnu.org/licenses/>.
1818+*/
1919+2020+#import <Speech/_SFSpeechRecognitionBlockTask.h>
2121+2222+@implementation _SFSpeechRecognitionBlockTask
2323+2424+- (NSMethodSignature *)methodSignatureForSelector:(SEL)aSelector
2525+{
2626+ return [NSMethodSignature signatureWithObjCTypes: "v@:"];
2727+}
2828+2929+- (void)forwardInvocation:(NSInvocation *)anInvocation
3030+{
3131+ NSLog(@"Stub called: %@ in %@", NSStringFromSelector([anInvocation selector]), [self class]);
3232+}
3333+3434+@end
···11+/*
22+ This file is part of Darling.
33+44+ Copyright (C) 2019 Lubos Dolezel
55+66+ Darling is free software: you can redistribute it and/or modify
77+ it under the terms of the GNU General Public License as published by
88+ the Free Software Foundation, either version 3 of the License, or
99+ (at your option) any later version.
1010+1111+ Darling is distributed in the hope that it will be useful,
1212+ but WITHOUT ANY WARRANTY; without even the implied warranty of
1313+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1414+ GNU General Public License for more details.
1515+1616+ You should have received a copy of the GNU General Public License
1717+ along with Darling. If not, see <http://www.gnu.org/licenses/>.
1818+*/
1919+2020+#import <Speech/_SFSpeechRecognitionDelegateTask.h>
2121+2222+@implementation _SFSpeechRecognitionDelegateTask
2323+2424+- (NSMethodSignature *)methodSignatureForSelector:(SEL)aSelector
2525+{
2626+ return [NSMethodSignature signatureWithObjCTypes: "v@:"];
2727+}
2828+2929+- (void)forwardInvocation:(NSInvocation *)anInvocation
3030+{
3131+ NSLog(@"Stub called: %@ in %@", NSStringFromSelector([anInvocation selector]), [self class]);
3232+}
3333+3434+@end