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-12-18 17:40:58 +00:00
|
|
|
@class CurveView;
|
2011-01-20 02:36:06 +00:00
|
|
|
@class ChildMonitor;
|
2010-12-18 17:40:58 +00:00
|
|
|
|
2010-10-05 18:56:45 +00:00
|
|
|
@protocol Emulator;
|
|
|
|
|
|
|
|
@interface TermWindowController : NSWindowController <NSWindowDelegate> {
|
2010-07-08 22:26:58 +00:00
|
|
|
|
2010-12-20 23:37:02 +00:00
|
|
|
NSDictionary *_parameters;
|
|
|
|
|
2010-12-18 17:40:58 +00:00
|
|
|
EmulatorView *_emulatorView;
|
|
|
|
CurveView *_curveView;
|
|
|
|
|
2010-12-20 23:37:02 +00:00
|
|
|
|
|
|
|
|
2010-10-05 18:56:45 +00:00
|
|
|
NSObject <Emulator> *_emulator;
|
|
|
|
|
2011-01-20 02:36:06 +00:00
|
|
|
ChildMonitor *_childMonitor;
|
|
|
|
|
2010-07-08 22:26:58 +00:00
|
|
|
int _child;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
2010-12-20 23:37:02 +00:00
|
|
|
@property (nonatomic, retain) NSDictionary *parameters;
|
|
|
|
|
2011-01-20 02:36:06 +00:00
|
|
|
@property (nonatomic, retain) IBOutlet ChildMonitor *childMonitor;
|
|
|
|
|
2010-12-18 17:40:58 +00:00
|
|
|
@property (nonatomic, retain) IBOutlet EmulatorView *emulatorView;
|
|
|
|
@property (nonatomic, retain) IBOutlet CurveView *curveView;
|
|
|
|
|
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
|