this repo has no description
1
fork

Configure Feed

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

Add ScreenSaver stubs

+1833
+1
Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/ScreenSaver.framework/Headers
··· 1 + Versions/Current/Headers
+1
Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/ScreenSaver.framework/Versions/A/Headers
··· 1 + ../../../../../../../../../../../../src/frameworks/ScreenSaver/include/ScreenSaver
+1
Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/ScreenSaver.framework/Versions/Current
··· 1 + A
+1
framework-include/ScreenSaver
··· 1 + ../Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/ScreenSaver.framework/Headers
+1
src/frameworks/CMakeLists.txt
··· 46 46 add_subdirectory(QTKit) 47 47 add_subdirectory(Quartz) 48 48 add_subdirectory(QuickLook) 49 + add_subdirectory(ScreenSaver) 49 50 add_subdirectory(ScriptingBridge) 50 51 add_subdirectory(SecurityFoundation) 51 52 add_subdirectory(SecurityInterface)
+41
src/frameworks/ScreenSaver/CMakeLists.txt
··· 1 + project(ScreenSaver) 2 + 3 + set(DYLIB_COMPAT_VERSION "1.0.0") 4 + set(DYLIB_CURRENT_VERSION "1.0.0") 5 + 6 + add_framework(ScreenSaver 7 + FAT 8 + CURRENT_VERSION 9 + VERSION "A" 10 + 11 + SOURCES 12 + src/ScreenSaver.m 13 + src/ScreenSaverView.m 14 + src/ScreenSaverExtensionModule.m 15 + src/ScreenSaverModules.m 16 + src/ScreenSaverDefaults.m 17 + src/ScreenSaverDefaultsManager.m 18 + src/ScreenSaverWindow.m 19 + src/ScreenSaverController.m 20 + src/ScreenSaverEngine.m 21 + src/ScreenSaverClockView.m 22 + src/ScreenSaverClockWindow.m 23 + src/ScreenSaverViewController.m 24 + src/LegacyScreenSaverModule.m 25 + src/ScreenSaverExtensionContext.m 26 + src/ScreenSaverHostExtensionContext.m 27 + src/ScreenSaverMessageTracerLogger.m 28 + src/ScreenSaverExtensionView.m 29 + src/ScreenSaverExtension.m 30 + src/ScreenSaverConfigurationViewController.m 31 + src/ScreenSaverModule.m 32 + src/ScreenSaverMessage.m 33 + src/ScreenSaverExtensionManager.m 34 + src/LegacyScreenSaverExtensionModule.m 35 + src/ScreenSaverPhotoChooser.m 36 + 37 + DEPENDENCIES 38 + system 39 + objc 40 + Foundation 41 + )
+24
src/frameworks/ScreenSaver/include/ScreenSaver/LegacyScreenSaverExtensionModule.h
··· 1 + /* 2 + This file is part of Darling. 3 + 4 + Copyright (C) 2021 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 LegacyScreenSaverExtensionModule : NSObject 23 + 24 + @end
+24
src/frameworks/ScreenSaver/include/ScreenSaver/LegacyScreenSaverModule.h
··· 1 + /* 2 + This file is part of Darling. 3 + 4 + Copyright (C) 2021 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 LegacyScreenSaverModule : NSObject 23 + 24 + @end
+24
src/frameworks/ScreenSaver/include/ScreenSaver/NSApplicationDelegate.h
··· 1 + /* 2 + This file is part of Darling. 3 + 4 + Copyright (C) 2021 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 NSApplicationDelegate 23 + 24 + @end
+24
src/frameworks/ScreenSaver/include/ScreenSaver/NSExtensionRequestHandling.h
··· 1 + /* 2 + This file is part of Darling. 3 + 4 + Copyright (C) 2021 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 NSExtensionRequestHandling 23 + 24 + @end
+24
src/frameworks/ScreenSaver/include/ScreenSaver/NSFileManagerDelegate.h
··· 1 + /* 2 + This file is part of Darling. 3 + 4 + Copyright (C) 2021 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 NSFileManagerDelegate 23 + 24 + @end
+24
src/frameworks/ScreenSaver/include/ScreenSaver/NSWindowDelegate.h
··· 1 + /* 2 + This file is part of Darling. 3 + 4 + Copyright (C) 2021 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 NSWindowDelegate 23 + 24 + @end
+24
src/frameworks/ScreenSaver/include/ScreenSaver/NSXPCListenerDelegate.h
··· 1 + /* 2 + This file is part of Darling. 3 + 4 + Copyright (C) 2021 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 NSXPCListenerDelegate 23 + 24 + @end
+82
src/frameworks/ScreenSaver/include/ScreenSaver/ScreenSaver.h
··· 1 + /* 2 + This file is part of Darling. 3 + 4 + Copyright (C) 2021 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 _ScreenSaver_H_ 22 + #define _ScreenSaver_H_ 23 + 24 + #import <Foundation/Foundation.h> 25 + 26 + #import <ScreenSaver/NSApplicationDelegate.h> 27 + #import <ScreenSaver/NSExtensionRequestHandling.h> 28 + #import <ScreenSaver/NSFileManagerDelegate.h> 29 + #import <ScreenSaver/NSWindowDelegate.h> 30 + #import <ScreenSaver/NSXPCListenerDelegate.h> 31 + #import <ScreenSaver/ScreenSaverControl.h> 32 + #import <ScreenSaver/ScreenSaverExtension.h> 33 + #import <ScreenSaver/ScreenSaverExtensionContext.h> 34 + #import <ScreenSaver/ScreenSaverExtensionHosting.h> 35 + #import <ScreenSaver/ScreenSaverExtensionPosting.h> 36 + #import <ScreenSaver/ScreenSaverHostExtensionContext.h> 37 + #import <ScreenSaver/ScreenSaverView.h> 38 + #import <ScreenSaver/ScreenSaverExtensionModule.h> 39 + #import <ScreenSaver/ScreenSaverModules.h> 40 + #import <ScreenSaver/ScreenSaverDefaults.h> 41 + #import <ScreenSaver/ScreenSaverDefaultsManager.h> 42 + #import <ScreenSaver/ScreenSaverWindow.h> 43 + #import <ScreenSaver/ScreenSaverController.h> 44 + #import <ScreenSaver/ScreenSaverEngine.h> 45 + #import <ScreenSaver/ScreenSaverClockView.h> 46 + #import <ScreenSaver/ScreenSaverClockWindow.h> 47 + #import <ScreenSaver/ScreenSaverViewController.h> 48 + #import <ScreenSaver/LegacyScreenSaverModule.h> 49 + #import <ScreenSaver/ScreenSaverExtensionContext.h> 50 + #import <ScreenSaver/ScreenSaverHostExtensionContext.h> 51 + #import <ScreenSaver/ScreenSaverMessageTracerLogger.h> 52 + #import <ScreenSaver/ScreenSaverExtensionView.h> 53 + #import <ScreenSaver/ScreenSaverExtension.h> 54 + #import <ScreenSaver/ScreenSaverConfigurationViewController.h> 55 + #import <ScreenSaver/ScreenSaverModule.h> 56 + #import <ScreenSaver/ScreenSaverMessage.h> 57 + #import <ScreenSaver/ScreenSaverExtensionManager.h> 58 + #import <ScreenSaver/LegacyScreenSaverExtensionModule.h> 59 + #import <ScreenSaver/ScreenSaverPhotoChooser.h> 60 + 61 + #include <ScreenSaver/inlines.h> 62 + 63 + void* OSLogForCategory(void); 64 + void* SSCenterRectInRect(void); 65 + void* SSGetScaleFactor(void); 66 + void* SSHasGfxAcceleration(void); 67 + void* SSInitRandom(void); 68 + void* SSInitRandomWithSeed(void); 69 + void* SSIsAppleSignedModule(void); 70 + void* SSModuleIsCompatibleArch(void); 71 + void* SSPreflightModuleLoadForPath(void); 72 + void* SSRandomFloat(void); 73 + void* SSRandomInt(void); 74 + void* SSRandomPointForSizeWithinBounds(void); 75 + void* SSRunningAsNormalUser(void); 76 + void* SSScreenIsMirrored(void); 77 + void* SSScreenSaverWindowLevel(void); 78 + void* SSSetCrashReporterSignature(void); 79 + void* SSShouldUseAlernateDefault(void); 80 + void* SSSystemScreenSaversPath(void); 81 + 82 + #endif
+24
src/frameworks/ScreenSaver/include/ScreenSaver/ScreenSaverClockView.h
··· 1 + /* 2 + This file is part of Darling. 3 + 4 + Copyright (C) 2021 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 ScreenSaverClockView : NSObject 23 + 24 + @end
+24
src/frameworks/ScreenSaver/include/ScreenSaver/ScreenSaverClockWindow.h
··· 1 + /* 2 + This file is part of Darling. 3 + 4 + Copyright (C) 2021 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 ScreenSaverClockWindow : NSObject 23 + 24 + @end
+24
src/frameworks/ScreenSaver/include/ScreenSaver/ScreenSaverConfigurationViewController.h
··· 1 + /* 2 + This file is part of Darling. 3 + 4 + Copyright (C) 2021 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 ScreenSaverConfigurationViewController : NSObject 23 + 24 + @end
+24
src/frameworks/ScreenSaver/include/ScreenSaver/ScreenSaverControl.h
··· 1 + /* 2 + This file is part of Darling. 3 + 4 + Copyright (C) 2021 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 ScreenSaverControl 23 + 24 + @end
+24
src/frameworks/ScreenSaver/include/ScreenSaver/ScreenSaverController.h
··· 1 + /* 2 + This file is part of Darling. 3 + 4 + Copyright (C) 2021 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 ScreenSaverController : NSObject 23 + 24 + @end
+24
src/frameworks/ScreenSaver/include/ScreenSaver/ScreenSaverDefaults.h
··· 1 + /* 2 + This file is part of Darling. 3 + 4 + Copyright (C) 2021 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 ScreenSaverDefaults : NSObject 23 + 24 + @end
+24
src/frameworks/ScreenSaver/include/ScreenSaver/ScreenSaverDefaultsManager.h
··· 1 + /* 2 + This file is part of Darling. 3 + 4 + Copyright (C) 2021 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 ScreenSaverDefaultsManager : NSObject 23 + 24 + @end
+24
src/frameworks/ScreenSaver/include/ScreenSaver/ScreenSaverEngine.h
··· 1 + /* 2 + This file is part of Darling. 3 + 4 + Copyright (C) 2021 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 ScreenSaverEngine : NSObject 23 + 24 + @end
+24
src/frameworks/ScreenSaver/include/ScreenSaver/ScreenSaverExtension.h
··· 1 + /* 2 + This file is part of Darling. 3 + 4 + Copyright (C) 2021 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 ScreenSaverExtension : NSObject 23 + 24 + @end
+24
src/frameworks/ScreenSaver/include/ScreenSaver/ScreenSaverExtensionContext.h
··· 1 + /* 2 + This file is part of Darling. 3 + 4 + Copyright (C) 2021 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 ScreenSaverExtensionContext : NSObject 23 + 24 + @end
+24
src/frameworks/ScreenSaver/include/ScreenSaver/ScreenSaverExtensionHosting.h
··· 1 + /* 2 + This file is part of Darling. 3 + 4 + Copyright (C) 2021 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 ScreenSaverExtensionHosting 23 + 24 + @end
+24
src/frameworks/ScreenSaver/include/ScreenSaver/ScreenSaverExtensionManager.h
··· 1 + /* 2 + This file is part of Darling. 3 + 4 + Copyright (C) 2021 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 ScreenSaverExtensionManager : NSObject 23 + 24 + @end
+24
src/frameworks/ScreenSaver/include/ScreenSaver/ScreenSaverExtensionModule.h
··· 1 + /* 2 + This file is part of Darling. 3 + 4 + Copyright (C) 2021 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 ScreenSaverExtensionModule : NSObject 23 + 24 + @end
+24
src/frameworks/ScreenSaver/include/ScreenSaver/ScreenSaverExtensionPosting.h
··· 1 + /* 2 + This file is part of Darling. 3 + 4 + Copyright (C) 2021 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 ScreenSaverExtensionPosting 23 + 24 + @end
+24
src/frameworks/ScreenSaver/include/ScreenSaver/ScreenSaverExtensionView.h
··· 1 + /* 2 + This file is part of Darling. 3 + 4 + Copyright (C) 2021 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 ScreenSaverExtensionView : NSObject 23 + 24 + @end
+24
src/frameworks/ScreenSaver/include/ScreenSaver/ScreenSaverHostExtensionContext.h
··· 1 + /* 2 + This file is part of Darling. 3 + 4 + Copyright (C) 2021 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 ScreenSaverHostExtensionContext : NSObject 23 + 24 + @end
+24
src/frameworks/ScreenSaver/include/ScreenSaver/ScreenSaverMessage.h
··· 1 + /* 2 + This file is part of Darling. 3 + 4 + Copyright (C) 2021 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 ScreenSaverMessage : NSObject 23 + 24 + @end
+24
src/frameworks/ScreenSaver/include/ScreenSaver/ScreenSaverMessageTracerLogger.h
··· 1 + /* 2 + This file is part of Darling. 3 + 4 + Copyright (C) 2021 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 ScreenSaverMessageTracerLogger : NSObject 23 + 24 + @end
+24
src/frameworks/ScreenSaver/include/ScreenSaver/ScreenSaverModule.h
··· 1 + /* 2 + This file is part of Darling. 3 + 4 + Copyright (C) 2021 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 ScreenSaverModule : NSObject 23 + 24 + @end
+24
src/frameworks/ScreenSaver/include/ScreenSaver/ScreenSaverModules.h
··· 1 + /* 2 + This file is part of Darling. 3 + 4 + Copyright (C) 2021 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 ScreenSaverModules : NSObject 23 + 24 + @end
+24
src/frameworks/ScreenSaver/include/ScreenSaver/ScreenSaverPhotoChooser.h
··· 1 + /* 2 + This file is part of Darling. 3 + 4 + Copyright (C) 2021 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 ScreenSaverPhotoChooser : NSObject 23 + 24 + @end
+24
src/frameworks/ScreenSaver/include/ScreenSaver/ScreenSaverView.h
··· 1 + /* 2 + This file is part of Darling. 3 + 4 + Copyright (C) 2021 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 ScreenSaverView : NSObject 23 + 24 + @end
+24
src/frameworks/ScreenSaver/include/ScreenSaver/ScreenSaverViewController.h
··· 1 + /* 2 + This file is part of Darling. 3 + 4 + Copyright (C) 2021 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 ScreenSaverViewController : NSObject 23 + 24 + @end
+24
src/frameworks/ScreenSaver/include/ScreenSaver/ScreenSaverWindow.h
··· 1 + /* 2 + This file is part of Darling. 3 + 4 + Copyright (C) 2021 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 ScreenSaverWindow : NSObject 23 + 24 + @end
+41
src/frameworks/ScreenSaver/include/ScreenSaver/inlines.h
··· 1 + #ifndef _SCREENSAVER_INLINES_H_ 2 + #define _SCREENSAVER_INLINES_H_ 3 + 4 + #import <Foundation/Foundation.h> 5 + #import <CoreGraphics/CGBase.h> 6 + 7 + __BEGIN_DECLS 8 + 9 + static NSRect SSCenteredRectInRect(NSRect inner, NSRect outer) { 10 + #if CGFLOAT_IS_DOUBLE 11 + #define SSCenteredRectInRect_floor floor 12 + #else 13 + #define SSCenteredRectInRect_floor floorf 14 + #endif 15 + inner.origin.x = outer.origin.x + SSCenteredRectInRect_floor((outer.size.width - inner.size.width ) / 2); 16 + inner.origin.y = outer.origin.y + SSCenteredRectInRect_floor((outer.size.height - inner.size.height) / 2); 17 + return inner; 18 + }; 19 + 20 + static int SSRandomIntBetween(int a, int b) { 21 + int range = (a > b) ? (a - b) : (b - a); 22 + int result = range * ((float)random() / (float)RAND_MAX); 23 + return a + result; 24 + }; 25 + 26 + static CGFloat SSRandomFloatBetween(CGFloat a, CGFloat b) { 27 + CGFloat range = (a > b) ? (a - b) : (b - a); 28 + CGFloat result = range * ((CGFloat)random() / (CGFloat)RAND_MAX); 29 + return a + result; 30 + }; 31 + 32 + static NSPoint SSRandomPointForSizeWithinRect(NSSize size, NSRect rect) { 33 + return NSMakePoint( 34 + SSRandomFloatBetween(rect.origin.x, rect.origin.x + rect.size.width - size.width), 35 + SSRandomFloatBetween(rect.origin.y, rect.origin.y + rect.size.height - size.height) 36 + ); 37 + }; 38 + 39 + __END_DECLS 40 + 41 + #endif // _SCREENSAVER_INLINES_H_
+34
src/frameworks/ScreenSaver/src/LegacyScreenSaverExtensionModule.m
··· 1 + /* 2 + This file is part of Darling. 3 + 4 + Copyright (C) 2021 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 <ScreenSaver/LegacyScreenSaverExtensionModule.h> 21 + 22 + @implementation LegacyScreenSaverExtensionModule 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/ScreenSaver/src/LegacyScreenSaverModule.m
··· 1 + /* 2 + This file is part of Darling. 3 + 4 + Copyright (C) 2021 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 <ScreenSaver/LegacyScreenSaverModule.h> 21 + 22 + @implementation LegacyScreenSaverModule 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
+138
src/frameworks/ScreenSaver/src/ScreenSaver.m
··· 1 + /* 2 + This file is part of Darling. 3 + 4 + Copyright (C) 2021 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 <ScreenSaver/ScreenSaver.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* OSLogForCategory(void) 33 + { 34 + if (verbose) puts("STUB: OSLogForCategory called"); 35 + return NULL; 36 + } 37 + 38 + void* SSCenterRectInRect(void) 39 + { 40 + if (verbose) puts("STUB: SSCenterRectInRect called"); 41 + return NULL; 42 + } 43 + 44 + void* SSGetScaleFactor(void) 45 + { 46 + if (verbose) puts("STUB: SSGetScaleFactor called"); 47 + return NULL; 48 + } 49 + 50 + void* SSHasGfxAcceleration(void) 51 + { 52 + if (verbose) puts("STUB: SSHasGfxAcceleration called"); 53 + return NULL; 54 + } 55 + 56 + void* SSInitRandom(void) 57 + { 58 + if (verbose) puts("STUB: SSInitRandom called"); 59 + return NULL; 60 + } 61 + 62 + void* SSInitRandomWithSeed(void) 63 + { 64 + if (verbose) puts("STUB: SSInitRandomWithSeed called"); 65 + return NULL; 66 + } 67 + 68 + void* SSIsAppleSignedModule(void) 69 + { 70 + if (verbose) puts("STUB: SSIsAppleSignedModule called"); 71 + return NULL; 72 + } 73 + 74 + void* SSModuleIsCompatibleArch(void) 75 + { 76 + if (verbose) puts("STUB: SSModuleIsCompatibleArch called"); 77 + return NULL; 78 + } 79 + 80 + void* SSPreflightModuleLoadForPath(void) 81 + { 82 + if (verbose) puts("STUB: SSPreflightModuleLoadForPath called"); 83 + return NULL; 84 + } 85 + 86 + void* SSRandomFloat(void) 87 + { 88 + if (verbose) puts("STUB: SSRandomFloat called"); 89 + return NULL; 90 + } 91 + 92 + void* SSRandomInt(void) 93 + { 94 + if (verbose) puts("STUB: SSRandomInt called"); 95 + return NULL; 96 + } 97 + 98 + void* SSRandomPointForSizeWithinBounds(void) 99 + { 100 + if (verbose) puts("STUB: SSRandomPointForSizeWithinBounds called"); 101 + return NULL; 102 + } 103 + 104 + void* SSRunningAsNormalUser(void) 105 + { 106 + if (verbose) puts("STUB: SSRunningAsNormalUser called"); 107 + return NULL; 108 + } 109 + 110 + void* SSScreenIsMirrored(void) 111 + { 112 + if (verbose) puts("STUB: SSScreenIsMirrored called"); 113 + return NULL; 114 + } 115 + 116 + void* SSScreenSaverWindowLevel(void) 117 + { 118 + if (verbose) puts("STUB: SSScreenSaverWindowLevel called"); 119 + return NULL; 120 + } 121 + 122 + void* SSSetCrashReporterSignature(void) 123 + { 124 + if (verbose) puts("STUB: SSSetCrashReporterSignature called"); 125 + return NULL; 126 + } 127 + 128 + void* SSShouldUseAlernateDefault(void) 129 + { 130 + if (verbose) puts("STUB: SSShouldUseAlernateDefault called"); 131 + return NULL; 132 + } 133 + 134 + void* SSSystemScreenSaversPath(void) 135 + { 136 + if (verbose) puts("STUB: SSSystemScreenSaversPath called"); 137 + return NULL; 138 + }
+34
src/frameworks/ScreenSaver/src/ScreenSaverClockView.m
··· 1 + /* 2 + This file is part of Darling. 3 + 4 + Copyright (C) 2021 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 <ScreenSaver/ScreenSaverClockView.h> 21 + 22 + @implementation ScreenSaverClockView 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/ScreenSaver/src/ScreenSaverClockWindow.m
··· 1 + /* 2 + This file is part of Darling. 3 + 4 + Copyright (C) 2021 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 <ScreenSaver/ScreenSaverClockWindow.h> 21 + 22 + @implementation ScreenSaverClockWindow 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/ScreenSaver/src/ScreenSaverConfigurationViewController.m
··· 1 + /* 2 + This file is part of Darling. 3 + 4 + Copyright (C) 2021 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 <ScreenSaver/ScreenSaverConfigurationViewController.h> 21 + 22 + @implementation ScreenSaverConfigurationViewController 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/ScreenSaver/src/ScreenSaverController.m
··· 1 + /* 2 + This file is part of Darling. 3 + 4 + Copyright (C) 2021 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 <ScreenSaver/ScreenSaverController.h> 21 + 22 + @implementation ScreenSaverController 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/ScreenSaver/src/ScreenSaverDefaults.m
··· 1 + /* 2 + This file is part of Darling. 3 + 4 + Copyright (C) 2021 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 <ScreenSaver/ScreenSaverDefaults.h> 21 + 22 + @implementation ScreenSaverDefaults 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/ScreenSaver/src/ScreenSaverDefaultsManager.m
··· 1 + /* 2 + This file is part of Darling. 3 + 4 + Copyright (C) 2021 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 <ScreenSaver/ScreenSaverDefaultsManager.h> 21 + 22 + @implementation ScreenSaverDefaultsManager 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/ScreenSaver/src/ScreenSaverEngine.m
··· 1 + /* 2 + This file is part of Darling. 3 + 4 + Copyright (C) 2021 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 <ScreenSaver/ScreenSaverEngine.h> 21 + 22 + @implementation ScreenSaverEngine 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/ScreenSaver/src/ScreenSaverExtension.m
··· 1 + /* 2 + This file is part of Darling. 3 + 4 + Copyright (C) 2021 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 <ScreenSaver/ScreenSaverExtension.h> 21 + 22 + @implementation ScreenSaverExtension 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/ScreenSaver/src/ScreenSaverExtensionContext.m
··· 1 + /* 2 + This file is part of Darling. 3 + 4 + Copyright (C) 2021 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 <ScreenSaver/ScreenSaverExtensionContext.h> 21 + 22 + @implementation ScreenSaverExtensionContext 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/ScreenSaver/src/ScreenSaverExtensionManager.m
··· 1 + /* 2 + This file is part of Darling. 3 + 4 + Copyright (C) 2021 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 <ScreenSaver/ScreenSaverExtensionManager.h> 21 + 22 + @implementation ScreenSaverExtensionManager 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/ScreenSaver/src/ScreenSaverExtensionModule.m
··· 1 + /* 2 + This file is part of Darling. 3 + 4 + Copyright (C) 2021 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 <ScreenSaver/ScreenSaverExtensionModule.h> 21 + 22 + @implementation ScreenSaverExtensionModule 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/ScreenSaver/src/ScreenSaverExtensionView.m
··· 1 + /* 2 + This file is part of Darling. 3 + 4 + Copyright (C) 2021 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 <ScreenSaver/ScreenSaverExtensionView.h> 21 + 22 + @implementation ScreenSaverExtensionView 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/ScreenSaver/src/ScreenSaverHostExtensionContext.m
··· 1 + /* 2 + This file is part of Darling. 3 + 4 + Copyright (C) 2021 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 <ScreenSaver/ScreenSaverHostExtensionContext.h> 21 + 22 + @implementation ScreenSaverHostExtensionContext 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/ScreenSaver/src/ScreenSaverMessage.m
··· 1 + /* 2 + This file is part of Darling. 3 + 4 + Copyright (C) 2021 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 <ScreenSaver/ScreenSaverMessage.h> 21 + 22 + @implementation ScreenSaverMessage 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/ScreenSaver/src/ScreenSaverMessageTracerLogger.m
··· 1 + /* 2 + This file is part of Darling. 3 + 4 + Copyright (C) 2021 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 <ScreenSaver/ScreenSaverMessageTracerLogger.h> 21 + 22 + @implementation ScreenSaverMessageTracerLogger 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/ScreenSaver/src/ScreenSaverModule.m
··· 1 + /* 2 + This file is part of Darling. 3 + 4 + Copyright (C) 2021 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 <ScreenSaver/ScreenSaverModule.h> 21 + 22 + @implementation ScreenSaverModule 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/ScreenSaver/src/ScreenSaverModules.m
··· 1 + /* 2 + This file is part of Darling. 3 + 4 + Copyright (C) 2021 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 <ScreenSaver/ScreenSaverModules.h> 21 + 22 + @implementation ScreenSaverModules 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/ScreenSaver/src/ScreenSaverPhotoChooser.m
··· 1 + /* 2 + This file is part of Darling. 3 + 4 + Copyright (C) 2021 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 <ScreenSaver/ScreenSaverPhotoChooser.h> 21 + 22 + @implementation ScreenSaverPhotoChooser 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/ScreenSaver/src/ScreenSaverView.m
··· 1 + /* 2 + This file is part of Darling. 3 + 4 + Copyright (C) 2021 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 <ScreenSaver/ScreenSaverView.h> 21 + 22 + @implementation ScreenSaverView 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/ScreenSaver/src/ScreenSaverViewController.m
··· 1 + /* 2 + This file is part of Darling. 3 + 4 + Copyright (C) 2021 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 <ScreenSaver/ScreenSaverViewController.h> 21 + 22 + @implementation ScreenSaverViewController 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/ScreenSaver/src/ScreenSaverWindow.m
··· 1 + /* 2 + This file is part of Darling. 3 + 4 + Copyright (C) 2021 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 <ScreenSaver/ScreenSaverWindow.h> 21 + 22 + @implementation ScreenSaverWindow 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