Adding PhotoLibrary.
[iphone-api.git] / PhotoLibrary / PLAlbumsController.h
1 /*
2 * Generated by class-dump 3.1.2.
3 *
4 * class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2007 by Steve Nygard.
5 */
6
7 #import "NSObject.h"
8
9 #import "UIToolbarDelegate-Protocol.h"
10
11 @class ABPeoplePicker, MLPhotoAlbum, MailComposeController, NSString, NSTimer, PLAlbumScroller, PLAlbumView, PLCropOverlay, PLEmptyAlbumView, PLImageTileView, PLMobileMeHelper, PLMobileMeView, UIImageView, UIModalView, UIProgressHUD, UIToolbar, UITransitionView, UIView, UIWindow;
12
13 @interface PLAlbumsController : NSObject <UIToolbarDelegate>
14 {
15 MLPhotoAlbum *_album;
16 PLAlbumView *_albumView;
17 struct __CFDictionary *_tileCache;
18 PLAlbumScroller *_scroller;
19 PLImageTileView *_tiledView;
20 PLEmptyAlbumView *_emptyCameraView;
21 UIView *_fadeToBlackView;
22 UITransitionView *_slideshowTransitionView;
23 UITransitionView *_cameraTransitionView;
24 struct __CFArray *_imageIndexes;
25 unsigned int _currentIndex;
26 unsigned int _deletedIndex;
27 int _deviceOrientation;
28 int _slideshowStatus;
29 BOOL _tvOutOn;
30 BOOL _beingRotated;
31 BOOL _ignoreGestures;
32 BOOL _animating;
33 BOOL _performActionAfterOrientationChange;
34 BOOL _updateRotationAfterGestures;
35 BOOL _resumeSlideshowAfterRotation;
36 int _directionToMoveAfterSmoothScrollCompletes;
37 double _lastButtonClickTime;
38 int _lastActionMenuButtonIndex;
39 struct CGSize _contentStartSize;
40 float _startDegrees;
41 float _startScale;
42 float _endScale;
43 UIToolbar *_buttonBar;
44 UIModalView *_alertSheet;
45 UIModalView *_popupAlert;
46 UIModalView *_actionView;
47 UIProgressHUD *_savingPhotoHud;
48 NSTimer *_toolbarTimer;
49 NSTimer *_playTimer;
50 NSTimer *_scrubTimer;
51 BOOL _scrubbingTopSpeed;
52 BOOL _scrubbingStarted;
53 PLCropOverlay *_cropOverlay;
54 MailComposeController *_composeController;
55 UIImageView *_emailAnimationView;
56 struct CGRect _emailAnimationDestinationRect;
57 struct __CFData *_emailImageData;
58 BOOL _animateToShowComposeWindow;
59 BOOL _emailButtonEnabled;
60 BOOL _emailDeliveryFailed;
61 NSString *_emailErrorTitle;
62 NSString *_emailErrorDescription;
63 SEL _emailPhotoAction;
64 ABPeoplePicker *_picker;
65 void *_person;
66 PLMobileMeHelper *_mobileMeHelper;
67 PLMobileMeView *_mobileMeView;
68 NSString *_mobileMeAlbumName;
69 NSString *_mobileMeEmailAddress;
70 UIView *_fromView;
71 UIView *_toView;
72 int _imageScrollerLastSmoothScrollDirection;
73 double _lastRubberbandScrollTime;
74 UIWindow *_tvOutWindow;
75 UIView *_tvOutContentView;
76 PLAlbumScroller *_tvOutScroller;
77 PLImageTileView *_tvOutTiledView;
78 struct __CFDictionary *_tvOutTileCache;
79 UITransitionView *_tvOutTransitionView;
80 UIView *_tvOutFromView;
81 UIView *_tvOutToView;
82 }
83
84 - (void)_resetIndexArrayStartingWithIndex:(int)fp8 shuffleImages:(BOOL)fp12 keepPhotoAtStartingIndex:(BOOL)fp16;
85 - (void)_clearFullScreenView;
86 - (void)_fadeOut;
87 - (void)_fadeIn;
88 - (BOOL)_albumScrollerIsVisible;
89 - (id)_retainedImageViewForModelImage:(id)fp8;
90 - (id)_scrollerForImageView:(id)fp8 size:(struct CGSize)fp12;
91 - (void)_preloadImage:(id)fp8 albumImageIndex:(int)fp12 cache:(struct __CFDictionary *)fp16;
92 - (void)_preloadImage:(id)fp8 albumImageIndex:(int)fp12;
93 - (id)_imageScrollerForIndex:(int)fp8 image:(id)fp12 tileCache:(struct __CFDictionary *)fp16;
94 - (id)_imageScrollerForIndex:(int)fp8 image:(id)fp12;
95 - (int)_albumImageIndexForTileIndex:(int)fp8;
96 - (int)_currentIndexFromScrollPosition;
97 - (void)_configureScroller:(id *)fp8 tiledView:(id *)fp12;
98 - (void)_pictureWasTaken:(id)fp8;
99 - (void)_startSlideshowTimer;
100 - (void)_cancelSlideshowTimer;
101 - (void)_cancelToolbarTimer;
102 - (int)_allowedRotationGesture;
103 - (void)_setZoomAndRotationEnabled:(BOOL)fp8;
104 - (void)_clearTileCache;
105 - (id)_modelImageForIndex:(int)fp8;
106 - (void)cameraAlbumDidChange;
107 - (BOOL)_canEmailPhoto;
108 - (void)_capabilitiesChanged;
109 - (id)init;
110 - (void)dealloc;
111 - (void)_resizeViewForStatusBarHeightChange:(id)fp8;
112 - (void)statusBarHeightDidChange:(id)fp8;
113 - (void)_showOverlaysForResume;
114 - (void)applicationResumed:(id)fp8;
115 - (void)applicationSuspended:(id)fp8;
116 - (void)applicationWillBeginSuspendAnimation:(id)fp8;
117 - (void)storeCurrentConfiguration:(id)fp8;
118 - (void)loadCurrentConfiguration:(id)fp8;
119 - (void)setAlbumScrollerEnabled:(BOOL)fp8;
120 - (BOOL)isBeingRotated;
121 - (void)setBeingRotated:(BOOL)fp8;
122 - (id)album;
123 - (void)setAlbum:(id)fp8;
124 - (id)_albumView;
125 - (id)albumView;
126 - (id)albumScroller;
127 - (void)scrollCurrentImageToVisible;
128 - (void)animateToIndex;
129 - (double)durationForTransition:(int)fp8;
130 - (void)transitionViewDidComplete:(id)fp8 fromView:(id)fp12 toView:(id)fp16;
131 - (void)transitionToFullScreenDidComplete;
132 - (void)transitionToFullScreenImage:(id)fp8;
133 - (void)albumView:(id)fp8 selectedPhoto:(id)fp12;
134 - (void)playSlideshow;
135 - (void)fadeOutAnimation:(id)fp8 finished:(id)fp12;
136 - (void)fadeInAnimation:(id)fp8 finished:(id)fp12;
137 - (void)_cleanseCache:(struct __CFDictionary **)fp8 albumImageIndex:(int)fp12;
138 - (void)_updateTVOutOffset;
139 - (void)updateAfterAnimation;
140 - (BOOL)canShowNextImage;
141 - (BOOL)canShowPreviousImage;
142 - (id)currentImage;
143 - (id)nextImage;
144 - (id)previousImage;
145 - (void)_transitionToImage:(id)fp8 fromOldIndex:(int)fp12 toNewIndex:(int)fp16 transition:(int)fp20 transitionView:(id)fp24;
146 - (void)_transitionToImage:(id)fp8 fromOldIndex:(int)fp12 toNewIndex:(int)fp16 transition:(int)fp20;
147 - (void)animationDidStop:(id)fp8 finished:(BOOL)fp12;
148 - (void)_runLKTransition:(id)fp8 transitionView:(id)fp12 fromView:(id)fp16 toView:(id)fp20;
149 - (void)_runLKTransition:(id)fp8;
150 - (void)showNextImageWithTransition:(int)fp8;
151 - (void)showPreviousImageWithTransition:(int)fp8;
152 - (void)finishDelete;
153 - (void)prepareDeleteImageWithNextSlide;
154 - (void)prepareDeleteImagePreviousSlide;
155 - (void)openTrash;
156 - (void)didFinishSuckingToTrash:(id)fp8 finished:(id)fp12 context:(void *)fp16;
157 - (void)suckToTrash:(id)fp8 transitionParent:(id)fp12;
158 - (void)prepareForSucking;
159 - (void)deleteCurrentImage;
160 - (void)buttonBar:(id)fp8 didFinishAnimation:(int)fp12 forButton:(int)fp16;
161 - (void)_flushTileCache;
162 - (void)_removeTileCacheEntryForAlbumImageIndex:(int)fp8;
163 - (void)_updateRotationView:(id)fp8 imageView:(id)fp12 forCreate:(BOOL)fp16;
164 - (void)tileView:(id)fp8 createdTile:(id)fp12;
165 - (void)tileWasRemoved:(id)fp8;
166 - (void)tileWillBeDisplayed:(id)fp8;
167 - (void)albumScrollerDidEndSmoothScroll;
168 - (void)scrollerWillStartSmoothScrolling:(id)fp8;
169 - (void)albumScrollerWillStartTrackingMouse:(id)fp8;
170 - (void)albumScrollerFinishedScroll:(id)fp8;
171 - (void)albumScrollerCanceledScroll:(id)fp8;
172 - (int)deviceOrientationForTrackingInScroller:(id)fp8;
173 - (void)scrollerWillStartDragging:(id)fp8;
174 - (void)scrollerDidEndDragging:(id)fp8;
175 - (void)handleSingleTap:(struct __GSEvent *)fp8;
176 - (id)imageScrollerSiblingForDirection:(int)fp8;
177 - (void)view:(id)fp8 handleTapWithCount:(int)fp12 event:(struct __GSEvent *)fp16 fingerCount:(int)fp20;
178 - (void)viewHandleTouchPause:(id)fp8 isDown:(BOOL)fp12;
179 - (float)_rotationDegreesForDeviceRotation:(int)fp8;
180 - (float)_rotationDegreesToAchieveDeviceRotation:(int)fp8;
181 - (void)_setDeviceOrientation:(int)fp8 force:(BOOL)fp12;
182 - (void)orientationChanged:(id)fp8;
183 - (void)_configureScrollerOrientation;
184 - (void)_updateRotationAfterGestures;
185 - (void)willStartGesturesInView:(id)fp8 forEvent:(struct __GSEvent *)fp12;
186 - (void)willStartGesture:(int)fp8 inView:(id)fp12 forEvent:(struct __GSEvent *)fp16;
187 - (void)gestureDidChange:(int)fp8 inView:(id)fp12 forEvent:(struct __GSEvent *)fp16;
188 - (int)_deviceOrientationAfterRotatingByDegrees:(float)fp8;
189 - (void)didFinishGesture:(int)fp8 inView:(id)fp12 forEvent:(struct __GSEvent *)fp16;
190 - (void)imageViewWillSwitchToFullSizeImage:(id)fp8;
191 - (void)imageViewDidSwitchToFullSizeImage:(id)fp8;
192 - (BOOL)imageViewIsDisplayingLandscape:(id)fp8;
193 - (void)_cancelScrubTimer;
194 - (void)_resetScrubTimerForDirection:(int)fp8;
195 - (void)_scrubTimerFired:(id)fp8;
196 - (void)_stopScrubbing:(id)fp8;
197 - (void)_handleDirectionButtonMouseDown:(id)fp8 direction:(int)fp12;
198 - (void)mouseDownInLeftButton:(id)fp8;
199 - (void)mouseDownInRightButton:(id)fp8;
200 - (void)_showCropOverlayWithTitle:(id)fp8 subtitle:(id)fp12 cropButtonTitle:(id)fp16;
201 - (void)_dismissCropOverlay;
202 - (void)_backgroundSavePhoto:(id)fp8;
203 - (void)_savePhoto;
204 - (void)_savePhotoFinished:(id)fp8;
205 - (void)cropOverlayWasCancelled:(id)fp8;
206 - (void)cropOverlayWasOKed:(id)fp8;
207 - (void)_reallyDismissActionMenu;
208 - (void)_dismissActionMenuAndShowButtonBar:(BOOL)fp8;
209 - (void)_showPeoplePicker;
210 - (void)_dismissPeoplePicker;
211 - (void)_dismissPeoplePickerFinished;
212 - (BOOL)peoplePicker:(id)fp8 shouldShowCardForPerson:(void *)fp12;
213 - (void)peoplePickerDidEndPicking:(id)fp8;
214 - (BOOL)_shouldRespondToButtonBarButtons;
215 - (void)playSlideshowClicked:(id)fp8;
216 - (void)deleteImageClicked:(id)fp8;
217 - (void)actionButtonClicked:(id)fp8;
218 - (int)_transitionForButtonClickInDirection:(int)fp8;
219 - (void)leftButtonClicked:(id)fp8;
220 - (void)rightButtonClicked:(id)fp8;
221 - (void)cancelButtonClicked:(id)fp8;
222 - (void)_sendPhotoUsingSelector:(SEL)fp8 delay:(float)fp12;
223 - (void)_showMobileMeErrorWithTitle:(id)fp8 body:(id)fp12;
224 - (void)_showMobileMeAlbums;
225 - (void)mobileMeHelperDidFinishValidatingAlbums:(id)fp8 foundValidAccount:(BOOL)fp12;
226 - (void)mobileMeConnectionFailed:(id)fp8;
227 - (void)_dismissMobileMeView;
228 - (void)_dismissMobileMeViewFinished;
229 - (void)mobileMeView:(id)fp8 selectedAlbum:(id)fp12;
230 - (void)mobileMeViewDidCancel:(id)fp8;
231 - (void)mobileMeClicked;
232 - (struct CGRect)_animationDestinationRectForImageSize:(struct CGSize)fp8;
233 - (void)_performSendViaEmail;
234 - (void)_animateSendToEmail;
235 - (void)didDismissAlertSheet:(id)fp8;
236 - (void)sendViaEmailClicked;
237 - (void)_cameraImageIsReady:(id)fp8;
238 - (void)_setEmailButtonEnabled:(BOOL)fp8;
239 - (void)delaySuspendCountChanged:(id)fp8;
240 - (void)_emailAnimationFinished;
241 - (void)mailComposeController:(id)fp8 loadedAttachments:(id)fp12;
242 - (void)_finishedSlidingUpCompose;
243 - (void)_finishedSlidingDownImage;
244 - (void)mailComposeControllerCompositionFinished:(id)fp8;
245 - (void)_saveEmailDraft;
246 - (void)_restoreEmailDraft;
247 - (BOOL)mailComposeControllerIsEditingDraft:(id)fp8;
248 - (void)_finishedSlidingDownCompose;
249 - (void)_finishedDeliveringEmail:(struct __CFArray *)fp8;
250 - (void)_backgroundDeliverEmail:(struct __CFArray *)fp8;
251 - (void)mailComposeControllerDidAttemptToSend:(id)fp8 outgoingMessageDelivery:(id)fp12;
252 - (void)assignToContactClicked;
253 - (void)_performSetWallpaper;
254 - (void)useAsScreenSaverClicked;
255 - (id)_scrubOverlayTitle;
256 - (void)_showButtonGroup:(int)fp8 withDuration:(int)fp12;
257 - (void)updateStatusBar;
258 - (void)updateButtonBar;
259 - (void)updateOverlays;
260 - (void)_animateAlphaOfView:(id)fp8 startAlpha:(float)fp12 endAlpha:(float)fp16 duration:(float)fp20;
261 - (id)_buttonBarSuperview;
262 - (id)buttonBar;
263 - (void)resetToolbarTimer;
264 - (void)delayToolbarFade;
265 - (void)showSystemStatusBarWithDuration:(float)fp8;
266 - (void)showStatusBarWithDuration:(float)fp8;
267 - (void)showButtonBarWithDuration:(float)fp8;
268 - (void)showOverlaysWithDuration:(float)fp8;
269 - (void)hideOverlays;
270 - (void)_presentAlertSheetWithTitle:(id)fp8 buttonTitles:(id)fp12 defaultButtonIndex:(int)fp16 redButtonIndex:(int)fp20 context:(id)fp24;
271 - (void)_dismissAlertSheet;
272 - (void)alertSheet:(id)fp8 buttonClicked:(int)fp12;
273 - (void)_prepareForTVOut;
274 - (void)_removeTVOutWindow;
275 - (void)startSlideShow;
276 - (void)stopPlaying;
277 - (void)playTimerFired;
278 - (void)togglePlay;
279
280 @end
281