2011-02-01 09:51:02 -06:00
|
|
|
//
|
|
|
|
// MGMSFTPPlugIn.h
|
|
|
|
// CocoaShare
|
|
|
|
//
|
2011-02-02 14:58:24 -06:00
|
|
|
// Created by Mr. Gecko on 1/26/11.
|
2011-02-01 09:51:02 -06:00
|
|
|
// Copyright (c) 2011 Mr. Gecko's Media (James Coleman). All rights reserved. http://mrgeckosmedia.com/
|
|
|
|
//
|
|
|
|
|
|
|
|
#import <Cocoa/Cocoa.h>
|
|
|
|
|
|
|
|
@interface MGMSFTPPlugIn : NSObject {
|
|
|
|
IBOutlet NSView *view;
|
|
|
|
IBOutlet NSTextField *hostField;
|
|
|
|
IBOutlet NSTextField *userField;
|
|
|
|
IBOutlet NSTextField *passwordField;
|
|
|
|
IBOutlet NSTextField *pathField;
|
|
|
|
IBOutlet NSTextField *urlField;
|
|
|
|
IBOutlet NSButton *loginButton;
|
|
|
|
|
|
|
|
NSString *filePath;
|
|
|
|
NSString *fileName;
|
|
|
|
|
|
|
|
NSTask *SFTPTask;
|
|
|
|
NSPipe *SFTPPipe;
|
|
|
|
NSPipe *SFTPInputPipe;
|
|
|
|
}
|
|
|
|
- (void)releaseView;
|
|
|
|
|
|
|
|
- (void)lockLogin;
|
|
|
|
- (void)unlockLogin;
|
|
|
|
- (IBAction)login:(id)sender;
|
|
|
|
@end
|