summaryrefslogtreecommitdiffstats
path: root/macosx/HBSubtitles.h
diff options
context:
space:
mode:
authorDamiano Galassi <[email protected]>2020-01-10 14:19:50 +0100
committerDamiano Galassi <[email protected]>2020-01-10 14:19:50 +0100
commit073c2fb84b3ead86d2f2b28cbd737bb936cc0696 (patch)
treed3d832cab0e828a1b2ce76a9f858296c4f74fdb8 /macosx/HBSubtitles.h
parentefcd5b85b03145964779b8a7700558e44213b8d8 (diff)
MacGui: improve security scoped resources management. Fixes #2566.
Diffstat (limited to 'macosx/HBSubtitles.h')
-rw-r--r--macosx/HBSubtitles.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/macosx/HBSubtitles.h b/macosx/HBSubtitles.h
index 6be256b36..9689161ef 100644
--- a/macosx/HBSubtitles.h
+++ b/macosx/HBSubtitles.h
@@ -6,6 +6,7 @@
#import <Foundation/Foundation.h>
#import "HBPresetCoding.h"
+#import "HBSecurityAccessToken.h"
NS_ASSUME_NONNULL_BEGIN
@@ -13,7 +14,7 @@ NS_ASSUME_NONNULL_BEGIN
@class HBTitleSubtitlesTrack;
@class HBSubtitlesDefaults;
-@interface HBSubtitles : NSObject <NSSecureCoding, NSCopying>
+@interface HBSubtitles : NSObject <NSSecureCoding, NSCopying, HBSecurityScope>
- (void)addAllTracks;
- (void)removeAll;