-
Notifications
You must be signed in to change notification settings - Fork 0
/
TLLibraryHost.h
42 lines (31 loc) · 1.01 KB
/
TLLibraryHost.h
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
//
// TLLibraryHost.h
// Mercatalog
//
// Created by Nathan Vander Wilt on 12/13/08.
// Copyright 2008 __MyCompanyName__. All rights reserved.
//
#import <Cocoa/Cocoa.h>
#import "TLModelHost.h"
@class TLMercatalogLibrary;
@class TLLocation;
@interface TLLibraryHost : TLModelHost {
@private
__weak TLMercatalogLibrary* library;
NSArray* cachedTracks;
NSArray* cachedPhotos;
}
+ (void)registerLibraryHost:(TLLibraryHost*)libraryHost
forContext:(NSManagedObjectContext*)aModelContext;
+ (id)libraryHostForContext:(NSManagedObjectContext*)aModelContext;
@property (nonatomic, assign) TLMercatalogLibrary* library;
- (int64_t)makePhotoID;
- (NSURL*)photoOriginalCopyLocation:(int64_t)uniqueID;
- (NSURL*)photoThumbnailLocation:(int64_t)uniqueID forSize:(NSString*)sizeName;
@property (nonatomic, copy) TLLocation* homeBase;
@property (nonatomic, assign) BOOL alwaysShowTimeline;
@property (nonatomic, assign) BOOL alwaysShowTracks;
- (NSArray*)visiblePhotos;
- (NSArray*)evidencePhotos;
- (NSArray*)allTracks;
@end