summaryrefslogtreecommitdiffstats
path: root/macosx/HBOutputPanelController.h
blob: c2b6bd75d2454b007aa77b50bca0972ab09584d5 (plain)
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
/**
 * @file
 * @date 18.5.2007
 *
 * Interface of class HBOutputPanelController.
 */

#import <Cocoa/Cocoa.h>

/**
 * This class implements a panel that displays all text that is written
 * to stderr. User can easily copy the text to pasteboard from context menu.
 */
@interface HBOutputPanelController : NSObject
{
	/// Panel that displays debug output.
	IBOutlet NSPanel *outputPanel;
	
	/// Textview that displays debug output.
	IBOutlet NSTextView *textView;
	
	/// Text storage for the debug output.
	NSTextStorage *outputTextStorage;
}

- (IBAction)showOutputPanel:(id)sender;
- (IBAction)clearOutput:(id)sender;
- (IBAction)copyAllOutputToPasteboard:(id)sender;

@end