Removal off attachments included

This commit is contained in:
michael starke
2013-07-05 20:50:38 +02:00
parent 9c3a62bef6
commit 628fbbfeda
12 changed files with 543 additions and 293 deletions

View File

@@ -95,6 +95,7 @@ APPKIT_EXTERN NSString *const MPDocumentGroupKey;
- (void)addAttachment:(NSURL *)location toEntry:(KdbEntry *)anEntry;
- (void)saveAttachmentFromEntry:(KdbEntry *)anEntry toLocation:(NSURL *)location;
- (void)saveAttachment:(BinaryRef *)reference toLocation:(NSURL *)location;
- (void)removeAttachment:(BinaryRef *)reference fromEntry:(KdbEntry *)anEntry;
- (NSUInteger)nextBinaryId;
- (Binary *)findBinary:(BinaryRef *)reference;