summaryrefslogtreecommitdiffstats
path: root/macosx/HBOutputPanelController.h
blob: b61fa20ff1dee8dd2b89a6a01173ff9bc4242c3d (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
31
32
33
34
/**
 * @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;
    
    /// Path to log text file.
    NSString *outputLogFile;
}

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

@end