summaryrefslogtreecommitdiffstats
path: root/macosx/HBTitlePrivate.h
diff options
context:
space:
mode:
authorritsuka <[email protected]>2015-06-01 17:20:43 +0000
committerritsuka <[email protected]>2015-06-01 17:20:43 +0000
commit876f1f8cafd3510cb04f022f004610e39d50dbc8 (patch)
tree8fb00efa2f170d03eb96b7859a9a6605f4d8b6f9 /macosx/HBTitlePrivate.h
parentc0cb605ff2e3fff65db994506df8f6f7253b5ad8 (diff)
MacGui: split HBTitle header to make it easier to test. Added some simple tests.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7256 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'macosx/HBTitlePrivate.h')
-rw-r--r--macosx/HBTitlePrivate.h29
1 files changed, 29 insertions, 0 deletions
diff --git a/macosx/HBTitlePrivate.h b/macosx/HBTitlePrivate.h
new file mode 100644
index 000000000..01e9532eb
--- /dev/null
+++ b/macosx/HBTitlePrivate.h
@@ -0,0 +1,29 @@
+//
+// 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 featured:(BOOL)featured;
+
+/**
+ * The internal libhb structure.
+ */
+@property (nonatomic, readonly) hb_title_t *hb_title;
+
+@end \ No newline at end of file