this repo has no description
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Merge pull request #1566 from sirnacnud/speech-framework

Generate Speech framework with stub generator

authored by

CuriousTommy and committed by
GitHub
2d4d05c6 a458d15d

+987
+1
Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/Speech.framework/Headers
··· 1 + Versions/A/Headers
+1
Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/Speech.framework/Versions/A/Headers
··· 1 + ../../../../../../../../../../../../src/frameworks/Speech/include/Speech
+1
Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/Speech.framework/Versions/Current
··· 1 + A
+1
framework-include/Speech
··· 1 + ../Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/Speech.framework/Headers
+1
src/frameworks/CMakeLists.txt
··· 124 124 add_subdirectory(QTKit) 125 125 add_subdirectory(ScreenSaver) 126 126 add_subdirectory(ShazamKit) 127 + add_subdirectory(Speech) 127 128 add_subdirectory(StoreKit) 128 129 add_subdirectory(SyncServices) 129 130 add_subdirectory(VideoDecodeAcceleration)
+41
src/frameworks/Speech/CMakeLists.txt
··· 1 + project(Speech) 2 + 3 + set(DYLIB_COMPAT_VERSION "1.0.0") 4 + set(DYLIB_CURRENT_VERSION "1.0.0") 5 + set(FRAMEWORK_VERSION "A") 6 + 7 + remove_sdk_framework(Speech 8 + ) 9 + 10 + generate_sdk_framework(Speech 11 + VERSION ${FRAMEWORK_VERSION} 12 + HEADER "include/Speech" 13 + ) 14 + 15 + add_framework(Speech 16 + FAT 17 + CURRENT_VERSION 18 + VERSION ${FRAMEWORK_VERSION} 19 + 20 + SOURCES 21 + src/Speech.m 22 + src/SFAcousticFeature.m 23 + src/SFVoiceAnalytics.m 24 + src/_SFSearchResult.m 25 + src/SFSpeechRecognitionTask.m 26 + src/_SFSpeechRecognitionBlockTask.m 27 + src/_SFSpeechRecognitionDelegateTask.m 28 + src/SFSpeechRecognitionResult.m 29 + src/SFSpeechRecognizer.m 30 + src/SFTranscriptionSegment.m 31 + src/_SFSearchRequest.m 32 + src/SFSpeechRecognitionRequest.m 33 + src/SFSpeechURLRecognitionRequest.m 34 + src/SFSpeechAudioBufferRecognitionRequest.m 35 + src/SFTranscription.m 36 + 37 + DEPENDENCIES 38 + system 39 + objc 40 + Foundation 41 + )
+24
src/frameworks/Speech/include/Speech/AFDictationDelegate.h
··· 1 + /* 2 + This file is part of Darling. 3 + 4 + Copyright (C) 2019 Lubos Dolezel 5 + 6 + Darling is free software: you can redistribute it and/or modify 7 + it under the terms of the GNU General Public License as published by 8 + the Free Software Foundation, either version 3 of the License, or 9 + (at your option) any later version. 10 + 11 + Darling is distributed in the hope that it will be useful, 12 + but WITHOUT ANY WARRANTY; without even the implied warranty of 13 + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 + GNU General Public License for more details. 15 + 16 + You should have received a copy of the GNU General Public License 17 + along with Darling. If not, see <http://www.gnu.org/licenses/>. 18 + */ 19 + 20 + #include <Foundation/Foundation.h> 21 + 22 + @protocol AFDictationDelegate 23 + 24 + @end
+24
src/frameworks/Speech/include/Speech/SFAcousticFeature.h
··· 1 + /* 2 + This file is part of Darling. 3 + 4 + Copyright (C) 2019 Lubos Dolezel 5 + 6 + Darling is free software: you can redistribute it and/or modify 7 + it under the terms of the GNU General Public License as published by 8 + the Free Software Foundation, either version 3 of the License, or 9 + (at your option) any later version. 10 + 11 + Darling is distributed in the hope that it will be useful, 12 + but WITHOUT ANY WARRANTY; without even the implied warranty of 13 + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 + GNU General Public License for more details. 15 + 16 + You should have received a copy of the GNU General Public License 17 + along with Darling. If not, see <http://www.gnu.org/licenses/>. 18 + */ 19 + 20 + #include <Foundation/Foundation.h> 21 + 22 + @interface SFAcousticFeature : NSObject 23 + 24 + @end
+24
src/frameworks/Speech/include/Speech/SFSpeechAudioBufferRecognitionRequest.h
··· 1 + /* 2 + This file is part of Darling. 3 + 4 + Copyright (C) 2019 Lubos Dolezel 5 + 6 + Darling is free software: you can redistribute it and/or modify 7 + it under the terms of the GNU General Public License as published by 8 + the Free Software Foundation, either version 3 of the License, or 9 + (at your option) any later version. 10 + 11 + Darling is distributed in the hope that it will be useful, 12 + but WITHOUT ANY WARRANTY; without even the implied warranty of 13 + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 + GNU General Public License for more details. 15 + 16 + You should have received a copy of the GNU General Public License 17 + along with Darling. If not, see <http://www.gnu.org/licenses/>. 18 + */ 19 + 20 + #include <Foundation/Foundation.h> 21 + 22 + @interface SFSpeechAudioBufferRecognitionRequest : NSObject 23 + 24 + @end
+24
src/frameworks/Speech/include/Speech/SFSpeechRecognitionBufferDelegate.h
··· 1 + /* 2 + This file is part of Darling. 3 + 4 + Copyright (C) 2019 Lubos Dolezel 5 + 6 + Darling is free software: you can redistribute it and/or modify 7 + it under the terms of the GNU General Public License as published by 8 + the Free Software Foundation, either version 3 of the License, or 9 + (at your option) any later version. 10 + 11 + Darling is distributed in the hope that it will be useful, 12 + but WITHOUT ANY WARRANTY; without even the implied warranty of 13 + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 + GNU General Public License for more details. 15 + 16 + You should have received a copy of the GNU General Public License 17 + along with Darling. If not, see <http://www.gnu.org/licenses/>. 18 + */ 19 + 20 + #include <Foundation/Foundation.h> 21 + 22 + @protocol SFSpeechRecognitionBufferDelegate 23 + 24 + @end
+24
src/frameworks/Speech/include/Speech/SFSpeechRecognitionRequest.h
··· 1 + /* 2 + This file is part of Darling. 3 + 4 + Copyright (C) 2019 Lubos Dolezel 5 + 6 + Darling is free software: you can redistribute it and/or modify 7 + it under the terms of the GNU General Public License as published by 8 + the Free Software Foundation, either version 3 of the License, or 9 + (at your option) any later version. 10 + 11 + Darling is distributed in the hope that it will be useful, 12 + but WITHOUT ANY WARRANTY; without even the implied warranty of 13 + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 + GNU General Public License for more details. 15 + 16 + You should have received a copy of the GNU General Public License 17 + along with Darling. If not, see <http://www.gnu.org/licenses/>. 18 + */ 19 + 20 + #include <Foundation/Foundation.h> 21 + 22 + @interface SFSpeechRecognitionRequest : NSObject 23 + 24 + @end
+24
src/frameworks/Speech/include/Speech/SFSpeechRecognitionResult.h
··· 1 + /* 2 + This file is part of Darling. 3 + 4 + Copyright (C) 2019 Lubos Dolezel 5 + 6 + Darling is free software: you can redistribute it and/or modify 7 + it under the terms of the GNU General Public License as published by 8 + the Free Software Foundation, either version 3 of the License, or 9 + (at your option) any later version. 10 + 11 + Darling is distributed in the hope that it will be useful, 12 + but WITHOUT ANY WARRANTY; without even the implied warranty of 13 + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 + GNU General Public License for more details. 15 + 16 + You should have received a copy of the GNU General Public License 17 + along with Darling. If not, see <http://www.gnu.org/licenses/>. 18 + */ 19 + 20 + #include <Foundation/Foundation.h> 21 + 22 + @interface SFSpeechRecognitionResult : NSObject 23 + 24 + @end
+24
src/frameworks/Speech/include/Speech/SFSpeechRecognitionTask.h
··· 1 + /* 2 + This file is part of Darling. 3 + 4 + Copyright (C) 2019 Lubos Dolezel 5 + 6 + Darling is free software: you can redistribute it and/or modify 7 + it under the terms of the GNU General Public License as published by 8 + the Free Software Foundation, either version 3 of the License, or 9 + (at your option) any later version. 10 + 11 + Darling is distributed in the hope that it will be useful, 12 + but WITHOUT ANY WARRANTY; without even the implied warranty of 13 + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 + GNU General Public License for more details. 15 + 16 + You should have received a copy of the GNU General Public License 17 + along with Darling. If not, see <http://www.gnu.org/licenses/>. 18 + */ 19 + 20 + #include <Foundation/Foundation.h> 21 + 22 + @interface SFSpeechRecognitionTask : NSObject 23 + 24 + @end
+24
src/frameworks/Speech/include/Speech/SFSpeechRecognizer.h
··· 1 + /* 2 + This file is part of Darling. 3 + 4 + Copyright (C) 2019 Lubos Dolezel 5 + 6 + Darling is free software: you can redistribute it and/or modify 7 + it under the terms of the GNU General Public License as published by 8 + the Free Software Foundation, either version 3 of the License, or 9 + (at your option) any later version. 10 + 11 + Darling is distributed in the hope that it will be useful, 12 + but WITHOUT ANY WARRANTY; without even the implied warranty of 13 + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 + GNU General Public License for more details. 15 + 16 + You should have received a copy of the GNU General Public License 17 + along with Darling. If not, see <http://www.gnu.org/licenses/>. 18 + */ 19 + 20 + #include <Foundation/Foundation.h> 21 + 22 + @interface SFSpeechRecognizer : NSObject 23 + 24 + @end
+24
src/frameworks/Speech/include/Speech/SFSpeechURLRecognitionRequest.h
··· 1 + /* 2 + This file is part of Darling. 3 + 4 + Copyright (C) 2019 Lubos Dolezel 5 + 6 + Darling is free software: you can redistribute it and/or modify 7 + it under the terms of the GNU General Public License as published by 8 + the Free Software Foundation, either version 3 of the License, or 9 + (at your option) any later version. 10 + 11 + Darling is distributed in the hope that it will be useful, 12 + but WITHOUT ANY WARRANTY; without even the implied warranty of 13 + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 + GNU General Public License for more details. 15 + 16 + You should have received a copy of the GNU General Public License 17 + along with Darling. If not, see <http://www.gnu.org/licenses/>. 18 + */ 19 + 20 + #include <Foundation/Foundation.h> 21 + 22 + @interface SFSpeechURLRecognitionRequest : NSObject 23 + 24 + @end
+24
src/frameworks/Speech/include/Speech/SFTranscription.h
··· 1 + /* 2 + This file is part of Darling. 3 + 4 + Copyright (C) 2019 Lubos Dolezel 5 + 6 + Darling is free software: you can redistribute it and/or modify 7 + it under the terms of the GNU General Public License as published by 8 + the Free Software Foundation, either version 3 of the License, or 9 + (at your option) any later version. 10 + 11 + Darling is distributed in the hope that it will be useful, 12 + but WITHOUT ANY WARRANTY; without even the implied warranty of 13 + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 + GNU General Public License for more details. 15 + 16 + You should have received a copy of the GNU General Public License 17 + along with Darling. If not, see <http://www.gnu.org/licenses/>. 18 + */ 19 + 20 + #include <Foundation/Foundation.h> 21 + 22 + @interface SFTranscription : NSObject 23 + 24 + @end
+24
src/frameworks/Speech/include/Speech/SFTranscriptionSegment.h
··· 1 + /* 2 + This file is part of Darling. 3 + 4 + Copyright (C) 2019 Lubos Dolezel 5 + 6 + Darling is free software: you can redistribute it and/or modify 7 + it under the terms of the GNU General Public License as published by 8 + the Free Software Foundation, either version 3 of the License, or 9 + (at your option) any later version. 10 + 11 + Darling is distributed in the hope that it will be useful, 12 + but WITHOUT ANY WARRANTY; without even the implied warranty of 13 + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 + GNU General Public License for more details. 15 + 16 + You should have received a copy of the GNU General Public License 17 + along with Darling. If not, see <http://www.gnu.org/licenses/>. 18 + */ 19 + 20 + #include <Foundation/Foundation.h> 21 + 22 + @interface SFTranscriptionSegment : NSObject 23 + 24 + @end
+24
src/frameworks/Speech/include/Speech/SFVoiceAnalytics.h
··· 1 + /* 2 + This file is part of Darling. 3 + 4 + Copyright (C) 2019 Lubos Dolezel 5 + 6 + Darling is free software: you can redistribute it and/or modify 7 + it under the terms of the GNU General Public License as published by 8 + the Free Software Foundation, either version 3 of the License, or 9 + (at your option) any later version. 10 + 11 + Darling is distributed in the hope that it will be useful, 12 + but WITHOUT ANY WARRANTY; without even the implied warranty of 13 + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 + GNU General Public License for more details. 15 + 16 + You should have received a copy of the GNU General Public License 17 + along with Darling. If not, see <http://www.gnu.org/licenses/>. 18 + */ 19 + 20 + #include <Foundation/Foundation.h> 21 + 22 + @interface SFVoiceAnalytics : NSObject 23 + 24 + @end
+45
src/frameworks/Speech/include/Speech/Speech.h
··· 1 + /* 2 + This file is part of Darling. 3 + 4 + Copyright (C) 2019 Lubos Dolezel 5 + 6 + Darling is free software: you can redistribute it and/or modify 7 + it under the terms of the GNU General Public License as published by 8 + the Free Software Foundation, either version 3 of the License, or 9 + (at your option) any later version. 10 + 11 + Darling is distributed in the hope that it will be useful, 12 + but WITHOUT ANY WARRANTY; without even the implied warranty of 13 + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 + GNU General Public License for more details. 15 + 16 + You should have received a copy of the GNU General Public License 17 + along with Darling. If not, see <http://www.gnu.org/licenses/>. 18 + */ 19 + 20 + 21 + #ifndef _Speech_H_ 22 + #define _Speech_H_ 23 + 24 + #import <Foundation/Foundation.h> 25 + 26 + #import <Speech/AFDictationDelegate.h> 27 + #import <Speech/SFSpeechRecognitionBufferDelegate.h> 28 + #import <Speech/SFAcousticFeature.h> 29 + #import <Speech/SFVoiceAnalytics.h> 30 + #import <Speech/_SFSearchResult.h> 31 + #import <Speech/SFSpeechRecognitionTask.h> 32 + #import <Speech/_SFSpeechRecognitionBlockTask.h> 33 + #import <Speech/_SFSpeechRecognitionDelegateTask.h> 34 + #import <Speech/SFSpeechRecognitionResult.h> 35 + #import <Speech/SFSpeechRecognizer.h> 36 + #import <Speech/SFTranscriptionSegment.h> 37 + #import <Speech/_SFSearchRequest.h> 38 + #import <Speech/SFSpeechRecognitionRequest.h> 39 + #import <Speech/SFSpeechURLRecognitionRequest.h> 40 + #import <Speech/SFSpeechAudioBufferRecognitionRequest.h> 41 + #import <Speech/SFTranscription.h> 42 + 43 + void* SFIsTV(void); 44 + 45 + #endif
+24
src/frameworks/Speech/include/Speech/_SFSearchRequest.h
··· 1 + /* 2 + This file is part of Darling. 3 + 4 + Copyright (C) 2019 Lubos Dolezel 5 + 6 + Darling is free software: you can redistribute it and/or modify 7 + it under the terms of the GNU General Public License as published by 8 + the Free Software Foundation, either version 3 of the License, or 9 + (at your option) any later version. 10 + 11 + Darling is distributed in the hope that it will be useful, 12 + but WITHOUT ANY WARRANTY; without even the implied warranty of 13 + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 + GNU General Public License for more details. 15 + 16 + You should have received a copy of the GNU General Public License 17 + along with Darling. If not, see <http://www.gnu.org/licenses/>. 18 + */ 19 + 20 + #include <Foundation/Foundation.h> 21 + 22 + @interface _SFSearchRequest : NSObject 23 + 24 + @end
+24
src/frameworks/Speech/include/Speech/_SFSearchResult.h
··· 1 + /* 2 + This file is part of Darling. 3 + 4 + Copyright (C) 2019 Lubos Dolezel 5 + 6 + Darling is free software: you can redistribute it and/or modify 7 + it under the terms of the GNU General Public License as published by 8 + the Free Software Foundation, either version 3 of the License, or 9 + (at your option) any later version. 10 + 11 + Darling is distributed in the hope that it will be useful, 12 + but WITHOUT ANY WARRANTY; without even the implied warranty of 13 + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 + GNU General Public License for more details. 15 + 16 + You should have received a copy of the GNU General Public License 17 + along with Darling. If not, see <http://www.gnu.org/licenses/>. 18 + */ 19 + 20 + #include <Foundation/Foundation.h> 21 + 22 + @interface _SFSearchResult : NSObject 23 + 24 + @end
+24
src/frameworks/Speech/include/Speech/_SFSpeechRecognitionBlockTask.h
··· 1 + /* 2 + This file is part of Darling. 3 + 4 + Copyright (C) 2019 Lubos Dolezel 5 + 6 + Darling is free software: you can redistribute it and/or modify 7 + it under the terms of the GNU General Public License as published by 8 + the Free Software Foundation, either version 3 of the License, or 9 + (at your option) any later version. 10 + 11 + Darling is distributed in the hope that it will be useful, 12 + but WITHOUT ANY WARRANTY; without even the implied warranty of 13 + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 + GNU General Public License for more details. 15 + 16 + You should have received a copy of the GNU General Public License 17 + along with Darling. If not, see <http://www.gnu.org/licenses/>. 18 + */ 19 + 20 + #include <Foundation/Foundation.h> 21 + 22 + @interface _SFSpeechRecognitionBlockTask : NSObject 23 + 24 + @end
+24
src/frameworks/Speech/include/Speech/_SFSpeechRecognitionDelegateTask.h
··· 1 + /* 2 + This file is part of Darling. 3 + 4 + Copyright (C) 2019 Lubos Dolezel 5 + 6 + Darling is free software: you can redistribute it and/or modify 7 + it under the terms of the GNU General Public License as published by 8 + the Free Software Foundation, either version 3 of the License, or 9 + (at your option) any later version. 10 + 11 + Darling is distributed in the hope that it will be useful, 12 + but WITHOUT ANY WARRANTY; without even the implied warranty of 13 + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 + GNU General Public License for more details. 15 + 16 + You should have received a copy of the GNU General Public License 17 + along with Darling. If not, see <http://www.gnu.org/licenses/>. 18 + */ 19 + 20 + #include <Foundation/Foundation.h> 21 + 22 + @interface _SFSpeechRecognitionDelegateTask : NSObject 23 + 24 + @end
+34
src/frameworks/Speech/src/SFAcousticFeature.m
··· 1 + /* 2 + This file is part of Darling. 3 + 4 + Copyright (C) 2019 Lubos Dolezel 5 + 6 + Darling is free software: you can redistribute it and/or modify 7 + it under the terms of the GNU General Public License as published by 8 + the Free Software Foundation, either version 3 of the License, or 9 + (at your option) any later version. 10 + 11 + Darling is distributed in the hope that it will be useful, 12 + but WITHOUT ANY WARRANTY; without even the implied warranty of 13 + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 + GNU General Public License for more details. 15 + 16 + You should have received a copy of the GNU General Public License 17 + along with Darling. If not, see <http://www.gnu.org/licenses/>. 18 + */ 19 + 20 + #import <Speech/SFAcousticFeature.h> 21 + 22 + @implementation SFAcousticFeature 23 + 24 + - (NSMethodSignature *)methodSignatureForSelector:(SEL)aSelector 25 + { 26 + return [NSMethodSignature signatureWithObjCTypes: "v@:"]; 27 + } 28 + 29 + - (void)forwardInvocation:(NSInvocation *)anInvocation 30 + { 31 + NSLog(@"Stub called: %@ in %@", NSStringFromSelector([anInvocation selector]), [self class]); 32 + } 33 + 34 + @end
+34
src/frameworks/Speech/src/SFSpeechAudioBufferRecognitionRequest.m
··· 1 + /* 2 + This file is part of Darling. 3 + 4 + Copyright (C) 2019 Lubos Dolezel 5 + 6 + Darling is free software: you can redistribute it and/or modify 7 + it under the terms of the GNU General Public License as published by 8 + the Free Software Foundation, either version 3 of the License, or 9 + (at your option) any later version. 10 + 11 + Darling is distributed in the hope that it will be useful, 12 + but WITHOUT ANY WARRANTY; without even the implied warranty of 13 + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 + GNU General Public License for more details. 15 + 16 + You should have received a copy of the GNU General Public License 17 + along with Darling. If not, see <http://www.gnu.org/licenses/>. 18 + */ 19 + 20 + #import <Speech/SFSpeechAudioBufferRecognitionRequest.h> 21 + 22 + @implementation SFSpeechAudioBufferRecognitionRequest 23 + 24 + - (NSMethodSignature *)methodSignatureForSelector:(SEL)aSelector 25 + { 26 + return [NSMethodSignature signatureWithObjCTypes: "v@:"]; 27 + } 28 + 29 + - (void)forwardInvocation:(NSInvocation *)anInvocation 30 + { 31 + NSLog(@"Stub called: %@ in %@", NSStringFromSelector([anInvocation selector]), [self class]); 32 + } 33 + 34 + @end
+34
src/frameworks/Speech/src/SFSpeechRecognitionRequest.m
··· 1 + /* 2 + This file is part of Darling. 3 + 4 + Copyright (C) 2019 Lubos Dolezel 5 + 6 + Darling is free software: you can redistribute it and/or modify 7 + it under the terms of the GNU General Public License as published by 8 + the Free Software Foundation, either version 3 of the License, or 9 + (at your option) any later version. 10 + 11 + Darling is distributed in the hope that it will be useful, 12 + but WITHOUT ANY WARRANTY; without even the implied warranty of 13 + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 + GNU General Public License for more details. 15 + 16 + You should have received a copy of the GNU General Public License 17 + along with Darling. If not, see <http://www.gnu.org/licenses/>. 18 + */ 19 + 20 + #import <Speech/SFSpeechRecognitionRequest.h> 21 + 22 + @implementation SFSpeechRecognitionRequest 23 + 24 + - (NSMethodSignature *)methodSignatureForSelector:(SEL)aSelector 25 + { 26 + return [NSMethodSignature signatureWithObjCTypes: "v@:"]; 27 + } 28 + 29 + - (void)forwardInvocation:(NSInvocation *)anInvocation 30 + { 31 + NSLog(@"Stub called: %@ in %@", NSStringFromSelector([anInvocation selector]), [self class]); 32 + } 33 + 34 + @end
+34
src/frameworks/Speech/src/SFSpeechRecognitionResult.m
··· 1 + /* 2 + This file is part of Darling. 3 + 4 + Copyright (C) 2019 Lubos Dolezel 5 + 6 + Darling is free software: you can redistribute it and/or modify 7 + it under the terms of the GNU General Public License as published by 8 + the Free Software Foundation, either version 3 of the License, or 9 + (at your option) any later version. 10 + 11 + Darling is distributed in the hope that it will be useful, 12 + but WITHOUT ANY WARRANTY; without even the implied warranty of 13 + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 + GNU General Public License for more details. 15 + 16 + You should have received a copy of the GNU General Public License 17 + along with Darling. If not, see <http://www.gnu.org/licenses/>. 18 + */ 19 + 20 + #import <Speech/SFSpeechRecognitionResult.h> 21 + 22 + @implementation SFSpeechRecognitionResult 23 + 24 + - (NSMethodSignature *)methodSignatureForSelector:(SEL)aSelector 25 + { 26 + return [NSMethodSignature signatureWithObjCTypes: "v@:"]; 27 + } 28 + 29 + - (void)forwardInvocation:(NSInvocation *)anInvocation 30 + { 31 + NSLog(@"Stub called: %@ in %@", NSStringFromSelector([anInvocation selector]), [self class]); 32 + } 33 + 34 + @end
+34
src/frameworks/Speech/src/SFSpeechRecognitionTask.m
··· 1 + /* 2 + This file is part of Darling. 3 + 4 + Copyright (C) 2019 Lubos Dolezel 5 + 6 + Darling is free software: you can redistribute it and/or modify 7 + it under the terms of the GNU General Public License as published by 8 + the Free Software Foundation, either version 3 of the License, or 9 + (at your option) any later version. 10 + 11 + Darling is distributed in the hope that it will be useful, 12 + but WITHOUT ANY WARRANTY; without even the implied warranty of 13 + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 + GNU General Public License for more details. 15 + 16 + You should have received a copy of the GNU General Public License 17 + along with Darling. If not, see <http://www.gnu.org/licenses/>. 18 + */ 19 + 20 + #import <Speech/SFSpeechRecognitionTask.h> 21 + 22 + @implementation SFSpeechRecognitionTask 23 + 24 + - (NSMethodSignature *)methodSignatureForSelector:(SEL)aSelector 25 + { 26 + return [NSMethodSignature signatureWithObjCTypes: "v@:"]; 27 + } 28 + 29 + - (void)forwardInvocation:(NSInvocation *)anInvocation 30 + { 31 + NSLog(@"Stub called: %@ in %@", NSStringFromSelector([anInvocation selector]), [self class]); 32 + } 33 + 34 + @end
+34
src/frameworks/Speech/src/SFSpeechRecognizer.m
··· 1 + /* 2 + This file is part of Darling. 3 + 4 + Copyright (C) 2019 Lubos Dolezel 5 + 6 + Darling is free software: you can redistribute it and/or modify 7 + it under the terms of the GNU General Public License as published by 8 + the Free Software Foundation, either version 3 of the License, or 9 + (at your option) any later version. 10 + 11 + Darling is distributed in the hope that it will be useful, 12 + but WITHOUT ANY WARRANTY; without even the implied warranty of 13 + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 + GNU General Public License for more details. 15 + 16 + You should have received a copy of the GNU General Public License 17 + along with Darling. If not, see <http://www.gnu.org/licenses/>. 18 + */ 19 + 20 + #import <Speech/SFSpeechRecognizer.h> 21 + 22 + @implementation SFSpeechRecognizer 23 + 24 + - (NSMethodSignature *)methodSignatureForSelector:(SEL)aSelector 25 + { 26 + return [NSMethodSignature signatureWithObjCTypes: "v@:"]; 27 + } 28 + 29 + - (void)forwardInvocation:(NSInvocation *)anInvocation 30 + { 31 + NSLog(@"Stub called: %@ in %@", NSStringFromSelector([anInvocation selector]), [self class]); 32 + } 33 + 34 + @end
+34
src/frameworks/Speech/src/SFSpeechURLRecognitionRequest.m
··· 1 + /* 2 + This file is part of Darling. 3 + 4 + Copyright (C) 2019 Lubos Dolezel 5 + 6 + Darling is free software: you can redistribute it and/or modify 7 + it under the terms of the GNU General Public License as published by 8 + the Free Software Foundation, either version 3 of the License, or 9 + (at your option) any later version. 10 + 11 + Darling is distributed in the hope that it will be useful, 12 + but WITHOUT ANY WARRANTY; without even the implied warranty of 13 + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 + GNU General Public License for more details. 15 + 16 + You should have received a copy of the GNU General Public License 17 + along with Darling. If not, see <http://www.gnu.org/licenses/>. 18 + */ 19 + 20 + #import <Speech/SFSpeechURLRecognitionRequest.h> 21 + 22 + @implementation SFSpeechURLRecognitionRequest 23 + 24 + - (NSMethodSignature *)methodSignatureForSelector:(SEL)aSelector 25 + { 26 + return [NSMethodSignature signatureWithObjCTypes: "v@:"]; 27 + } 28 + 29 + - (void)forwardInvocation:(NSInvocation *)anInvocation 30 + { 31 + NSLog(@"Stub called: %@ in %@", NSStringFromSelector([anInvocation selector]), [self class]); 32 + } 33 + 34 + @end
+34
src/frameworks/Speech/src/SFTranscription.m
··· 1 + /* 2 + This file is part of Darling. 3 + 4 + Copyright (C) 2019 Lubos Dolezel 5 + 6 + Darling is free software: you can redistribute it and/or modify 7 + it under the terms of the GNU General Public License as published by 8 + the Free Software Foundation, either version 3 of the License, or 9 + (at your option) any later version. 10 + 11 + Darling is distributed in the hope that it will be useful, 12 + but WITHOUT ANY WARRANTY; without even the implied warranty of 13 + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 + GNU General Public License for more details. 15 + 16 + You should have received a copy of the GNU General Public License 17 + along with Darling. If not, see <http://www.gnu.org/licenses/>. 18 + */ 19 + 20 + #import <Speech/SFTranscription.h> 21 + 22 + @implementation SFTranscription 23 + 24 + - (NSMethodSignature *)methodSignatureForSelector:(SEL)aSelector 25 + { 26 + return [NSMethodSignature signatureWithObjCTypes: "v@:"]; 27 + } 28 + 29 + - (void)forwardInvocation:(NSInvocation *)anInvocation 30 + { 31 + NSLog(@"Stub called: %@ in %@", NSStringFromSelector([anInvocation selector]), [self class]); 32 + } 33 + 34 + @end
+34
src/frameworks/Speech/src/SFTranscriptionSegment.m
··· 1 + /* 2 + This file is part of Darling. 3 + 4 + Copyright (C) 2019 Lubos Dolezel 5 + 6 + Darling is free software: you can redistribute it and/or modify 7 + it under the terms of the GNU General Public License as published by 8 + the Free Software Foundation, either version 3 of the License, or 9 + (at your option) any later version. 10 + 11 + Darling is distributed in the hope that it will be useful, 12 + but WITHOUT ANY WARRANTY; without even the implied warranty of 13 + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 + GNU General Public License for more details. 15 + 16 + You should have received a copy of the GNU General Public License 17 + along with Darling. If not, see <http://www.gnu.org/licenses/>. 18 + */ 19 + 20 + #import <Speech/SFTranscriptionSegment.h> 21 + 22 + @implementation SFTranscriptionSegment 23 + 24 + - (NSMethodSignature *)methodSignatureForSelector:(SEL)aSelector 25 + { 26 + return [NSMethodSignature signatureWithObjCTypes: "v@:"]; 27 + } 28 + 29 + - (void)forwardInvocation:(NSInvocation *)anInvocation 30 + { 31 + NSLog(@"Stub called: %@ in %@", NSStringFromSelector([anInvocation selector]), [self class]); 32 + } 33 + 34 + @end
+34
src/frameworks/Speech/src/SFVoiceAnalytics.m
··· 1 + /* 2 + This file is part of Darling. 3 + 4 + Copyright (C) 2019 Lubos Dolezel 5 + 6 + Darling is free software: you can redistribute it and/or modify 7 + it under the terms of the GNU General Public License as published by 8 + the Free Software Foundation, either version 3 of the License, or 9 + (at your option) any later version. 10 + 11 + Darling is distributed in the hope that it will be useful, 12 + but WITHOUT ANY WARRANTY; without even the implied warranty of 13 + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 + GNU General Public License for more details. 15 + 16 + You should have received a copy of the GNU General Public License 17 + along with Darling. If not, see <http://www.gnu.org/licenses/>. 18 + */ 19 + 20 + #import <Speech/SFVoiceAnalytics.h> 21 + 22 + @implementation SFVoiceAnalytics 23 + 24 + - (NSMethodSignature *)methodSignatureForSelector:(SEL)aSelector 25 + { 26 + return [NSMethodSignature signatureWithObjCTypes: "v@:"]; 27 + } 28 + 29 + - (void)forwardInvocation:(NSInvocation *)anInvocation 30 + { 31 + NSLog(@"Stub called: %@ in %@", NSStringFromSelector([anInvocation selector]), [self class]); 32 + } 33 + 34 + @end
+36
src/frameworks/Speech/src/Speech.m
··· 1 + /* 2 + This file is part of Darling. 3 + 4 + Copyright (C) 2019 Lubos Dolezel 5 + 6 + Darling is free software: you can redistribute it and/or modify 7 + it under the terms of the GNU General Public License as published by 8 + the Free Software Foundation, either version 3 of the License, or 9 + (at your option) any later version. 10 + 11 + Darling is distributed in the hope that it will be useful, 12 + but WITHOUT ANY WARRANTY; without even the implied warranty of 13 + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 + GNU General Public License for more details. 15 + 16 + You should have received a copy of the GNU General Public License 17 + along with Darling. If not, see <http://www.gnu.org/licenses/>. 18 + */ 19 + 20 + 21 + #include <Speech/Speech.h> 22 + #include <stdlib.h> 23 + #include <stdio.h> 24 + 25 + static int verbose = 0; 26 + 27 + __attribute__((constructor)) 28 + static void initme(void) { 29 + verbose = getenv("STUB_VERBOSE") != NULL; 30 + } 31 + 32 + void* SFIsTV(void) 33 + { 34 + if (verbose) puts("STUB: SFIsTV called"); 35 + return NULL; 36 + }
+34
src/frameworks/Speech/src/_SFSearchRequest.m
··· 1 + /* 2 + This file is part of Darling. 3 + 4 + Copyright (C) 2019 Lubos Dolezel 5 + 6 + Darling is free software: you can redistribute it and/or modify 7 + it under the terms of the GNU General Public License as published by 8 + the Free Software Foundation, either version 3 of the License, or 9 + (at your option) any later version. 10 + 11 + Darling is distributed in the hope that it will be useful, 12 + but WITHOUT ANY WARRANTY; without even the implied warranty of 13 + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 + GNU General Public License for more details. 15 + 16 + You should have received a copy of the GNU General Public License 17 + along with Darling. If not, see <http://www.gnu.org/licenses/>. 18 + */ 19 + 20 + #import <Speech/_SFSearchRequest.h> 21 + 22 + @implementation _SFSearchRequest 23 + 24 + - (NSMethodSignature *)methodSignatureForSelector:(SEL)aSelector 25 + { 26 + return [NSMethodSignature signatureWithObjCTypes: "v@:"]; 27 + } 28 + 29 + - (void)forwardInvocation:(NSInvocation *)anInvocation 30 + { 31 + NSLog(@"Stub called: %@ in %@", NSStringFromSelector([anInvocation selector]), [self class]); 32 + } 33 + 34 + @end
+34
src/frameworks/Speech/src/_SFSearchResult.m
··· 1 + /* 2 + This file is part of Darling. 3 + 4 + Copyright (C) 2019 Lubos Dolezel 5 + 6 + Darling is free software: you can redistribute it and/or modify 7 + it under the terms of the GNU General Public License as published by 8 + the Free Software Foundation, either version 3 of the License, or 9 + (at your option) any later version. 10 + 11 + Darling is distributed in the hope that it will be useful, 12 + but WITHOUT ANY WARRANTY; without even the implied warranty of 13 + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 + GNU General Public License for more details. 15 + 16 + You should have received a copy of the GNU General Public License 17 + along with Darling. If not, see <http://www.gnu.org/licenses/>. 18 + */ 19 + 20 + #import <Speech/_SFSearchResult.h> 21 + 22 + @implementation _SFSearchResult 23 + 24 + - (NSMethodSignature *)methodSignatureForSelector:(SEL)aSelector 25 + { 26 + return [NSMethodSignature signatureWithObjCTypes: "v@:"]; 27 + } 28 + 29 + - (void)forwardInvocation:(NSInvocation *)anInvocation 30 + { 31 + NSLog(@"Stub called: %@ in %@", NSStringFromSelector([anInvocation selector]), [self class]); 32 + } 33 + 34 + @end
+34
src/frameworks/Speech/src/_SFSpeechRecognitionBlockTask.m
··· 1 + /* 2 + This file is part of Darling. 3 + 4 + Copyright (C) 2019 Lubos Dolezel 5 + 6 + Darling is free software: you can redistribute it and/or modify 7 + it under the terms of the GNU General Public License as published by 8 + the Free Software Foundation, either version 3 of the License, or 9 + (at your option) any later version. 10 + 11 + Darling is distributed in the hope that it will be useful, 12 + but WITHOUT ANY WARRANTY; without even the implied warranty of 13 + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 + GNU General Public License for more details. 15 + 16 + You should have received a copy of the GNU General Public License 17 + along with Darling. If not, see <http://www.gnu.org/licenses/>. 18 + */ 19 + 20 + #import <Speech/_SFSpeechRecognitionBlockTask.h> 21 + 22 + @implementation _SFSpeechRecognitionBlockTask 23 + 24 + - (NSMethodSignature *)methodSignatureForSelector:(SEL)aSelector 25 + { 26 + return [NSMethodSignature signatureWithObjCTypes: "v@:"]; 27 + } 28 + 29 + - (void)forwardInvocation:(NSInvocation *)anInvocation 30 + { 31 + NSLog(@"Stub called: %@ in %@", NSStringFromSelector([anInvocation selector]), [self class]); 32 + } 33 + 34 + @end
+34
src/frameworks/Speech/src/_SFSpeechRecognitionDelegateTask.m
··· 1 + /* 2 + This file is part of Darling. 3 + 4 + Copyright (C) 2019 Lubos Dolezel 5 + 6 + Darling is free software: you can redistribute it and/or modify 7 + it under the terms of the GNU General Public License as published by 8 + the Free Software Foundation, either version 3 of the License, or 9 + (at your option) any later version. 10 + 11 + Darling is distributed in the hope that it will be useful, 12 + but WITHOUT ANY WARRANTY; without even the implied warranty of 13 + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 + GNU General Public License for more details. 15 + 16 + You should have received a copy of the GNU General Public License 17 + along with Darling. If not, see <http://www.gnu.org/licenses/>. 18 + */ 19 + 20 + #import <Speech/_SFSpeechRecognitionDelegateTask.h> 21 + 22 + @implementation _SFSpeechRecognitionDelegateTask 23 + 24 + - (NSMethodSignature *)methodSignatureForSelector:(SEL)aSelector 25 + { 26 + return [NSMethodSignature signatureWithObjCTypes: "v@:"]; 27 + } 28 + 29 + - (void)forwardInvocation:(NSInvocation *)anInvocation 30 + { 31 + NSLog(@"Stub called: %@ in %@", NSStringFromSelector([anInvocation selector]), [self class]); 32 + } 33 + 34 + @end