diff options
author | abhibeckert <abhi@abhibeckert.com> | 2008-09-29 09:49:36 +0000 |
---|---|---|
committer | abhibeckert <abhi@abhibeckert.com> | 2008-09-29 09:49:36 +0000 |
commit | 8b39f25ee75d7db1eff68aaa71b92d3282e4c054 (patch) | |
tree | 75e5fd2f66210a5d7170f92c40903fe9fe1c5b57 /trunk/SSHTunnel_old.h | |
parent | c0e7a42a5deba6b1529db959411a416ab114edba (diff) | |
download | sequelpro-8b39f25ee75d7db1eff68aaa71b92d3282e4c054.tar.gz sequelpro-8b39f25ee75d7db1eff68aaa71b92d3282e4c054.tar.bz2 sequelpro-8b39f25ee75d7db1eff68aaa71b92d3282e4c054.zip |
tag release candidate 2 of 0.9.2 releaserelease-0.9.2
Diffstat (limited to 'trunk/SSHTunnel_old.h')
-rwxr-xr-x | trunk/SSHTunnel_old.h | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/trunk/SSHTunnel_old.h b/trunk/SSHTunnel_old.h new file mode 100755 index 00000000..f70d3a52 --- /dev/null +++ b/trunk/SSHTunnel_old.h @@ -0,0 +1,41 @@ +/* + +SSHTunnel.h + +Original code by tynsoe.org, Copyright 2002 +Modified by Lorenz Textor for use with Sequel Pro + +*/ + +#import <Cocoa/Cocoa.h> + +@interface SSHTunnel : NSObject +{ + BOOL shouldStop; + NSTask *task; + NSPipe *stdErrPipe; + NSString *status; + + NSDictionary *tunnelArguments; +} + +// initialization +- (id)init; + +// Getting tunnels informations +- (BOOL)isRunning; +- (NSString *)status; + +// starting & stopping the tunnel +- (void)startTunnel; +- (void)startTunnelWithArguments:(NSDictionary *)args; +- (void)stopTunnel; +- (void)launchTunnel:(NSArray*)arguments; +- (void)stdErr:(NSNotification*)aNotification; +- (id)authenticate:(NSScriptCommand *)command; +- (id)handleQuitScriptCommand:(NSScriptCommand *)command; + +// deallocation +- (void) dealloc; + +@end |