summaryrefslogtreecommitdiffstats
path: root/macosx/HBOutputPanelController.h
diff options
context:
space:
mode:
authordynaflash <dynaflashtech@gmail.com>2007-05-21 16:50:21 +0000
committerdynaflash <dynaflashtech@gmail.com>2007-05-21 16:50:21 +0000
commit7f232a9f43d6cdb3094485a5ac73ff9033c1880a (patch)
tree6d3ca68609c344c648dfdc833d3b27700e755795 /macosx/HBOutputPanelController.h
parentd7154d2184454ca5cd115830ed15dd8d1dbfe426 (diff)
MacGui: Debug Window to read libhb output like cli in inspector window
- Thank You Cleaner!! - Adds Debug Output to Window menu - Adds Verbose pref to preferences menu - MacGui now reads output from libhb like cli - May add pref to open Debug Output window upon launch - All credit goes to Cleaner, Thank You! git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@592 b64f7644-9d1e-0410-96f1-a4d463321fa5
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