mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-30 00:11:26 +00:00
NSProcessInfo: add stubs for new APIs
Add stubs for sudden termination APIs and for application activity management methods.
This commit is contained in:
parent
cbfa4d8cc9
commit
d49db3ab29
2 changed files with 77 additions and 0 deletions
|
@ -1502,6 +1502,46 @@ static void determineOperatingSystem()
|
|||
return uptime;
|
||||
}
|
||||
|
||||
- (void) enableSuddenTermination
|
||||
{
|
||||
// FIXME: unimplemented
|
||||
return;
|
||||
}
|
||||
|
||||
- (void) disableSuddenTermination
|
||||
{
|
||||
// FIXME: unimplemented
|
||||
return;
|
||||
}
|
||||
|
||||
- (id) beginActivityWithOptions: (NSActivityOptions)options
|
||||
reason: (NSString *)reason
|
||||
{
|
||||
// FIXME: unimplemented
|
||||
return nil;
|
||||
}
|
||||
|
||||
- (void) endActivity:(id<NSObject>)activity
|
||||
{
|
||||
// FIXME: unimplemented
|
||||
return;
|
||||
}
|
||||
|
||||
- (void) performActivityWithOptions:(NSActivityOptions)options
|
||||
reason: (NSString *)reason
|
||||
usingBlock: (GSPerformActivityBlock)block
|
||||
{
|
||||
// FIXME: unimplemented
|
||||
return;
|
||||
}
|
||||
|
||||
- (void) performExpiringActivityWithReason: (NSString *)reason
|
||||
usingBlock: (GSPerformExpiringActivityBlock)block
|
||||
{
|
||||
// FIXME: unimplemented
|
||||
return;
|
||||
}
|
||||
|
||||
@end
|
||||
|
||||
void
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue