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/SPDatabaseDocument.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/SPDatabaseDocument.h')
-rw-r--r-- | Source/SPDatabaseDocument.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/Source/SPDatabaseDocument.h b/Source/SPDatabaseDocument.h index e4d12346..16330b39 100644 --- a/Source/SPDatabaseDocument.h +++ b/Source/SPDatabaseDocument.h @@ -188,7 +188,9 @@ NSDictionary *spfSession; NSMutableDictionary *spfPreferences; NSMutableDictionary *spfDocData; - + + NSMutableArray *runningBASHprocesses; + NSString *keyChainID; NSThread *printThread; @@ -355,6 +357,9 @@ // Scripting - (void)handleSchemeCommand:(NSDictionary*)commandDict; +- (void)registerBASHCommand:(NSDictionary*)commandDict; +- (void)unRegisterBASHCommand:(NSInteger)pid; +- (NSArray*)runningBASHProcesses; - (NSDictionary*)shellVariables; // State saving and setting |