mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-22 13:10:59 +00:00
Add stub for -[NSWorkspace frontmostApplication]
This commit is contained in:
parent
a07d68551f
commit
f3dd2fa451
2 changed files with 7 additions and 0 deletions
|
@ -106,8 +106,10 @@ enum {
|
|||
@interface NSWorkspace (NSWorkspaceRunningApplications)
|
||||
#if GS_HAS_DECLARED_PROPERTIES
|
||||
@property (readonly, copy) NSArray *runningApplications;
|
||||
@property (readonly, retain) NSRunningApplication *frontmostApplication;
|
||||
#else
|
||||
- (NSArray *)runningApplications;
|
||||
- (NSRunningApplication *)frontmostApplication;
|
||||
#endif
|
||||
@end
|
||||
|
||||
|
|
|
@ -155,4 +155,9 @@
|
|||
{
|
||||
return nil;
|
||||
}
|
||||
|
||||
- (NSRunningApplication *)frontmostApplication
|
||||
{
|
||||
return nil;
|
||||
}
|
||||
@end
|
||||
|
|
Loading…
Reference in a new issue