diff options
author | ritsuka <[email protected]> | 2015-01-13 08:08:04 +0000 |
---|---|---|
committer | ritsuka <[email protected]> | 2015-01-13 08:08:04 +0000 |
commit | 677231f07d765e79afdc76e7741bb9e03bde1142 (patch) | |
tree | b98775bb09649710c9b80b6370c8d261ce778cf9 /macosx/HBJob+HBJobConversion.h | |
parent | 40edf3c9bce9f91fa3b5d8f422ad5df1e8ad3eb6 (diff) |
MacGui: Move the audio/subtitles selection logic out of the view controllers. Now it's possible to create a HBJob and apply a preset to without the UI classes help.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6741 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'macosx/HBJob+HBJobConversion.h')
-rw-r--r-- | macosx/HBJob+HBJobConversion.h | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/macosx/HBJob+HBJobConversion.h b/macosx/HBJob+HBJobConversion.h new file mode 100644 index 000000000..b46aabc18 --- /dev/null +++ b/macosx/HBJob+HBJobConversion.h @@ -0,0 +1,18 @@ +/* HBJob+HBJobConversion.m $ + + 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 <Foundation/Foundation.h> +#import "HBJob.h" +#include "hb.h" + +@interface HBJob (HBJobConversion) + +/** + * Converts the job to a hb_job_t struct. + */ +@property (nonatomic, readonly) hb_job_t *hb_job; + +@end |