summaryrefslogtreecommitdiffstats
path: root/macosx/HBTitle+Private.h
blob: 76aecdba4f0cfc215640d0ab3c0e064823976e0d (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
31
//
//  HBTitlePrivate.h
//  HandBrake
//
//  Created by Damiano Galassi on 30/05/15.
//
//

#import <Foundation/Foundation.h>
#import "HBTitle.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