diff options
author | Bibiko <bibiko@eva.mpg.de> | 2010-11-29 21:25:52 +0000 |
---|---|---|
committer | Bibiko <bibiko@eva.mpg.de> | 2010-11-29 21:25:52 +0000 |
commit | c1cb48f6afa93b8ed26baa434d66d1ca3e0afca7 (patch) | |
tree | f3b1a2864fbead4c7810303eb60b83b2457d677e /Source/SPAppController.h | |
parent | cef5a0200f433e53bd27b2516e5ac269205f0420 (diff) | |
download | sequelpro-c1cb48f6afa93b8ed26baa434d66d1ca3e0afca7.tar.gz sequelpro-c1cb48f6afa93b8ed26baa434d66d1ca3e0afca7.tar.bz2 sequelpro-c1cb48f6afa93b8ed26baa434d66d1ca3e0afca7.zip |
• Bundle commands
- register running commands for each SPDatabaseDocument or if the command runs via 'General' for NSApp delegate
- kill all running commands before SP will be terminated
Diffstat (limited to 'Source/SPAppController.h')
-rw-r--r-- | Source/SPAppController.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Source/SPAppController.h b/Source/SPAppController.h index d9763766..d96af12f 100644 --- a/Source/SPAppController.h +++ b/Source/SPAppController.h @@ -50,6 +50,8 @@ NSMutableDictionary *bundleKeyEquivalents; NSMutableDictionary *installedBundleUUIDs; + NSMutableArray *runningBASHprocesses; + } // Window management @@ -95,6 +97,9 @@ - (NSArray *)bundleCategoriesForScope:(NSString*)scope; - (NSArray *)bundleItemsForScope:(NSString*)scope; - (NSDictionary *)bundleKeyEquivalentsForScope:(NSString*)scope; +- (void)registerBASHCommand:(NSDictionary*)commandDict; +- (void)unRegisterBASHCommand:(NSInteger)pid; +- (NSArray*)runningBASHProcesses; - (void)handleEventWithURL:(NSURL*)url; |