mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-30 16:30:41 +00:00
Add newere method
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@39924 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
35962654cb
commit
04406427e3
5 changed files with 122 additions and 53 deletions
|
@ -36,6 +36,14 @@
|
|||
extern "C" {
|
||||
#endif
|
||||
|
||||
#if OS_API_VERSION(MAC_OS_X_VERSION_10_5,GS_API_LATEST)
|
||||
enum {
|
||||
NSTaskTerminationReasonExit = 1,
|
||||
NSTaskTerminationReasonUncaughtSignal = 2
|
||||
};
|
||||
typedef NSInteger NSTaskTerminationReason;
|
||||
#endif
|
||||
|
||||
@interface NSTask : NSObject
|
||||
{
|
||||
#if GS_EXPOSE(NSTask)
|
||||
|
@ -53,6 +61,7 @@ extern "C" {
|
|||
BOOL _hasTerminated;
|
||||
BOOL _hasCollected;
|
||||
BOOL _hasNotified;
|
||||
NSTaskTerminationReason _terminationReason;
|
||||
#endif
|
||||
#if GS_NONFRAGILE
|
||||
#else
|
||||
|
@ -97,6 +106,9 @@ extern "C" {
|
|||
#if OS_API_VERSION(GS_API_MACOSX, GS_API_LATEST)
|
||||
- (int) processIdentifier;
|
||||
#endif
|
||||
#if OS_API_VERSION(MAC_OS_X_VERSION_10_5,GS_API_LATEST)
|
||||
- (NSTaskTerminationReason) terminationReason;
|
||||
#endif
|
||||
- (int) terminationStatus;
|
||||
|
||||
/*
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue