mirror of
https://github.com/ksherlock/TwoTerm.git
synced 2024-12-22 22:29:51 +00:00
edee5557b3
git-svn-id: svn://qnap.local/TwoTerm/trunk@3110 5590a31f-7b70-45f8-8c82-aa3a8e5f4507
48 lines
873 B
Objective-C
48 lines
873 B
Objective-C
//
|
|
// TermWindowController.h
|
|
// 2Term
|
|
//
|
|
// Created by Kelvin Sherlock on 7/2/2010.
|
|
// Copyright 2010 __MyCompanyName__. All rights reserved.
|
|
//
|
|
|
|
#import <Cocoa/Cocoa.h>
|
|
|
|
|
|
@class EmulatorView;
|
|
@class CurveView;
|
|
|
|
@protocol Emulator;
|
|
|
|
@interface TermWindowController : NSWindowController <NSWindowDelegate> {
|
|
|
|
NSDictionary *_parameters;
|
|
|
|
EmulatorView *_emulatorView;
|
|
CurveView *_curveView;
|
|
|
|
|
|
|
|
NSObject <Emulator> *_emulator;
|
|
|
|
int _child;
|
|
|
|
int _fd;
|
|
pid_t _pid;
|
|
|
|
dispatch_source_t _read_source;
|
|
dispatch_source_t _wait_source;
|
|
|
|
}
|
|
|
|
@property (nonatomic, retain) NSDictionary *parameters;
|
|
|
|
@property (nonatomic, retain) IBOutlet EmulatorView *emulatorView;
|
|
@property (nonatomic, retain) IBOutlet CurveView *curveView;
|
|
|
|
@property (nonatomic, retain) NSObject<Emulator> *emulator;
|
|
|
|
-(void)initPTY;
|
|
|
|
@end
|