Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
47 lines (35 sloc) 878 Bytes
// ToolWrapper.h
// iTerm
// Created by George Nachman on 9/5/11.
// Copyright 2011 Georgetech. All rights reserved.
#import <Cocoa/Cocoa.h>
@class PseudoTerminal;
@protocol ToolWrapperDelegate
- (BOOL)haveOnlyOneTool;
- (void)hideToolbelt;
- (void)toggleShowToolWithName:(NSString *)theName;
@protocol ToolbeltTool
- (void)relayout;
- (void)shutdown;
@interface ToolWrapper : NSView {
NSTextField *title_;
NSButton *closeButton_;
NSString *name;
NSView *container_;
PseudoTerminal *term;
id<ToolWrapperDelegate> delegate_; // weak
@property (nonatomic, copy) NSString *name;
@property (nonatomic, readonly) NSView *container;
@property (nonatomic, assign) PseudoTerminal *term;
@property (nonatomic, assign) id<ToolWrapperDelegate> delegate;
- (void)relayout;
- (NSObject<ToolbeltTool> *)tool;
Something went wrong with that request. Please try again.