summaryrefslogtreecommitdiffstats
path: root/macosx/HBTitle+Private.h
blob: b55854e22bff6bd717515f18a01a2edda861778e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
/*  HBTitlePrivate.h $

 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 "HBTitle.h"
#import "HBPreset.h"
#include "hb.h"

@interface HBTitle (Private)

/**
 *  Returns an HBTitle object initialized with a given title.
 *  It must be called only inside HBCore.
 *
 *  @param title    the libhb title to wrap.
 *  @param featured whether the title is the featured one or not.
 */
- (instancetype)initWithTitle:(hb_title_t *)title handle:(hb_handle_t *)handle featured:(BOOL)featured;

/**
 *  The internal libhb structure.
 */
@property (nonatomic, readonly) hb_title_t *hb_title;

- (NSDictionary *)jobSettingsWithPreset:(HBPreset *)preset;

@end