diff options
Diffstat (limited to 'QSFoundation.framework/Versions/A/PrivateHeaders/NSWorkspace_BLTRExtensions.h')
| -rw-r--r-- | QSFoundation.framework/Versions/A/PrivateHeaders/NSWorkspace_BLTRExtensions.h | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/QSFoundation.framework/Versions/A/PrivateHeaders/NSWorkspace_BLTRExtensions.h b/QSFoundation.framework/Versions/A/PrivateHeaders/NSWorkspace_BLTRExtensions.h new file mode 100644 index 0000000..f44b74a --- /dev/null +++ b/QSFoundation.framework/Versions/A/PrivateHeaders/NSWorkspace_BLTRExtensions.h @@ -0,0 +1,37 @@ +// +// NSWorkspace_BLTRExtensions.h +// Quicksilver +// +// Created by Alcor on Fri May 09 2003. +// Copyright (c) 2003 Blacktree, Inc. All rights reserved. +// + +#import <Foundation/Foundation.h> + +#define QSAppIsRunning(x) [[NSWorkspace sharedWorkspace]applicationIsRunning:x] +@interface NSWorkspace (Misc) +- (NSArray *)allApplications; +- (int)pidForApplication:(NSDictionary *)theApp; +- (BOOL)applicationIsRunning:(NSString *)pathOrID; +- (NSDictionary *)dictForApplicationName:(NSString *)path; +- (void)killApplication:(NSString *)path; +- (BOOL)applicationIsHidden:(NSDictionary *)theApp; +- (BOOL)applicationIsFrontmost:(NSDictionary *)theApp; +- (BOOL)PSN:(ProcessSerialNumber *)psn forApplication:(NSDictionary *)theApp; +- (void)switchToApplication:(NSDictionary *)theApp frontWindowOnly:(BOOL)frontOnly; +- (void)activateFrontWindowOfApplication:(NSDictionary *)theApp; +- (void)hideApplication:(NSDictionary *)theApp; +- (void)hideOtherApplications:(NSArray *)theApps; +- (void)showApplication:(NSDictionary *)theApp; +- (void)activateApplication:(NSDictionary *)theApp; +- (void)reopenApplication:(NSDictionary *)theApp; +- (void)quitApplication:(NSDictionary *)theApp; +- (NSString *)nameForPID:(int)pid; +- (NSString *)pathForPID:(int)pid; +- (void)quitPSN:(ProcessSerialNumber)psn; +- (void)quitOtherApplications:(NSArray *)theApps; +- (NSDictionary *)dictForApplicationIdentifier:(NSString *)ident; +- (NSString *)commentForFile:(NSString *)path; +- (BOOL)setComment:(NSString*)comment forFile:(NSString *)path; +- (BOOL)openFileInBackground:(NSString *)fullPath; +@end |