aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPDatabaseDocument.h
diff options
context:
space:
mode:
authorBibiko <bibiko@eva.mpg.de>2010-11-29 21:25:52 +0000
committerBibiko <bibiko@eva.mpg.de>2010-11-29 21:25:52 +0000
commitc1cb48f6afa93b8ed26baa434d66d1ca3e0afca7 (patch)
treef3b1a2864fbead4c7810303eb60b83b2457d677e /Source/SPDatabaseDocument.h
parentcef5a0200f433e53bd27b2516e5ac269205f0420 (diff)
downloadsequelpro-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.h7
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