00001
00002
00003
00004
00005
00006
00007 #import "NSObject.h"
00008
00009 @class AlbumsController, BackgroundView, CameraButtonBar, CameraView, LibraryController, MLPhotoAlbum, NSMutableArray, NSString, PLPhotoLibrary, PhotosNavigationItem, SyncProgressView, UIButtonBar, UITransitionView, UIWindow;
00010
00011 @interface PLUIController : NSObject
00012 {
00013 id _delegate;
00014 UIWindow *_window;
00015 struct {
00016 unsigned int showingCamera:1;
00017 unsigned int allowsAlbumSelection:1;
00018 unsigned int allowsPlayingSlideshow:1;
00019 unsigned int allowsFullSizeImageDisplay:1;
00020 unsigned int displayingPhotoPicker:1;
00021 unsigned int allowsZoomingWhenCropping:1;
00022 unsigned int cropPhotoAfterSelection:1;
00023 unsigned int ignoreAccelerometer:1;
00024 unsigned int showCancelInNavBar:1;
00025 unsigned int showingCameraPreview:1;
00026 unsigned int hasAnimatedIrisOnSuspend:1;
00027 unsigned int probablyLowOnDiskSpace:1;
00028 unsigned int dontWarnOfDiskSpace:1;
00029 } _flags;
00030 PLPhotoLibrary *_model;
00031 BackgroundView *_backgroundView;
00032 UITransitionView *_fullScreenTransitionView;
00033 NSMutableArray *_fullScreenViews;
00034 CameraView *_cameraView;
00035 CameraButtonBar *_cameraRollButtonBar;
00036 SyncProgressView *_syncProgressView;
00037 AlbumsController *_albumsController;
00038 LibraryController *_libraryController;
00039 int _fullScreenPopTransition;
00040 PhotosNavigationItem *_fullScreenStatusItem;
00041 UIButtonBar *_fullScreenViewButtonBar;
00042 int _statusBarMode;
00043 int _barStyle;
00044 NSString *_cropTitle;
00045 NSString *_cropSubtitle;
00046 NSString *_cropButtonTitle;
00047 NSMutableArray *_albumsToSelect;
00048 int _testPictureCounter;
00049 MLPhotoAlbum *_selectedAlbum;
00050 int _deviceOrientation;
00051 double _lastFSCheck;
00052 }
00053
00054 + (id)sharedInstance;
00055 + (BOOL)runningPhotosApplication;
00056 - (void)noteFileSystemChanged:(id)fp8;
00057 - (BOOL)hasEnoughDiskToTakeAPicture;
00058 - (BOOL)shouldWarnOfNoDiskSpace;
00059 - (void)warnOfNoDiskSpace;
00060 - (void)alertSheet:(id)fp8 buttonClicked:(int)fp12;
00061 - (id)_retainedNavigationItemForAlbum:(id)fp8;
00062 - (void)_hideNavBarWithDuration:(float)fp8 showFullScreenNavBar:(BOOL)fp12;
00063 - (void)_showNavBar;
00064 - (void)_fadeNavBarOutWithItem:(id)fp8 transition:(int)fp12;
00065 - (void)_fadeNavBarIn;
00066 - (void)_transitionToFullScreenView:(id)fp8 withTransition:(int)fp12 showOverlayNavBar:(BOOL)fp16;
00067 - (void)_transitionCompletedFromView:(id)fp8 toView:(id)fp12 transitionView:(id)fp16;
00068 - (void)_setShowSyncUI:(BOOL)fp8;
00069 - (void)syncingHasBeenUnblockedBySB;
00070 - (void)iTunesSyncRequestedStart;
00071 - (void)iTunesSyncHasCompleted:(int)fp8;
00072 - (id)init;
00073 - (void)dealloc;
00074 - (id)mainWindow;
00075 - (void)setMainWindow:(id)fp8;
00076 - (id)defaultPNGName;
00077 - (BOOL)isVisible;
00078 - (void)setDelegate:(id)fp8;
00079 - (id)contentViewWithFrame:(struct CGRect)fp8;
00080 - (id)albumsController;
00081 - (id)libraryController;
00082 - (id)currentConfiguration;
00083 - (void)setCurrentConfiguration:(id)fp8;
00084 - (BOOL)allowsAlbumSelection;
00085 - (void)setAllowsAlbumSelection:(BOOL)fp8;
00086 - (int)statusBarMode;
00087 - (void)setStatusBarMode:(int)fp8;
00088 - (int)barStyle;
00089 - (void)setBarStyle:(int)fp8;
00090 - (BOOL)allowsPlayingSlideshow;
00091 - (void)setAllowsPlayingSlideshow:(BOOL)fp8;
00092 - (BOOL)allowsFullSizeImageDisplay;
00093 - (void)setAllowsFullSizeImageDisplay:(BOOL)fp8;
00094 - (BOOL)allowsZoomingWhenCropping;
00095 - (void)setAllowsZoomingWhenCropping:(BOOL)fp8;
00096 - (int)allowedImageViewGestures;
00097 - (BOOL)displayingPhotoPicker;
00098 - (void)setDisplayingPhotoPicker:(BOOL)fp8;
00099 - (BOOL)showCancelButtonInNavigationBar;
00100 - (void)setShowCancelButtonInNavigationBar:(BOOL)fp8;
00101 - (BOOL)cropPhotoAfterSelection;
00102 - (void)setCropPhotoAfterSelection:(BOOL)fp8;
00103 - (id)cropTitle;
00104 - (id)cropSubtitle;
00105 - (id)cropButtonTitle;
00106 - (void)setCropTitle:(id)fp8 subtitle:(id)fp12 cropButtonTitle:(id)fp16;
00107 - (void)photoWasCroppedToRect:(struct CGRect)fp8 fullSizeImageData:(id)fp24 fullScreenImageData:(id)fp28 croppedImageData:(id)fp32 imageView:(id)fp36;
00108 - (void)cancelButtonClicked;
00109 - (void)imageWasSelected:(id)fp8;
00110 - (int)_statusBarOrientationForDeviceOrientation:(int)fp8;
00111 - (int)deviceOrientation;
00112 - (void)setDeviceOrientation:(int)fp8;
00113 - (BOOL)isLandscape;
00114 - (BOOL)ignoreAccelerometer;
00115 - (void)setIgnoreAccelerometer:(BOOL)fp8;
00116 - (BOOL)showingCameraPreview;
00117 - (BOOL)showCamera;
00118 - (void)setShowCamera:(BOOL)fp8;
00119 - (id)selectedAlbum;
00120 - (void)setSelectedAlbum:(id)fp8;
00121 - (id)viewForNavigationItem:(id)fp8;
00122 - (void)popToLibraryView;
00123 - (void)backgroundViewCompletedTransition;
00124 - (void)pushNavigationItem:(id)fp8;
00125 - (void)popNavigationItem;
00126 - (id)albumScroller;
00127 - (id)cameraButtonBar;
00128 - (void)slidePhotoIndexUp:(id)fp8;
00129 - (void)slidePhotoIndexUpFinished;
00130 - (BOOL)wantsToAnimateIrisOnSuspend;
00131 - (void)animateIrisOnSuspend;
00132 - (void)irisCloseToPhotos:(id)fp8;
00133 - (void)finishedIrisClose;
00134 - (void)switchToCamera:(id)fp8;
00135 - (void)switchToCameraFinished;
00136 - (void)cameraFinishedTakingPicture;
00137 - (void)cameraShutterClicked:(id)fp8;
00138 - (void)timerButtonClicked:(id)fp8;
00139 - (void)playSlideshow;
00140 - (void)transitionViewDidComplete:(id)fp8 fromView:(id)fp12 toView:(id)fp16;
00141 - (void)transitionToFullScreenView:(id)fp8 withTransition:(int)fp12;
00142 - (void)popFullScreenView;
00143 - (struct CGRect)fullScreenRect;
00144 - (BOOL)backgroundShouldAnimateTransition;
00145 - (id)backgroundView;
00146 - (double)durationForTransition:(int)fp8;
00147 - (void)navigationBar:(id)fp8 poppedItem:(id)fp12;
00148 - (void)navigationBar:(id)fp8 buttonClicked:(int)fp12;
00149 - (void)navigationItemWasPopped:(id)fp8;
00150 - (id)topNavigationItem;
00151 - (void)setFullScreenStatus:(id)fp8;
00152 - (void)runAlbumSelectionTest;
00153 - (void)runTakePictureTest:(int)fp8;
00154
00155 @end
00156