-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathSlideReviewController.h
75 lines (57 loc) · 2.12 KB
/
SlideReviewController.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
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
//
// SlideReviewController.h
// DoubleCamera
//
// Created by kronick on 12/30/10.
// Copyright 2010 __MyCompanyName__. All rights reserved.
//
#import <UIKit/UIKit.h>
#import "DoublePhoto.h"
@interface SlideReviewController : UIViewController <UIGestureRecognizerDelegate, UIActionSheetDelegate, UIAlertViewDelegate> {
IBOutlet UIImageView *frontImageView;
IBOutlet UIImageView *backImageView;
UIActivityIndicatorView *loadingView;
UIButton *linkButton;
UIButton *uploadButton;
UIBarButtonItem *actionButton;
DoublePhoto *currentDoublePhoto;
DoublePhoto *nextDoublePhoto;
DoublePhoto *prevDoublePhoto;
NSMutableDictionary *doublePhotos;
NSMutableArray *orderedPhotoKeys;
NSString *basePath;
BOOL nextDoneLoading;
BOOL prevDoneLoading;
BOOL updateNextRightAway;
BOOL updatePrevRightAway;
}
@property (nonatomic, retain) IBOutlet UIBarButtonItem *actionButton;
@property (nonatomic, retain) IBOutlet UIImageView *frontImageView;
@property (nonatomic, retain) IBOutlet UIImageView *backImageView;
@property (nonatomic, retain) IBOutlet UIToolbar *mainToolbar;
@property (nonatomic, retain) UIActivityIndicatorView *loadingView;
@property (nonatomic, retain) UIButton *linkButton;
@property (nonatomic, retain) UIButton *uploadButton;
@property (nonatomic, retain) DoublePhoto *currentDoublePhoto;
@property (nonatomic, retain) NSMutableDictionary *doublePhotos;
@property (nonatomic, retain) DoublePhoto *nextDoublePhoto;
@property (nonatomic, retain) DoublePhoto *prevDoublePhoto;
@property (nonatomic, retain) NSMutableArray *orderedPhotoKeys;
@property (nonatomic, retain) NSString *basePath;
- (void)loadDoublePhoto:(DoublePhoto *)dp;
- (void)updateImageViews;
- (void)reloadKeys;
- (void)toggleToolbars;
- (void)hideToolbars;
- (void)showToolbars;
- (void)flipGesture:(UISwipeGestureRecognizer *)recognizer;
- (BOOL)gestureRecognizer:(UIGestureRecognizer *)gestureRecognizer shouldReceiveTouch:(UITouch *)touch;
- (void)hideLinkButton;
- (void)showLinkButton;
- (IBAction)copyLink;
- (IBAction)nextPhoto;
- (IBAction)previousPhoto;
- (IBAction)startSlideshow;
- (IBAction)trash;
- (IBAction)showActionSheet;
@end