summaryrefslogtreecommitdiffstats
path: root/macosx/HBTitle+Private.h
diff options
context:
space:
mode:
Diffstat (limited to 'macosx/HBTitle+Private.h')
-rw-r--r--macosx/HBTitle+Private.h31
1 files changed, 31 insertions, 0 deletions
diff --git a/macosx/HBTitle+Private.h b/macosx/HBTitle+Private.h
new file mode 100644
index 000000000..76aecdba4
--- /dev/null
+++ b/macosx/HBTitle+Private.h
@@ -0,0 +1,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