Medianno/Medianno/MADocument.h
2011-08-18 17:57:51 +02:00

28 lines
742 B
Objective-C

//
// MADocument.h
// Medianno
//
// Created by Matthias Neeracher on 8/10/11.
// Copyright 2011 Matthias Neeracher. All rights reserved.
//
#import <Cocoa/Cocoa.h>
#import <QTKit/QTKit.h>
@class MAMedia;
@class MATagDescription;
@class MAAnno;
@interface MADocument : NSPersistentDocument {
NSFileWrapper * mediaWrapper;
}
- (void)addMediaURL:(NSURL *)url name:(NSString *)name date:(NSDate *)date copying:(BOOL)copying;
- (MAAnno *)addAnnotationForMedia:(MAMedia *)media location:(QTTime)location;
- (MATagDescription *)tagDescriptionForName:(NSString *)name;
- (MATagDescription *)tagDescriptionForName:(NSString *)name notes:(NSString *)notes;
- (NSArray *)tagNamesMatchingPrefix:(NSString *)prefix;
- (NSSet *)allTags;
@end