summaryrefslogtreecommitdiffstats
path: root/macosx/HBPicture.m
diff options
context:
space:
mode:
Diffstat (limited to 'macosx/HBPicture.m')
-rw-r--r--macosx/HBPicture.m7
1 files changed, 6 insertions, 1 deletions
diff --git a/macosx/HBPicture.m b/macosx/HBPicture.m
index cf3ebfb50..8c83d91fc 100644
--- a/macosx/HBPicture.m
+++ b/macosx/HBPicture.m
@@ -7,7 +7,7 @@
#import "HBPicture.h"
#import "HBTitle.h"
-#import "NSCodingMacro.h"
+#import "HBCodingUtilities.h"
#include "hb.h"
@@ -481,6 +481,11 @@ NSString * const HBPictureChangedNotification = @"HBPictureChangedNotification";
#pragma mark - NSCoding
++ (BOOL)supportsSecureCoding
+{
+ return YES;
+}
+
- (void)encodeWithCoder:(NSCoder *)coder
{
[coder encodeInt:1 forKey:@"HBPictureVersion"];