// // HBSecurityAccessToken.h // HandBrake // // Created by Damiano Galassi on 24/01/17. // // #import @protocol HBSecurityScope /* Given an instance, make the resource referenced by the job accessible to the process. */ - (BOOL)startAccessingSecurityScopedResource; /* Revokes the access granted to the url by a prior successful call to startAccessingSecurityScopedResource. */ - (void)stopAccessingSecurityScopedResource; @end @interface NSURL (HBSecurityScope) - (BOOL)startAccessingSecurityScopedResource; - (void)stopAccessingSecurityScopedResource; @end @interface HBSecurityAccessToken : NSObject + (instancetype)tokenWithObject:(id)object; - (instancetype)initWithObject:(id)object; @end