this repo has no description
1
fork

Configure Feed

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

Add AssertionServices stubs

+905
+29
src/private-frameworks/AssertionServices/CMakeLists.txt
··· 1 + project(AssertionServices) 2 + 3 + set(DYLIB_COMPAT_VERSION "1.0.0") 4 + set(DYLIB_CURRENT_VERSION "223.140.2") 5 + 6 + add_framework(AssertionServices 7 + FAT 8 + CURRENT_VERSION 9 + PRIVATE 10 + VERSION "A" 11 + 12 + SOURCES 13 + src/AssertionServices.m 14 + src/BKSWorkspace.m 15 + src/BKSAssertion.m 16 + src/BKSProcessExitContext.m 17 + src/BKSProcess.m 18 + src/BKSTerminationContext.m 19 + src/BKSProcessAssertion.m 20 + src/BKSTerminationAssertionObserverManager.m 21 + src/BKSTerminationAssertion.m 22 + src/BKSApplicationStateMonitor.m 23 + src/BKSLaunchdJobSpecification.m 24 + 25 + DEPENDENCIES 26 + system 27 + objc 28 + Foundation 29 + )
+60
src/private-frameworks/AssertionServices/include/AssertionServices/AssertionServices.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 _AssertionServices_H_ 22 + #define _AssertionServices_H_ 23 + 24 + #import <Foundation/Foundation.h> 25 + 26 + #import <AssertionServices/BSDescriptionProviding.h> 27 + #import <AssertionServices/BSXPCCoding.h> 28 + #import <AssertionServices/RBSAssertionObserving.h> 29 + #import <AssertionServices/RBSServiceDelegate.h> 30 + #import <AssertionServices/BKSWorkspace.h> 31 + #import <AssertionServices/BKSAssertion.h> 32 + #import <AssertionServices/BKSProcessExitContext.h> 33 + #import <AssertionServices/BKSProcess.h> 34 + #import <AssertionServices/BKSTerminationContext.h> 35 + #import <AssertionServices/BKSProcessAssertion.h> 36 + #import <AssertionServices/BKSTerminationAssertionObserverManager.h> 37 + #import <AssertionServices/BKSTerminationAssertion.h> 38 + #import <AssertionServices/BKSApplicationStateMonitor.h> 39 + #import <AssertionServices/BKSLaunchdJobSpecification.h> 40 + 41 + void* BKSAssertionErrorDescription(void); 42 + void* BKSProcessAssertionBackgroundTimeRemaining(void); 43 + void* BKSProcessAssertionSetExpirationHandler(void); 44 + void* BKSProcessDiagnosticReportTypeDescription(void); 45 + void* BKSProcessVisibilityIsForeground(void); 46 + void* BKSProcessVisibilityMax(void); 47 + void* BKSTerminationAssertionActiveEfficacyForBundleIdentifier(void); 48 + void* BKSTerminationAssertionEfficacyDescription(void); 49 + void* BKSTerminationAssertionHeldForBundleIdentifier(void); 50 + void* BKSTerminationAssertionRegisterObserver(void); 51 + void* BKSTerminationAssertionUnregisterObserver(void); 52 + void* BKSWatchdogAssertionCreateForPID(void); 53 + void* BKSWatchdogAssertionGetTypeID(void); 54 + void* NSStringFromBKSProcessErrorCode(void); 55 + void* NSStringFromBKSProcessExitReason(void); 56 + void* NSStringFromBKSProcessTaskState(void); 57 + void* NSStringFromBKSProcessVisibility(void); 58 + void* RBSProcessLegacyStateDescriptor(void); 59 + 60 + #endif
+24
src/private-frameworks/AssertionServices/include/AssertionServices/BKSApplicationStateMonitor.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 BKSApplicationStateMonitor : NSObject 23 + 24 + @end
+24
src/private-frameworks/AssertionServices/include/AssertionServices/BKSAssertion.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 BKSAssertion : NSObject 23 + 24 + @end
+24
src/private-frameworks/AssertionServices/include/AssertionServices/BKSLaunchdJobSpecification.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 BKSLaunchdJobSpecification : NSObject 23 + 24 + @end
+24
src/private-frameworks/AssertionServices/include/AssertionServices/BKSProcess.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 BKSProcess : NSObject 23 + 24 + @end
+24
src/private-frameworks/AssertionServices/include/AssertionServices/BKSProcessAssertion.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 BKSProcessAssertion : NSObject 23 + 24 + @end
+24
src/private-frameworks/AssertionServices/include/AssertionServices/BKSProcessExitContext.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 BKSProcessExitContext : NSObject 23 + 24 + @end
+24
src/private-frameworks/AssertionServices/include/AssertionServices/BKSTerminationAssertion.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 BKSTerminationAssertion : NSObject 23 + 24 + @end
+24
src/private-frameworks/AssertionServices/include/AssertionServices/BKSTerminationAssertionObserverManager.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 BKSTerminationAssertionObserverManager : NSObject 23 + 24 + @end
+24
src/private-frameworks/AssertionServices/include/AssertionServices/BKSTerminationContext.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 BKSTerminationContext : NSObject 23 + 24 + @end
+24
src/private-frameworks/AssertionServices/include/AssertionServices/BKSWorkspace.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 BKSWorkspace : NSObject 23 + 24 + @end
+24
src/private-frameworks/AssertionServices/include/AssertionServices/BSDescriptionProviding.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 BSDescriptionProviding 23 + 24 + @end
+24
src/private-frameworks/AssertionServices/include/AssertionServices/BSXPCCoding.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 BSXPCCoding 23 + 24 + @end
+24
src/private-frameworks/AssertionServices/include/AssertionServices/RBSAssertionObserving.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 RBSAssertionObserving 23 + 24 + @end
+24
src/private-frameworks/AssertionServices/include/AssertionServices/RBSServiceDelegate.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 RBSServiceDelegate 23 + 24 + @end
+138
src/private-frameworks/AssertionServices/src/AssertionServices.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 <AssertionServices/AssertionServices.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* BKSAssertionErrorDescription(void) 33 + { 34 + if (verbose) puts("STUB: BKSAssertionErrorDescription called"); 35 + return NULL; 36 + } 37 + 38 + void* BKSProcessAssertionBackgroundTimeRemaining(void) 39 + { 40 + if (verbose) puts("STUB: BKSProcessAssertionBackgroundTimeRemaining called"); 41 + return NULL; 42 + } 43 + 44 + void* BKSProcessAssertionSetExpirationHandler(void) 45 + { 46 + if (verbose) puts("STUB: BKSProcessAssertionSetExpirationHandler called"); 47 + return NULL; 48 + } 49 + 50 + void* BKSProcessDiagnosticReportTypeDescription(void) 51 + { 52 + if (verbose) puts("STUB: BKSProcessDiagnosticReportTypeDescription called"); 53 + return NULL; 54 + } 55 + 56 + void* BKSProcessVisibilityIsForeground(void) 57 + { 58 + if (verbose) puts("STUB: BKSProcessVisibilityIsForeground called"); 59 + return NULL; 60 + } 61 + 62 + void* BKSProcessVisibilityMax(void) 63 + { 64 + if (verbose) puts("STUB: BKSProcessVisibilityMax called"); 65 + return NULL; 66 + } 67 + 68 + void* BKSTerminationAssertionActiveEfficacyForBundleIdentifier(void) 69 + { 70 + if (verbose) puts("STUB: BKSTerminationAssertionActiveEfficacyForBundleIdentifier called"); 71 + return NULL; 72 + } 73 + 74 + void* BKSTerminationAssertionEfficacyDescription(void) 75 + { 76 + if (verbose) puts("STUB: BKSTerminationAssertionEfficacyDescription called"); 77 + return NULL; 78 + } 79 + 80 + void* BKSTerminationAssertionHeldForBundleIdentifier(void) 81 + { 82 + if (verbose) puts("STUB: BKSTerminationAssertionHeldForBundleIdentifier called"); 83 + return NULL; 84 + } 85 + 86 + void* BKSTerminationAssertionRegisterObserver(void) 87 + { 88 + if (verbose) puts("STUB: BKSTerminationAssertionRegisterObserver called"); 89 + return NULL; 90 + } 91 + 92 + void* BKSTerminationAssertionUnregisterObserver(void) 93 + { 94 + if (verbose) puts("STUB: BKSTerminationAssertionUnregisterObserver called"); 95 + return NULL; 96 + } 97 + 98 + void* BKSWatchdogAssertionCreateForPID(void) 99 + { 100 + if (verbose) puts("STUB: BKSWatchdogAssertionCreateForPID called"); 101 + return NULL; 102 + } 103 + 104 + void* BKSWatchdogAssertionGetTypeID(void) 105 + { 106 + if (verbose) puts("STUB: BKSWatchdogAssertionGetTypeID called"); 107 + return NULL; 108 + } 109 + 110 + void* NSStringFromBKSProcessErrorCode(void) 111 + { 112 + if (verbose) puts("STUB: NSStringFromBKSProcessErrorCode called"); 113 + return NULL; 114 + } 115 + 116 + void* NSStringFromBKSProcessExitReason(void) 117 + { 118 + if (verbose) puts("STUB: NSStringFromBKSProcessExitReason called"); 119 + return NULL; 120 + } 121 + 122 + void* NSStringFromBKSProcessTaskState(void) 123 + { 124 + if (verbose) puts("STUB: NSStringFromBKSProcessTaskState called"); 125 + return NULL; 126 + } 127 + 128 + void* NSStringFromBKSProcessVisibility(void) 129 + { 130 + if (verbose) puts("STUB: NSStringFromBKSProcessVisibility called"); 131 + return NULL; 132 + } 133 + 134 + void* RBSProcessLegacyStateDescriptor(void) 135 + { 136 + if (verbose) puts("STUB: RBSProcessLegacyStateDescriptor called"); 137 + return NULL; 138 + }
+34
src/private-frameworks/AssertionServices/src/BKSApplicationStateMonitor.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 <AssertionServices/BKSApplicationStateMonitor.h> 21 + 22 + @implementation BKSApplicationStateMonitor 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/private-frameworks/AssertionServices/src/BKSAssertion.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 <AssertionServices/BKSAssertion.h> 21 + 22 + @implementation BKSAssertion 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/private-frameworks/AssertionServices/src/BKSLaunchdJobSpecification.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 <AssertionServices/BKSLaunchdJobSpecification.h> 21 + 22 + @implementation BKSLaunchdJobSpecification 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/private-frameworks/AssertionServices/src/BKSProcess.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 <AssertionServices/BKSProcess.h> 21 + 22 + @implementation BKSProcess 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/private-frameworks/AssertionServices/src/BKSProcessAssertion.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 <AssertionServices/BKSProcessAssertion.h> 21 + 22 + @implementation BKSProcessAssertion 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/private-frameworks/AssertionServices/src/BKSProcessExitContext.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 <AssertionServices/BKSProcessExitContext.h> 21 + 22 + @implementation BKSProcessExitContext 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/private-frameworks/AssertionServices/src/BKSTerminationAssertion.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 <AssertionServices/BKSTerminationAssertion.h> 21 + 22 + @implementation BKSTerminationAssertion 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/private-frameworks/AssertionServices/src/BKSTerminationAssertionObserverManager.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 <AssertionServices/BKSTerminationAssertionObserverManager.h> 21 + 22 + @implementation BKSTerminationAssertionObserverManager 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/private-frameworks/AssertionServices/src/BKSTerminationContext.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 <AssertionServices/BKSTerminationContext.h> 21 + 22 + @implementation BKSTerminationContext 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/private-frameworks/AssertionServices/src/BKSWorkspace.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 <AssertionServices/BKSWorkspace.h> 21 + 22 + @implementation BKSWorkspace 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
+1
src/private-frameworks/CMakeLists.txt
··· 3 3 add_subdirectory(AppleFSCompression) 4 4 add_subdirectory(AppleSauce) 5 5 add_subdirectory(AppleSystemInfo) 6 + add_subdirectory(AssertionServices) 6 7 add_subdirectory(AssetCacheServices) 7 8 add_subdirectory(AssistantServices) 8 9 add_subdirectory(AuthKit)
+1
src/private-frameworks/include/AssertionServices
··· 1 + ../AssertionServices/include/AssertionServices