summaryrefslogtreecommitdiffstats
path: root/macosx/HBOutputPanelController.h
diff options
context:
space:
mode:
Diffstat (limited to 'macosx/HBOutputPanelController.h')
-rw-r--r--macosx/HBOutputPanelController.h30
1 files changed, 30 insertions, 0 deletions
diff --git a/macosx/HBOutputPanelController.h b/macosx/HBOutputPanelController.h
new file mode 100644
index 000000000..c2b6bd75d
--- /dev/null
+++ b/macosx/HBOutputPanelController.h
@@ -0,0 +1,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