OSDN Git Service

libhb: Fix linux compilation. Only set the pthread mutex type on cygwin since it...
[handbrake-jp/handbrake-jp-git.git] / macosx / HBAdvancedController.h
1 /* HBAdvancedController
2
3     This file is part of the HandBrake source code.
4     Homepage: <http://handbrake.fr/>.
5     It may be used under the terms of the GNU General Public License. */
6
7 #import <Cocoa/Cocoa.h>
8
9 @interface HBAdvancedController : NSObject
10 {
11     /* Advanced Tab for opts fX264optView*/
12     NSBox                       * fOptionsBox;
13     
14     IBOutlet NSView             * fX264optView;
15     IBOutlet NSView             * fEmptyView;
16     IBOutlet NSTextField        * fX264optViewTitleLabel;
17     IBOutlet NSTextField        * fDisplayX264OptionsLabel;
18     IBOutlet NSTextField        * fDisplayX264Options;
19     IBOutlet NSTextField        * fX264optBframesLabel;
20     IBOutlet NSPopUpButton      * fX264optBframesPopUp;
21     IBOutlet NSTextField        * fX264optRefLabel;
22     IBOutlet NSPopUpButton      * fX264optRefPopUp;
23     IBOutlet NSTextField        * fX264optNfpskipLabel;
24     IBOutlet NSButton           * fX264optNfpskipSwitch;
25     IBOutlet NSTextField        * fX264optNodctdcmtLabel;
26     IBOutlet NSButton           * fX264optNodctdcmtSwitch;
27     IBOutlet NSTextField        * fX264optSubmeLabel;
28     IBOutlet NSPopUpButton      * fX264optSubmePopUp;
29     IBOutlet NSTextField        * fX264optTrellisLabel;
30     IBOutlet NSPopUpButton      * fX264optTrellisPopUp;
31     IBOutlet NSTextField        * fX264optMixedRefsLabel;
32     IBOutlet NSButton           * fX264optMixedRefsSwitch;
33     IBOutlet NSTextField        * fX264optMotionEstLabel;
34     IBOutlet NSPopUpButton      * fX264optMotionEstPopUp;
35     IBOutlet NSTextField        * fX264optMERangeLabel;
36     IBOutlet NSPopUpButton      * fX264optMERangePopUp;
37     IBOutlet NSTextField        * fX264optWeightBLabel;
38     IBOutlet NSButton           * fX264optWeightBSwitch;
39     IBOutlet NSTextField        * fX264optBPyramidLabel;
40     IBOutlet NSButton           * fX264optBPyramidSwitch;
41     IBOutlet NSTextField        * fX264optDirectPredLabel;
42     IBOutlet NSPopUpButton      * fX264optDirectPredPopUp;
43     IBOutlet NSTextField        * fX264optDeblockLabel;
44     IBOutlet NSPopUpButton      * fX264optAlphaDeblockPopUp;
45     IBOutlet NSPopUpButton      * fX264optBetaDeblockPopUp;
46     IBOutlet NSTextField        * fX264optAnalyseLabel;
47     IBOutlet NSPopUpButton      * fX264optAnalysePopUp;
48     IBOutlet NSTextField        * fX264opt8x8dctLabel;
49     IBOutlet NSButton           * fX264opt8x8dctSwitch;
50     IBOutlet NSTextField        * fX264optCabacLabel;
51     IBOutlet NSButton           * fX264optCabacSwitch;
52 }
53
54 // x264 Advanced Panel Methods
55 - (void) setView: (NSBox *) box;
56 - (BOOL) loadMyNibFile;
57 - (NSString *) optionsString;
58 - (void) setOptions: (NSString *)string;
59 - (void) enableUI: (bool) b;
60 - (void) setHidden: (BOOL) hide;
61 - (IBAction) X264AdvancedOptionsAnimate: (id) sender;
62 - (IBAction) X264AdvancedOptionsSet: (id) sender;
63 - (IBAction) X264AdvancedOptionsStandardizeOptString: (id) sender;
64 - (IBAction) X264AdvancedOptionsSetCurrentSettings: (id) sender;
65 - (NSString *)  X264AdvancedOptionsStandardizeOptNames:(NSString *) cleanOptNameString;
66 - (IBAction) X264AdvancedOptionsChanged: (id) sender;
67
68 @end