diff options
author | Bibiko <bibiko@eva.mpg.de> | 2010-11-22 21:43:22 +0000 |
---|---|---|
committer | Bibiko <bibiko@eva.mpg.de> | 2010-11-22 21:43:22 +0000 |
commit | b5bcd962ab29b4d7c455c98e03b429b3c6b11e92 (patch) | |
tree | 0794193cb8f43a9276467bc92092b951167a6bed /Source/SPAppController.m | |
parent | 9ecfa022b7c58ec178ff089b86f110552bf74d7e (diff) | |
download | sequelpro-b5bcd962ab29b4d7c455c98e03b429b3c6b11e92.tar.gz sequelpro-b5bcd962ab29b4d7c455c98e03b429b3c6b11e92.tar.bz2 sequelpro-b5bcd962ab29b4d7c455c98e03b429b3c6b11e92.zip |
* enabled sequel:// url scheme commands from inside the Bundle HTML output window
Diffstat (limited to 'Source/SPAppController.m')
-rw-r--r-- | Source/SPAppController.m | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/Source/SPAppController.m b/Source/SPAppController.m index 0a59287c..534b3741 100644 --- a/Source/SPAppController.m +++ b/Source/SPAppController.m @@ -528,7 +528,11 @@ { NSURL *url = [NSURL URLWithString:[[event paramDescriptorForKeyword:keyDirectObject] stringValue]]; - + [self handleEventWithURL:url]; +} + +- (void)handleEventWithURL:(NSURL*)url +{ NSString *command = [url host]; NSString *passedProcessID = [url user]; NSArray *parameter; @@ -588,7 +592,6 @@ NSLog(@"param: %@", parameter); NSLog(@"command: %@", command); NSLog(@"command id: %@", passedProcessID); - } #pragma mark - |