-
Notifications
You must be signed in to change notification settings - Fork 1
/
AWiPhotoLibrary.h
28 lines (25 loc) · 922 Bytes
/
AWiPhotoLibrary.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
//
// AWiPhotoController.h
// AWiPhotoController
//
// Created by Alex Winston on 4/10/10.
// Copyright 2010 Alex Winston. All rights reserved.
//
#import "AWiPhotoEvent.h"
#import "AWiPhotoDocument.h"
@interface AWiPhotoLibrary : NSObject {
}
+ (AWiPhotoLibrary *)libraryWithPath:(NSString *)filePath;
- (AWiPhotoLibrary *)initWithPath:(NSString *)filepath;
- (NSString *)name;
- (NSString *)filePath;
- (NSArray *)events;
- (BOOL)containsEventWithId:(NSString *)eventId;
- (BOOL)containsEventWithName:(NSString *)aName;
- (BOOL)containsDocumentWithId:(NSString *)documentId forEventId:(NSString *)eventId;
- (NSString *)addEvent:(AWiPhotoEvent *)anEvent;
- (NSString *)addDocument:(AWiPhotoDocument *)aDocument forEventId:(NSString *)eventId;
- (AWiPhotoEvent *)eventWithId:(NSString *)eventId;
- (AWiPhotoEvent *)eventWithName:(NSString *)aName;
- (AWiPhotoDocument *)documentWithId:(NSString *)documentId;
@end