-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathMiniDoc.h
More file actions
54 lines (43 loc) · 1.51 KB
/
MiniDoc.h
File metadata and controls
54 lines (43 loc) · 1.51 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
//
// MiniDoc.h
// AnalysisTool
//
// Created by Joey Hagedorn on 11/30/07.
// Updated and modified by Joshua Hailpern & Zhongnan Du on 12/7/2011
// Copyright 2008 University of Illinois & Joey Hagedorn. All rights reserved.
// This software is licensed under a BSD license. Please refer to the included
// license file for more details.
#import <Cocoa/Cocoa.h>
#import "EventTrack.h"
#import "DataFileLog.h"
#import <QTKit/QTKit.h>
@interface MiniDoc : NSObject {
NSMutableArray *eventTracks;
NSString *moviePath;
DataFileLog *dataFile;
unsigned long long movieStartOffset;
unsigned int skipInterval;
BOOL isShowingSound;
NSMutableArray *paths; //their Paths, we'll archive and rebuild this
NSMutableArray *offsets; //NSNumbers representing signed longs of ms off main video.
BOOL isStacked;
QTTime movieLength;
}
- (BOOL)loadDataRepresentation:(NSData *)data ofType:(NSString *)aType;
- (NSData *)dataRepresentationOfType:(NSString *)aType;
- (void)addEventTrack:(EventTrack *)evtTrk;
- (void)addEventTrack:(EventTrack *)evtTrk atIndex:(int)index;
- (void)removeEventTrack:(EventTrack *)evtTrk;
- (void)setMovieOffset:(unsigned long long)offset;
- (unsigned long long) offset;
- (void)setSkipInterval:(int)interval;
- (unsigned int) interval;
- (void)setMovie:(NSString *)newMoviePath;
- (NSString *)moviePath;
- (QTTime) movieLength;
- (void)setDataFile:(NSString *)newDatafilePath;
- (NSString *)dataFilePath;
- (DataFileLog *)dataFile;
- (NSArray *) eventTracks;
- (EventTrack *) trackNamed:(NSString *)name;
@end