aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPDatabaseDocument.h
diff options
context:
space:
mode:
authorBibiko <bibiko@eva.mpg.de>2010-11-11 09:44:37 +0000
committerBibiko <bibiko@eva.mpg.de>2010-11-11 09:44:37 +0000
commitf633a067d2120cca67fd1b2782688424cadde9d4 (patch)
tree613f7364482c73e12b626da99897470cbb9687ed /Source/SPDatabaseDocument.h
parentdb80c9b84be4326d2e2d36839c532159fb9d61fd (diff)
downloadsequelpro-f633a067d2120cca67fd1b2782688424cadde9d4.tar.gz
sequelpro-f633a067d2120cca67fd1b2782688424cadde9d4.tar.bz2
sequelpro-f633a067d2120cca67fd1b2782688424cadde9d4.zip
• some improvements for sequelpro://process_id/command/param1/param2 url scheme support
- introduced an unique process ID for each called bash command which will be set for the current SPDatabaseDocument and passed as environment shell variable SP_PROCESS_ID to ensure that such a scheme command will be executed by the correct SPDatabaseDocument, to avoid security issues ie one can authenticate such a sheme command, to enable url scheme process communication based on file shake-hands etc.
Diffstat (limited to 'Source/SPDatabaseDocument.h')
-rw-r--r--Source/SPDatabaseDocument.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/SPDatabaseDocument.h b/Source/SPDatabaseDocument.h
index 31c35f7e..0934f1ff 100644
--- a/Source/SPDatabaseDocument.h
+++ b/Source/SPDatabaseDocument.h
@@ -202,11 +202,13 @@
NSWindow *parentWindow;
NSTabViewItem *parentTabViewItem;
BOOL isProcessing;
+ NSString *processID;
}
@property (readwrite, assign) SPWindowController *parentWindowController;
@property (readwrite, assign) NSTabViewItem *parentTabViewItem;
@property (readwrite, assign) BOOL isProcessing;
+@property (readwrite, retain) NSString *processID;
@property (readonly) SPServerSupport *serverSupport;
- (BOOL)isUntitled;