diff --git a/MacPass/MPPlugin.h b/MacPass/MPPlugin.h index 4afbee61..fc4eddf8 100644 --- a/MacPass/MPPlugin.h +++ b/MacPass/MPPlugin.h @@ -35,5 +35,21 @@ FOUNDATION_EXPORT NSString *const kMPPluginFileExtension; @end +@class KPKTree; + +@protocol MPTreeImporting + +@required +- (KPKTree *)importTreeAtURL:(NSURL *)url error:(NSError **)error; + +@end + +@protocol MPTreeExporting + +@required +- (NSData *)dataForTree:(KPKTree *)tree error:(NSError **)error; + +@end + NS_ASSUME_NONNULL_END \ No newline at end of file