public
Description: A handy OS X menu icon application for launching commands in Terminal.app and iTerm.
Homepage: http://mbcharbonneau.github.com/terminalicious
Clone URL: git://github.com/mbcharbonneau/terminalicious.git
terminalicious / DSHController.h
100755 45 lines (36 sloc) 1.148 kb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
//
// DSHController.h
// Terminalicious
//
// Created by Marc Charbonneau on 3/13/05.
// Copyright 2005 Downtown Software House. All rights reserved.
//
 
#import <Cocoa/Cocoa.h>
 
@class DSHCustomSelectionColorTextView;
 
@interface DSHController : NSObject
{
NSMutableArray *history;
NSString *prevCommandText;
NSStatusItem *statusBarItem;
DSHCustomSelectionColorTextView *fieldEditor;
NSMenu *historyMenu;
 
IBOutlet id commandTextField;
IBOutlet id historyWindow;
IBOutlet id historyTableView;
IBOutlet id commandWindow;
IBOutlet id showHistoryWindowButton;
IBOutlet id statusItemMenu;
IBOutlet id historySubMenu;
}
 
- (void)windowMoved:(id)sender;
- (void)escPressed:(id)sender;
 
- (int)numberOfRowsInTableView: (NSTableView *)table;
- (id)tableView: (NSTableView *)table objectValueForTableColumn: (NSTableColumn *)column row: (int)row;
 
- (IBAction)toggleHistoryWindow:(id)sender;
- (IBAction)toggleCommandWindow:(id)sender;
- (IBAction)showAboutPanel:(id)sender;
- (IBAction)showPrefsPanel:(id)sender;
- (IBAction)clearHistory:(id)sender;
- (IBAction)openWebsite:(id)sender;
- (IBAction)launchCommandFromMenu:(id)sender;
 
@end