summaryrefslogtreecommitdiffstats
path: root/macosx/HBController.h
diff options
context:
space:
mode:
authorritsuka <[email protected]>2015-01-22 10:34:46 +0000
committerritsuka <[email protected]>2015-01-22 10:34:46 +0000
commit2c6880d133a3cd720369bc9164609dab645ba23f (patch)
tree0d61c5e392d64600d7dc1390b8bcd194d0df207f /macosx/HBController.h
parentdfa1f8dd4bbaed3fba144a5afead99a1ea102c44 (diff)
MacGui: rename HBController and HBQueueController files.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6785 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'macosx/HBController.h')
-rw-r--r--macosx/HBController.h121
1 files changed, 121 insertions, 0 deletions
diff --git a/macosx/HBController.h b/macosx/HBController.h
new file mode 100644
index 000000000..83a47e434
--- /dev/null
+++ b/macosx/HBController.h
@@ -0,0 +1,121 @@
+/* $Id: Controller.h,v 1.35 2005/08/01 14:29:50 titer Exp $
+
+ This file is part of the HandBrake source code.
+ Homepage: <http://handbrake.fr/>.
+ It may be used under the terms of the GNU General Public License. */
+
+#import <Cocoa/Cocoa.h>
+
+@class HBQueueController;
+
+@class HBVideoController;
+@class HBAudioController;
+@class HBSubtitlesController;
+@class HBAdvancedController;
+@class HBChapterTitlesController;
+
+@class HBPictureController;
+@class HBPreviewController;
+
+@class HBPreferencesController;
+@class HBPresetsViewController;
+@class HBPresetsManager;
+
+@class HBJob;
+
+@interface HBController : NSWindowController <NSDrawerDelegate>
+{
+ IBOutlet NSTabView *fMainTabView;
+
+ // Video view controller
+ HBVideoController * fVideoController;
+ IBOutlet NSTabViewItem * fVideoTab;
+
+ // Subtitles view controller
+ HBSubtitlesController * fSubtitlesViewController;
+ IBOutlet NSTabViewItem * fSubtitlesTab;
+
+ // Audio view controller
+ HBAudioController * fAudioController;
+ IBOutlet NSTabViewItem * fAudioTab;
+
+ // Chapters view controller
+ HBChapterTitlesController * fChapterTitlesController;
+ IBOutlet NSTabViewItem * fChaptersTitlesTab;
+
+ // Advanced options tab
+ HBAdvancedController * fAdvancedOptions;
+ IBOutlet NSTabViewItem * fAdvancedTab;
+
+ // Picture Settings
+ HBPictureController * fPictureController;
+ // Picture Preview
+ HBPreviewController * fPreviewController;
+ HBPreferencesController * fPreferencesController;
+
+ // Queue panel
+ HBQueueController * fQueueController;
+
+ // Source box
+ IBOutlet NSProgressIndicator * fScanIndicator;
+ IBOutlet NSBox * fScanHorizontalLine;
+
+ IBOutlet NSTextField * fSrcDVD2Field;
+ IBOutlet NSPopUpButton * fSrcTitlePopUp;
+
+ // pts based start / stop
+ IBOutlet NSTextField * fSrcTimeStartEncodingField;
+ IBOutlet NSTextField * fSrcTimeEndEncodingField;
+ // frame based based start / stop
+ IBOutlet NSTextField * fSrcFrameStartEncodingField;
+ IBOutlet NSTextField * fSrcFrameEndEncodingField;
+
+ IBOutlet NSPopUpButton * fSrcChapterStartPopUp;
+ IBOutlet NSPopUpButton * fSrcChapterEndPopUp;
+
+ // Bottom
+ IBOutlet NSTextField * fStatusField;
+ IBOutlet NSTextField * fQueueStatus;
+ IBOutlet NSProgressIndicator * fRipIndicator;
+ BOOL fRipIndicatorShown;
+
+ // User Preset
+ HBPresetsManager * presetManager;
+ HBPresetsViewController * fPresetsView;
+
+ IBOutlet NSDrawer * fPresetDrawer;
+}
+
+- (instancetype)initWithQueue:(HBQueueController *)queueController presetsManager:(HBPresetsManager *)manager;
+
+- (void)launchAction;
+- (void)openFile:(NSURL *)fileURL;
+
+- (IBAction)browseSources:(id)sender;
+
+- (IBAction)showPicturePanel:(id)sender;
+- (IBAction)showPreviewWindow:(id)sender;
+
+// Queue
+- (IBAction)addToQueue:(id)sender;
+- (IBAction)addAllTitlesToQueue:(id)sender;
+
+- (void)rescanJobToMainWindow:(HBJob *)queueItem;
+- (void)setQueueState:(NSString *)info;
+- (void)setQueueInfo:(NSString *)info progress:(double)progress hidden:(BOOL)hidden;
+
+- (IBAction)rip:(id)sender;
+- (IBAction)pause:(id)sender;
+
+// Preset Methods
+// Export / Import Presets
+- (IBAction)browseExportPresetFile:(id)sender;
+- (IBAction)browseImportPresetFile:(id)sender;
+
+- (IBAction)selectPresetFromMenu:(id)sender;
+
+// Manage User presets
+- (IBAction)showAddPresetPanel:(id)sender;
+- (IBAction)selectDefaultPreset:(id)sender;
+
+@end