-
Notifications
You must be signed in to change notification settings - Fork 4
/
LHiPhotoRoll.h
42 lines (28 loc) · 868 Bytes
/
LHiPhotoRoll.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
//
// LHiPhotoRoll.h
// LastHistory
//
// Created by Frederik Seiffert on 10.11.09.
// Copyright 2009 Frederik Seiffert. All rights reserved.
//
#import <Cocoa/Cocoa.h>
#import "LHEvent.h"
@class LHiPhotoLibrary;
@class LHiPhotoPhoto;
@interface LHiPhotoRoll : NSObject <LHEvent> {
LHiPhotoLibrary __weak *_library;
NSString *_name;
NSDate *_timestamp;
NSString *_keyPhotoKey;
NSArray *_photoKeys;
NSArray __weak *_photos; // garbage-collected cache
}
- (id)initWithDictionary:(NSDictionary *)rollDict forLibrary:(LHiPhotoLibrary *)library;
@property (readonly) LHiPhotoLibrary __weak *library;
@property (readonly) NSString *name;
@property (readonly) NSDate *timestamp;
@property (readonly) LHiPhotoPhoto *keyPhoto;
@property (readonly) NSArray *photos;
@property (readonly) NSDate *eventStart;
@property (readonly) NSDate *eventEnd;
@end