diff options
author | Rodeo <[email protected]> | 2013-01-03 00:01:58 +0000 |
---|---|---|
committer | Rodeo <[email protected]> | 2013-01-03 00:01:58 +0000 |
commit | 2636511cf692b4eec7b42232999ef164d9552195 (patch) | |
tree | d80fe199daa99571a0f7dd540480c18b9e708a16 /macosx/Controller.h | |
parent | a2a844aaf85c003320170d446adcdb14e05317cc (diff) |
MacGui: add getters and setter for x264 preset system.
Simplifies code and makes it more readable.
Also more refactoring, more bugfixes.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5135 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'macosx/Controller.h')
-rw-r--r-- | macosx/Controller.h | 26 |
1 files changed, 18 insertions, 8 deletions
diff --git a/macosx/Controller.h b/macosx/Controller.h index 76e8e690f..b4c0420f5 100644 --- a/macosx/Controller.h +++ b/macosx/Controller.h @@ -301,12 +301,12 @@ BOOL fIsDragging; - (IBAction) cancelScanning:(id)sender; -- (void) updateUI: (NSTimer *) timer; -- (void) enableUI: (bool) enable; -- (void) setupX264PresetsWidgets: (id) sender; -- (void) enableX264Widgets: (bool) enable; -- (IBAction) updateX264Widgets: (id) sender; -- (IBAction) x264PresetsChangedDisplayExpandedOptions: (id) sender; +- (void) updateUI: (NSTimer*) timer; +- (void) enableUI: (bool) enable; +- (void) setupX264PresetsWidgets: (id) sender; +- (void) enableX264Widgets: (bool) enable; +- (IBAction) updateX264Widgets: (id) sender; +- (IBAction) x264PresetsChangedDisplayExpandedOptions: (id) sender; - (IBAction) encodeStartStopPopUpChanged: (id) sender; @@ -482,8 +482,18 @@ BOOL fIsDragging; - (void) updateDockIcon:(double)progress withETA:(NSString*)etaStr; -// x264 Presets methods -- (IBAction) x264PresetsSliderChanged: (id) sender; +// x264 system methods +- (NSString*) x264Preset; +- (NSString*) x264Tune; +- (NSString*) x264OptionExtra; +- (NSString*) h264Profile; +- (NSString*) h264Level; +- (void) setX264Preset: (NSString*) x264Preset; +- (void) setX264Tune: (NSString*) x264Tune; +- (void) setX264OptionExtra: (NSString*) x264OptionExtra; +- (void) setH264Profile: (NSString*) h264Profile; +- (void) setH264Level: (NSString*) h264Level; +- (IBAction) x264PresetsSliderChanged: (id) sender; @end |