2010-07-08 22:26:58 +00:00
|
|
|
//
|
|
|
|
// TermWindowController.h
|
|
|
|
// 2Term
|
|
|
|
//
|
|
|
|
// Created by Kelvin Sherlock on 7/2/2010.
|
|
|
|
// Copyright 2010 __MyCompanyName__. All rights reserved.
|
|
|
|
//
|
|
|
|
|
|
|
|
#import <Cocoa/Cocoa.h>
|
|
|
|
|
|
|
|
|
|
|
|
@class EmulatorView;
|
2010-10-05 18:56:45 +00:00
|
|
|
@protocol Emulator;
|
|
|
|
|
|
|
|
@interface TermWindowController : NSWindowController <NSWindowDelegate> {
|
2010-07-08 22:26:58 +00:00
|
|
|
|
|
|
|
IBOutlet EmulatorView *_emulatorView;
|
|
|
|
|
2010-10-05 18:56:45 +00:00
|
|
|
NSObject <Emulator> *_emulator;
|
|
|
|
|
2010-07-08 22:26:58 +00:00
|
|
|
int _child;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
2010-10-05 18:56:45 +00:00
|
|
|
@property (nonatomic, retain) NSObject<Emulator> *emulator;
|
|
|
|
|
2010-07-08 22:26:58 +00:00
|
|
|
-(void)initPTY;
|
|
|
|
|
|
|
|
@end
|