Pushr (master) :  summary log tree commit diff
path: root/PushablePhotos.h blob: fbc652fa7efd149d9de64198d8fdc7b35b7d36d1
1//
2// PushablePhotos
3//
4// Created by Chris Lee on 2007-09-26.
5// Copyright (c) 2007. All rights reserved.
6//
7
8#import <UIKit/UIView.h>
9#import <UIKit/UITable.h>
10#import <UIKit/UIImageAndTextTableCell.h>
11
12@class NSArray, NSString, MobilePushr, PushablePhotosTable, RemovablePhotoCell;
13
14@interface PushablePhotos : UIView
15{
16 PushablePhotosTable *_table;
17 NSArray *_photoList;
18 MobilePushr *_pushr;
19 UIWindow *_mainWindow;
20}
21
22- (id)initWithFrame: (struct CGRect)frame application: (MobilePushr *)pushr inWindow: (UIWindow *)window;
23- (void)emptyRoll;
24- (NSArray *)photosToPush;
25- (void)promptUserToEditPhotos: (NSArray *)photoList;
26
27@end
28
29@interface PushablePhotosTable : UITable
30{
31 NSMutableArray *_photos;
32 MobilePushr *_pushr;
33 UIWindow *_mainWindow;
34}
35
36- (void)setPhotos: (NSArray *)photos;
37- (void)setApp: (MobilePushr *)pushr inWindow: (UIWindow *)window;
38- (void)removePhoto: (RemovablePhotoCell *)photoCell;
39- (NSArray *)pushablePhotos;
40
41@end
42
43@interface RemovablePhotoCell : UIImageAndTextTableCell
44{
45 PushablePhotosTable *_table;
46 NSString *_path;
47}
48
49- (void)setTable: (PushablePhotosTable *)table;
50- (void)setPath: (NSString *)path;
51- (NSString *)path;
52
53@end
54