mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-22 20:50:44 +00:00
Merge pull request #100 from iamleeg/frontmost_app_stub
Add stub for -[NSWorkspace frontmostApplication]
This commit is contained in:
commit
b8b4d7c2f0
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