mirror of
https://github.com/ksherlock/TwoTerm.git
synced 2024-12-22 07:30:40 +00:00
ae61aaa524
git-svn-id: svn://qnap.local/TwoTerm/trunk@3111 5590a31f-7b70-45f8-8c82-aa3a8e5f4507
46 lines
852 B
Objective-C
46 lines
852 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 ColorView;
|
|
|
|
@protocol Emulator;
|
|
|
|
@interface TermWindowController : NSWindowController <NSWindowDelegate> {
|
|
|
|
NSDictionary *_parameters;
|
|
|
|
EmulatorView *_emulatorView;
|
|
ColorView *_colorView;
|
|
|
|
|
|
|
|
NSObject <Emulator> *_emulator;
|
|
|
|
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 ColorView *colorView;
|
|
|
|
@property (nonatomic, retain) NSObject<Emulator> *emulator;
|
|
|
|
-(void)initPTY;
|
|
|
|
@end
|