diff options
| author | jnj <jnj@57e2f9b5-c12c-0410-8e95-a1ee7272c91a> | 2008-11-13 18:59:12 +0000 |
|---|---|---|
| committer | jnj <jnj@57e2f9b5-c12c-0410-8e95-a1ee7272c91a> | 2008-11-13 18:59:12 +0000 |
| commit | ba310e8b58d686ee9897b26a7edab5b778a8d96f (patch) | |
| tree | f7b5feaf4151d88b2283ed657133737b378f7eba /QSFoundation.framework/Versions/A/PrivateHeaders/NSWorkspace_BLTRExtensions.h | |
Add remaining plugins
git-svn-id: https://blacktree-elements-public.googlecode.com/svn/trunk@41 57e2f9b5-c12c-0410-8e95-a1ee7272c91a
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 |