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