CocoaShare/Classes/SFTP/MGMSFTPPlugIn.h
2011-02-01 10:19:26 -06:00

32 lines
682 B
Objective-C

//
// MGMSFTPPlugIn.h
// CocoaShare
//
// Created by James on 1/26/11.
// 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