This repository has been archived by the owner on Sep 1, 2020. It is now read-only.
forked from myeyesareblind/pass-ios
-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update theos version, work with Xcode SDK over theos headers, resolve…
… deprecations
- Loading branch information
Showing
9 changed files
with
93 additions
and
7 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,3 @@ | ||
export THEOS=$(pwd)/modules/theos | ||
export PATH=$(pwd)/modules/ldid/out:$PATH | ||
|
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
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
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,73 @@ | ||
/* NSTask.h | ||
Copyright (c) 1996-2007, Apple Inc. All rights reserved. | ||
*/ | ||
|
||
#import <Foundation/NSObject.h> | ||
|
||
@class NSString, NSArray, NSDictionary; | ||
|
||
@interface NSTask : NSObject | ||
|
||
// Create an NSTask which can be run at a later time | ||
// An NSTask can only be run once. Subsequent attempts to | ||
// run an NSTask will raise. | ||
// Upon task death a notification will be sent | ||
// { Name = NSTaskDidTerminateNotification; object = task; } | ||
// | ||
|
||
- (instancetype)init; | ||
|
||
// set parameters | ||
// these methods can only be done before a launch | ||
- (void)setLaunchPath:(NSString *)path; | ||
- (void)setArguments:(NSArray *)arguments; | ||
- (void)setEnvironment:(NSDictionary *)dict; | ||
// if not set, use current | ||
- (void)setCurrentDirectoryPath:(NSString *)path; | ||
// if not set, use current | ||
|
||
// set standard I/O channels; may be either an NSFileHandle or an NSPipe | ||
- (void)setStandardInput:(id)input; | ||
- (void)setStandardOutput:(id)output; | ||
- (void)setStandardError:(id)error; | ||
|
||
// get parameters | ||
- (NSString *)launchPath; | ||
- (NSArray *)arguments; | ||
- (NSDictionary *)environment; | ||
- (NSString *)currentDirectoryPath; | ||
|
||
// get standard I/O channels; could be either an NSFileHandle or an NSPipe | ||
- (id)standardInput; | ||
- (id)standardOutput; | ||
- (id)standardError; | ||
|
||
// actions | ||
- (void)launch; | ||
|
||
- (void)interrupt; // Not always possible. Sends SIGINT. | ||
- (void)terminate; // Not always possible. Sends SIGTERM. | ||
|
||
- (BOOL)suspend; | ||
- (BOOL)resume; | ||
|
||
// status | ||
- (int)processIdentifier; | ||
- (BOOL)isRunning; | ||
|
||
- (int)terminationStatus; | ||
|
||
@end | ||
|
||
@interface NSTask (NSTaskConveniences) | ||
|
||
+ (NSTask *)launchedTaskWithLaunchPath:(NSString *)path arguments:(NSArray *)arguments; | ||
// convenience; create and launch | ||
|
||
- (void)waitUntilExit; | ||
// poll the runLoop in defaultMode until task completes | ||
|
||
@end | ||
|
||
FOUNDATION_EXPORT NSString * const NSTaskDidTerminateNotification; | ||
|
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
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
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
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