summaryrefslogtreecommitdiffstats
path: root/macosx/HBSubtitles.h
diff options
context:
space:
mode:
Diffstat (limited to 'macosx/HBSubtitles.h')
-rw-r--r--macosx/HBSubtitles.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/macosx/HBSubtitles.h b/macosx/HBSubtitles.h
index 0a2c56594..afda6a659 100644
--- a/macosx/HBSubtitles.h
+++ b/macosx/HBSubtitles.h
@@ -9,13 +9,15 @@
NS_ASSUME_NONNULL_BEGIN
-@class HBTitle;
+@class HBJob;
@class HBSubtitlesTrack;
@class HBSubtitlesDefaults;
-@interface HBSubtitles : NSObject <NSSecureCoding, NSCopying, HBPresetCoding>
+@interface HBSubtitles : NSObject <NSSecureCoding, NSCopying>
-- (instancetype)initWithTitle:(HBTitle *)title;
+- (instancetype)initWithJob:(HBJob *)job;
+
+@property (nonatomic, readwrite, weak) HBJob *job;
- (void)addAllTracks;
- (void)removeAll;