summaryrefslogtreecommitdiffstats
path: root/macosx/HBTitle.m
diff options
context:
space:
mode:
Diffstat (limited to 'macosx/HBTitle.m')
-rw-r--r--macosx/HBTitle.m8
1 files changed, 8 insertions, 0 deletions
diff --git a/macosx/HBTitle.m b/macosx/HBTitle.m
index 42453d34a..ad926e0cd 100644
--- a/macosx/HBTitle.m
+++ b/macosx/HBTitle.m
@@ -5,6 +5,7 @@
It may be used under the terms of the GNU General Public License. */
#import "HBTitle.h"
+#import "HBTitlePrivate.h"
#include "lang.h"
@@ -33,6 +34,7 @@ extern NSString *keySubTrackSrtCharCode;
@interface HBTitle ()
+@property (nonatomic, readonly) hb_title_t *hb_title;
@property (nonatomic, readwrite, strong) NSString *name;
@property (nonatomic, readwrite) NSArray *audioTracks;
@@ -43,6 +45,12 @@ extern NSString *keySubTrackSrtCharCode;
@implementation HBTitle
+/*- (instancetype)init
+{
+ NSAssert(false, @"[HBTitle init] should not be called");
+ return nil;
+}*/
+
- (instancetype)initWithTitle:(hb_title_t *)title featured:(BOOL)featured
{
self = [super init];