public
Description: An OS X application to build a standalone web site as an export from my photo album.
Homepage: http://bleu.west.spy.net/~dustin/projects/photosync/
Clone URL: git://github.com/dustin/photosync.git
Search Repo:
photosync / Photo.h
100644 78 lines (63 sloc) 1.405 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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
//
// Photo.h
// PhotoSync
//
// Created by Dustin Sallings on 2005/2/2.
// Copyright 2005 Dustin Sallings. All rights reserved.
//
 
#import <AppKit/AppKit.h>
 
 
@interface Photo : NSObject {
 
  int imgId;
  int size;
  int width;
  int height;
  int tnwidth;
  int tnheight;
 
  int year;
  int month;
  int day;
 
  NSString *addedby;
  NSString *taken;
  NSString *ts;
  NSString *descr;
  NSString *extension;
  NSString *cat;
 
  NSSet *keywordStrings;
}
 
-initWithDict:(NSDictionary *)d;
-(NSString *)dims;
-(NSSet *)keywordStrings;
 
-(NSComparisonResult)compare:(Photo *)to;
 
-(NSDictionary *)tokens;
 
-(int)year;
-(int)month;
-(int)day;
 
-(NSString *)keywordString;
 
-(void)setId:(int)to;
 
- (int)imgId;
- (void)setImgId:(int)newImgId;
- (int)size;
- (void)setSize:(int)newSize;
- (int)width;
- (void)setWidth:(int)newWidth;
- (int)height;
- (void)setHeight:(int)newHeight;
- (int)tnwidth;
- (void)setTnwidth:(int)newTnwidth;
- (int)tnheight;
- (void)setTnheight:(int)newTnheight;
- (NSString *)addedby;
- (void)setAddedby:(NSString *)newAddedby;
- (NSString *)taken;
- (void)setTaken:(NSString *)newTaken;
- (NSString *)ts;
- (void)setTs:(NSString *)newTs;
- (NSString *)descr;
- (void)setDescr:(NSString *)newDescr;
- (NSString *)extension;
- (void)setExtension:(NSString *)newExtension;
- (NSString *)cat;
- (void)setCat:(NSString *)newCat;
- (NSSet *)keywords;
- (void)setKeywords:(NSSet *)newKeywords;
 
@end