-
Notifications
You must be signed in to change notification settings - Fork 450
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1108 from zachwolfe/assertionservices
Add AssertionServices.framework stubs
- Loading branch information
Showing
29 changed files
with
905 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
project(AssertionServices) | ||
|
||
set(DYLIB_COMPAT_VERSION "1.0.0") | ||
set(DYLIB_CURRENT_VERSION "223.140.2") | ||
|
||
add_framework(AssertionServices | ||
FAT | ||
CURRENT_VERSION | ||
PRIVATE | ||
VERSION "A" | ||
|
||
SOURCES | ||
src/AssertionServices.m | ||
src/BKSWorkspace.m | ||
src/BKSAssertion.m | ||
src/BKSProcessExitContext.m | ||
src/BKSProcess.m | ||
src/BKSTerminationContext.m | ||
src/BKSProcessAssertion.m | ||
src/BKSTerminationAssertionObserverManager.m | ||
src/BKSTerminationAssertion.m | ||
src/BKSApplicationStateMonitor.m | ||
src/BKSLaunchdJobSpecification.m | ||
|
||
DEPENDENCIES | ||
system | ||
objc | ||
Foundation | ||
) |
60 changes: 60 additions & 0 deletions
60
src/private-frameworks/AssertionServices/include/AssertionServices/AssertionServices.h
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,60 @@ | ||
/* | ||
This file is part of Darling. | ||
Copyright (C) 2019 Lubos Dolezel | ||
Darling is free software: you can redistribute it and/or modify | ||
it under the terms of the GNU General Public License as published by | ||
the Free Software Foundation, either version 3 of the License, or | ||
(at your option) any later version. | ||
Darling is distributed in the hope that it will be useful, | ||
but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
GNU General Public License for more details. | ||
You should have received a copy of the GNU General Public License | ||
along with Darling. If not, see <http://www.gnu.org/licenses/>. | ||
*/ | ||
|
||
|
||
#ifndef _AssertionServices_H_ | ||
#define _AssertionServices_H_ | ||
|
||
#import <Foundation/Foundation.h> | ||
|
||
#import <AssertionServices/BSDescriptionProviding.h> | ||
#import <AssertionServices/BSXPCCoding.h> | ||
#import <AssertionServices/RBSAssertionObserving.h> | ||
#import <AssertionServices/RBSServiceDelegate.h> | ||
#import <AssertionServices/BKSWorkspace.h> | ||
#import <AssertionServices/BKSAssertion.h> | ||
#import <AssertionServices/BKSProcessExitContext.h> | ||
#import <AssertionServices/BKSProcess.h> | ||
#import <AssertionServices/BKSTerminationContext.h> | ||
#import <AssertionServices/BKSProcessAssertion.h> | ||
#import <AssertionServices/BKSTerminationAssertionObserverManager.h> | ||
#import <AssertionServices/BKSTerminationAssertion.h> | ||
#import <AssertionServices/BKSApplicationStateMonitor.h> | ||
#import <AssertionServices/BKSLaunchdJobSpecification.h> | ||
|
||
void* BKSAssertionErrorDescription(void); | ||
void* BKSProcessAssertionBackgroundTimeRemaining(void); | ||
void* BKSProcessAssertionSetExpirationHandler(void); | ||
void* BKSProcessDiagnosticReportTypeDescription(void); | ||
void* BKSProcessVisibilityIsForeground(void); | ||
void* BKSProcessVisibilityMax(void); | ||
void* BKSTerminationAssertionActiveEfficacyForBundleIdentifier(void); | ||
void* BKSTerminationAssertionEfficacyDescription(void); | ||
void* BKSTerminationAssertionHeldForBundleIdentifier(void); | ||
void* BKSTerminationAssertionRegisterObserver(void); | ||
void* BKSTerminationAssertionUnregisterObserver(void); | ||
void* BKSWatchdogAssertionCreateForPID(void); | ||
void* BKSWatchdogAssertionGetTypeID(void); | ||
void* NSStringFromBKSProcessErrorCode(void); | ||
void* NSStringFromBKSProcessExitReason(void); | ||
void* NSStringFromBKSProcessTaskState(void); | ||
void* NSStringFromBKSProcessVisibility(void); | ||
void* RBSProcessLegacyStateDescriptor(void); | ||
|
||
#endif |
24 changes: 24 additions & 0 deletions
24
...ivate-frameworks/AssertionServices/include/AssertionServices/BKSApplicationStateMonitor.h
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
/* | ||
This file is part of Darling. | ||
Copyright (C) 2019 Lubos Dolezel | ||
Darling is free software: you can redistribute it and/or modify | ||
it under the terms of the GNU General Public License as published by | ||
the Free Software Foundation, either version 3 of the License, or | ||
(at your option) any later version. | ||
Darling is distributed in the hope that it will be useful, | ||
but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
GNU General Public License for more details. | ||
You should have received a copy of the GNU General Public License | ||
along with Darling. If not, see <http://www.gnu.org/licenses/>. | ||
*/ | ||
|
||
#include <Foundation/Foundation.h> | ||
|
||
@interface BKSApplicationStateMonitor : NSObject | ||
|
||
@end |
24 changes: 24 additions & 0 deletions
24
src/private-frameworks/AssertionServices/include/AssertionServices/BKSAssertion.h
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
/* | ||
This file is part of Darling. | ||
Copyright (C) 2019 Lubos Dolezel | ||
Darling is free software: you can redistribute it and/or modify | ||
it under the terms of the GNU General Public License as published by | ||
the Free Software Foundation, either version 3 of the License, or | ||
(at your option) any later version. | ||
Darling is distributed in the hope that it will be useful, | ||
but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
GNU General Public License for more details. | ||
You should have received a copy of the GNU General Public License | ||
along with Darling. If not, see <http://www.gnu.org/licenses/>. | ||
*/ | ||
|
||
#include <Foundation/Foundation.h> | ||
|
||
@interface BKSAssertion : NSObject | ||
|
||
@end |
24 changes: 24 additions & 0 deletions
24
...ivate-frameworks/AssertionServices/include/AssertionServices/BKSLaunchdJobSpecification.h
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
/* | ||
This file is part of Darling. | ||
Copyright (C) 2019 Lubos Dolezel | ||
Darling is free software: you can redistribute it and/or modify | ||
it under the terms of the GNU General Public License as published by | ||
the Free Software Foundation, either version 3 of the License, or | ||
(at your option) any later version. | ||
Darling is distributed in the hope that it will be useful, | ||
but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
GNU General Public License for more details. | ||
You should have received a copy of the GNU General Public License | ||
along with Darling. If not, see <http://www.gnu.org/licenses/>. | ||
*/ | ||
|
||
#include <Foundation/Foundation.h> | ||
|
||
@interface BKSLaunchdJobSpecification : NSObject | ||
|
||
@end |
24 changes: 24 additions & 0 deletions
24
src/private-frameworks/AssertionServices/include/AssertionServices/BKSProcess.h
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
/* | ||
This file is part of Darling. | ||
Copyright (C) 2019 Lubos Dolezel | ||
Darling is free software: you can redistribute it and/or modify | ||
it under the terms of the GNU General Public License as published by | ||
the Free Software Foundation, either version 3 of the License, or | ||
(at your option) any later version. | ||
Darling is distributed in the hope that it will be useful, | ||
but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
GNU General Public License for more details. | ||
You should have received a copy of the GNU General Public License | ||
along with Darling. If not, see <http://www.gnu.org/licenses/>. | ||
*/ | ||
|
||
#include <Foundation/Foundation.h> | ||
|
||
@interface BKSProcess : NSObject | ||
|
||
@end |
24 changes: 24 additions & 0 deletions
24
src/private-frameworks/AssertionServices/include/AssertionServices/BKSProcessAssertion.h
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
/* | ||
This file is part of Darling. | ||
Copyright (C) 2019 Lubos Dolezel | ||
Darling is free software: you can redistribute it and/or modify | ||
it under the terms of the GNU General Public License as published by | ||
the Free Software Foundation, either version 3 of the License, or | ||
(at your option) any later version. | ||
Darling is distributed in the hope that it will be useful, | ||
but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
GNU General Public License for more details. | ||
You should have received a copy of the GNU General Public License | ||
along with Darling. If not, see <http://www.gnu.org/licenses/>. | ||
*/ | ||
|
||
#include <Foundation/Foundation.h> | ||
|
||
@interface BKSProcessAssertion : NSObject | ||
|
||
@end |
24 changes: 24 additions & 0 deletions
24
src/private-frameworks/AssertionServices/include/AssertionServices/BKSProcessExitContext.h
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
/* | ||
This file is part of Darling. | ||
Copyright (C) 2019 Lubos Dolezel | ||
Darling is free software: you can redistribute it and/or modify | ||
it under the terms of the GNU General Public License as published by | ||
the Free Software Foundation, either version 3 of the License, or | ||
(at your option) any later version. | ||
Darling is distributed in the hope that it will be useful, | ||
but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
GNU General Public License for more details. | ||
You should have received a copy of the GNU General Public License | ||
along with Darling. If not, see <http://www.gnu.org/licenses/>. | ||
*/ | ||
|
||
#include <Foundation/Foundation.h> | ||
|
||
@interface BKSProcessExitContext : NSObject | ||
|
||
@end |
24 changes: 24 additions & 0 deletions
24
src/private-frameworks/AssertionServices/include/AssertionServices/BKSTerminationAssertion.h
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
/* | ||
This file is part of Darling. | ||
Copyright (C) 2019 Lubos Dolezel | ||
Darling is free software: you can redistribute it and/or modify | ||
it under the terms of the GNU General Public License as published by | ||
the Free Software Foundation, either version 3 of the License, or | ||
(at your option) any later version. | ||
Darling is distributed in the hope that it will be useful, | ||
but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
GNU General Public License for more details. | ||
You should have received a copy of the GNU General Public License | ||
along with Darling. If not, see <http://www.gnu.org/licenses/>. | ||
*/ | ||
|
||
#include <Foundation/Foundation.h> | ||
|
||
@interface BKSTerminationAssertion : NSObject | ||
|
||
@end |
24 changes: 24 additions & 0 deletions
24
...orks/AssertionServices/include/AssertionServices/BKSTerminationAssertionObserverManager.h
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
/* | ||
This file is part of Darling. | ||
Copyright (C) 2019 Lubos Dolezel | ||
Darling is free software: you can redistribute it and/or modify | ||
it under the terms of the GNU General Public License as published by | ||
the Free Software Foundation, either version 3 of the License, or | ||
(at your option) any later version. | ||
Darling is distributed in the hope that it will be useful, | ||
but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
GNU General Public License for more details. | ||
You should have received a copy of the GNU General Public License | ||
along with Darling. If not, see <http://www.gnu.org/licenses/>. | ||
*/ | ||
|
||
#include <Foundation/Foundation.h> | ||
|
||
@interface BKSTerminationAssertionObserverManager : NSObject | ||
|
||
@end |
24 changes: 24 additions & 0 deletions
24
src/private-frameworks/AssertionServices/include/AssertionServices/BKSTerminationContext.h
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
/* | ||
This file is part of Darling. | ||
Copyright (C) 2019 Lubos Dolezel | ||
Darling is free software: you can redistribute it and/or modify | ||
it under the terms of the GNU General Public License as published by | ||
the Free Software Foundation, either version 3 of the License, or | ||
(at your option) any later version. | ||
Darling is distributed in the hope that it will be useful, | ||
but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
GNU General Public License for more details. | ||
You should have received a copy of the GNU General Public License | ||
along with Darling. If not, see <http://www.gnu.org/licenses/>. | ||
*/ | ||
|
||
#include <Foundation/Foundation.h> | ||
|
||
@interface BKSTerminationContext : NSObject | ||
|
||
@end |
24 changes: 24 additions & 0 deletions
24
src/private-frameworks/AssertionServices/include/AssertionServices/BKSWorkspace.h
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
/* | ||
This file is part of Darling. | ||
Copyright (C) 2019 Lubos Dolezel | ||
Darling is free software: you can redistribute it and/or modify | ||
it under the terms of the GNU General Public License as published by | ||
the Free Software Foundation, either version 3 of the License, or | ||
(at your option) any later version. | ||
Darling is distributed in the hope that it will be useful, | ||
but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
GNU General Public License for more details. | ||
You should have received a copy of the GNU General Public License | ||
along with Darling. If not, see <http://www.gnu.org/licenses/>. | ||
*/ | ||
|
||
#include <Foundation/Foundation.h> | ||
|
||
@interface BKSWorkspace : NSObject | ||
|
||
@end |
24 changes: 24 additions & 0 deletions
24
src/private-frameworks/AssertionServices/include/AssertionServices/BSDescriptionProviding.h
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
/* | ||
This file is part of Darling. | ||
Copyright (C) 2019 Lubos Dolezel | ||
Darling is free software: you can redistribute it and/or modify | ||
it under the terms of the GNU General Public License as published by | ||
the Free Software Foundation, either version 3 of the License, or | ||
(at your option) any later version. | ||
Darling is distributed in the hope that it will be useful, | ||
but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
GNU General Public License for more details. | ||
You should have received a copy of the GNU General Public License | ||
along with Darling. If not, see <http://www.gnu.org/licenses/>. | ||
*/ | ||
|
||
#include <Foundation/Foundation.h> | ||
|
||
@protocol BSDescriptionProviding | ||
|
||
@end |
24 changes: 24 additions & 0 deletions
24
src/private-frameworks/AssertionServices/include/AssertionServices/BSXPCCoding.h
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
/* | ||
This file is part of Darling. | ||
Copyright (C) 2019 Lubos Dolezel | ||
Darling is free software: you can redistribute it and/or modify | ||
it under the terms of the GNU General Public License as published by | ||
the Free Software Foundation, either version 3 of the License, or | ||
(at your option) any later version. | ||
Darling is distributed in the hope that it will be useful, | ||
but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
GNU General Public License for more details. | ||
You should have received a copy of the GNU General Public License | ||
along with Darling. If not, see <http://www.gnu.org/licenses/>. | ||
*/ | ||
|
||
#include <Foundation/Foundation.h> | ||
|
||
@protocol BSXPCCoding | ||
|
||
@end |
Oops, something went wrong.