/*
 *     Generated by class-dump 3.1.2.
 *
 *     class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2007 by Steve Nygard.
 */

struct CGColor;

struct CGImage;

struct CGPath;

struct CGPoint {
    float x;
    float y;
};

struct CGRect {
    struct CGPoint origin;
    struct CGSize size;
};

struct CGSize {
    float width;
    float height;
};

struct CPRecord;

struct CameraDevice;

struct CameraImageQueueHelper;

struct __CFArray;

struct __CFData;

struct __CFDictionary;

struct __CoreSurfaceBuffer;

struct __GSEvent;

struct __GSFont;

typedef struct {
    int _field1;
    int _field2;
    id _field3;
    id _field4;
    float _field5;
    int _field6;
    SEL _field7;
    id _field8;
} CDAnonymousStruct1;

/*
 * File: System/Library/Frameworks/PhotoLibrary.framework/PhotoLibrary
 *       Current version: 1.0.0, Compatibility version: 1.0.0
 */

@interface PLPhotoPicker : UIView
{
    id _delegate;
    PLUIController *_uiController;
    UIView *_contentView;
    UIView *_syncingContentView;
    PLCropOverlay *_cropOverlay;
    PLImageTile *_imageTile;
    UIAnimation *_throwAnimation;
    NSString *_progressLabel;
    NSDictionary *_customCropTitles;
    struct {
        unsigned int customAllowsAlbumSelectionFlagInfo:2;
        unsigned int customAllowsPlayingSlideshowFlagInfo:2;
        unsigned int customAllowsFullSizeImageDisplayFlagInfo:2;
        unsigned int customAllowsZoomingWhenCroppingFlagInfo:2;
        unsigned int customCropPhotoAfterSelectionFlagInfo:2;
        unsigned int customShowCropUI:2;
        unsigned int customShowCamera:2;
        unsigned int syncing:1;
        unsigned int cancel:1;
        unsigned int unused:16;
    } _ppBitfields;
}

- (id)initWithFrame:(struct CGRect)fp8;
- (void)dealloc;
- (void)setAllowsAlbumSelection:(BOOL)fp8;
- (void)setAllowsPlayingSlideshow:(BOOL)fp8;
- (void)setAllowsFullSizeImageDisplay:(BOOL)fp8;
- (void)setAllowsZoomingWhenCropping:(BOOL)fp8;
- (void)setCropPhotoAfterSelection:(BOOL)fp8;
- (void)setCropTitle:(id)fp8 subtitle:(id)fp12 cropButtonTitle:(id)fp16;
- (BOOL)showCamera;
- (void)setShowCamera:(BOOL)fp8;
- (void)setProgressLabel:(id)fp8;
- (void)willHide;
- (void)setDelegate:(id)fp8;
- (id)delegate;
- (void)_loadSyncUI;
- (void)_tearDownSyncUI;
- (void)_cacheUIControllerSettings;
- (void)_loadPickerUI;
- (void)_tearDownPickerUI;
- (void)navigationBar:(id)fp8 buttonClicked:(int)fp12;
- (void)_syncDidStart;
- (void)_syncDidEnd;
- (void)syncingHasBeenUnblockedBySB;
- (void)iTunesSyncRequestedStart;
- (void)iTunesSyncHasCompleted:(int)fp8;
- (void)cameraAlbumDidChange;
- (void)cancelButtonClicked;
- (void)imageWasSelected:(id)fp8;
- (void)cancelThrow:(id)fp8;
- (void)hopFinished:(id)fp8;
- (void)photoWasCroppedToRect:(struct CGRect)fp8 fullSizeImageData:(id)fp24 fullScreenImageData:(id)fp28 croppedImageData:(id)fp32 imageView:(id)fp36;
- (void)showCropUI;
- (void)setFullSizeImageData:(id)fp8 cropRect:(struct CGRect)fp12;
- (void)setFullSizeImage:(struct CGImage *)fp8 cropRect:(struct CGRect)fp12 orientation:(int)fp28;
- (void)willStartGesture:(int)fp8 inView:(id)fp12 forEvent:(struct __GSEvent *)fp16;
- (void)cropOverlayWasCancelled:(id)fp8;
- (void)cropOverlayWasOKed:(id)fp8;
- (void)_backgroundSavePhoto;
- (void)_savePhotoFinished:(id)fp8;

@end

@interface HopAnimation : UIFrameAnimation
{
    struct CGPoint _startMid;
    struct CGPoint _endMid;
    struct CGPoint _control1;
    struct CGPoint _control2;
    float _aX;
    float _bX;
    float _cX;
    float _aY;
    float _bY;
    float _cY;
    double _cumulativeTime;
}

- (void)updateControlPoints;
- (void)setStartFrame:(struct CGRect)fp8;
- (void)setEndFrame:(struct CGRect)fp8;
- (void)setProgress:(float)fp8;
- (double)cumulativeTime;

@end

@interface UIView (PhotosCGPathUtilities)
+ (void)calculateControlPointsFromMidpoint:(struct CGPoint)fp8 toMidpoint:(struct CGPoint)fp16 controlPoint1:(struct CGPoint *)fp24 controlPoint2:(struct CGPoint *)fp28;
+ (void)addCurveToPath:(struct CGPath *)fp8 fromRect:(struct CGRect)fp12 toRect:(struct CGRect)fp28 swapControlPoints:(BOOL)fp44;
@end

@interface UIApplication (PLPPAdditions)
+ (id)pickerBundle;
+ (void)setPickerBundle:(id)fp8;
@end

@interface PLUIController : NSObject
{
    id _delegate;
    UIWindow *_window;
    struct {
        unsigned int showingCamera:1;
        unsigned int allowsAlbumSelection:1;
        unsigned int allowsPlayingSlideshow:1;
        unsigned int allowsFullSizeImageDisplay:1;
        unsigned int displayingPhotoPicker:1;
        unsigned int allowsZoomingWhenCropping:1;
        unsigned int cropPhotoAfterSelection:1;
        unsigned int ignoreAccelerometer:1;
        unsigned int showCancelInNavBar:1;
        unsigned int showingCameraPreview:1;
        unsigned int hasAnimatedIrisOnSuspend:1;
        unsigned int probablyLowOnDiskSpace:1;
        unsigned int dontWarnOfDiskSpace:1;
    } _flags;
    PLPhotoLibrary *_model;
    BackgroundView *_backgroundView;
    UITransitionView *_fullScreenTransitionView;
    NSMutableArray *_fullScreenViews;
    CameraView *_cameraView;
    CameraButtonBar *_cameraRollButtonBar;
    SyncProgressView *_syncProgressView;
    AlbumsController *_albumsController;
    LibraryController *_libraryController;
    int _fullScreenPopTransition;
    PhotosNavigationItem *_fullScreenStatusItem;
    UIButtonBar *_fullScreenViewButtonBar;
    int _statusBarMode;
    int _barStyle;
    NSString *_cropTitle;
    NSString *_cropSubtitle;
    NSString *_cropButtonTitle;
    NSMutableArray *_albumsToSelect;
    int _testPictureCounter;
    MLPhotoAlbum *_selectedAlbum;
    int _deviceOrientation;
    double _lastFSCheck;
}

+ (id)sharedInstance;
+ (BOOL)runningPhotosApplication;
- (void)noteFileSystemChanged:(id)fp8;
- (BOOL)hasEnoughDiskToTakeAPicture;
- (BOOL)shouldWarnOfNoDiskSpace;
- (void)warnOfNoDiskSpace;
- (void)alertSheet:(id)fp8 buttonClicked:(int)fp12;
- (id)_retainedNavigationItemForAlbum:(id)fp8;
- (void)_hideNavBarWithDuration:(float)fp8 showFullScreenNavBar:(BOOL)fp12;
- (void)_showNavBar;
- (void)_fadeNavBarOutWithItem:(id)fp8 transition:(int)fp12;
- (void)_fadeNavBarIn;
- (void)_transitionToFullScreenView:(id)fp8 withTransition:(int)fp12 showOverlayNavBar:(BOOL)fp16;
- (void)_transitionCompletedFromView:(id)fp8 toView:(id)fp12 transitionView:(id)fp16;
- (void)_setShowSyncUI:(BOOL)fp8;
- (void)syncingHasBeenUnblockedBySB;
- (void)iTunesSyncRequestedStart;
- (void)iTunesSyncHasCompleted:(int)fp8;
- (id)init;
- (void)dealloc;
- (id)mainWindow;
- (void)setMainWindow:(id)fp8;
- (id)defaultPNGName;
- (BOOL)isVisible;
- (void)setDelegate:(id)fp8;
- (id)contentViewWithFrame:(struct CGRect)fp8;
- (id)albumsController;
- (id)libraryController;
- (id)currentConfiguration;
- (void)setCurrentConfiguration:(id)fp8;
- (BOOL)allowsAlbumSelection;
- (void)setAllowsAlbumSelection:(BOOL)fp8;
- (int)statusBarMode;
- (void)setStatusBarMode:(int)fp8;
- (int)barStyle;
- (void)setBarStyle:(int)fp8;
- (BOOL)allowsPlayingSlideshow;
- (void)setAllowsPlayingSlideshow:(BOOL)fp8;
- (BOOL)allowsFullSizeImageDisplay;
- (void)setAllowsFullSizeImageDisplay:(BOOL)fp8;
- (BOOL)allowsZoomingWhenCropping;
- (void)setAllowsZoomingWhenCropping:(BOOL)fp8;
- (int)allowedImageViewGestures;
- (BOOL)displayingPhotoPicker;
- (void)setDisplayingPhotoPicker:(BOOL)fp8;
- (BOOL)showCancelButtonInNavigationBar;
- (void)setShowCancelButtonInNavigationBar:(BOOL)fp8;
- (BOOL)cropPhotoAfterSelection;
- (void)setCropPhotoAfterSelection:(BOOL)fp8;
- (id)cropTitle;
- (id)cropSubtitle;
- (id)cropButtonTitle;
- (void)setCropTitle:(id)fp8 subtitle:(id)fp12 cropButtonTitle:(id)fp16;
- (void)photoWasCroppedToRect:(struct CGRect)fp8 fullSizeImageData:(id)fp24 fullScreenImageData:(id)fp28 croppedImageData:(id)fp32 imageView:(id)fp36;
- (void)cancelButtonClicked;
- (void)imageWasSelected:(id)fp8;
- (int)_statusBarOrientationForDeviceOrientation:(int)fp8;
- (int)deviceOrientation;
- (void)setDeviceOrientation:(int)fp8;
- (BOOL)isLandscape;
- (BOOL)ignoreAccelerometer;
- (void)setIgnoreAccelerometer:(BOOL)fp8;
- (BOOL)showingCameraPreview;
- (BOOL)showCamera;
- (void)setShowCamera:(BOOL)fp8;
- (id)selectedAlbum;
- (void)setSelectedAlbum:(id)fp8;
- (id)viewForNavigationItem:(id)fp8;
- (void)popToLibraryView;
- (void)backgroundViewCompletedTransition;
- (void)pushNavigationItem:(id)fp8;
- (void)popNavigationItem;
- (id)albumScroller;
- (id)cameraButtonBar;
- (void)slidePhotoIndexUp:(id)fp8;
- (void)slidePhotoIndexUpFinished;
- (BOOL)wantsToAnimateIrisOnSuspend;
- (void)animateIrisOnSuspend;
- (void)irisCloseToPhotos:(id)fp8;
- (void)finishedIrisClose;
- (void)switchToCamera:(id)fp8;
- (void)switchToCameraFinished;
- (void)cameraFinishedTakingPicture;
- (void)cameraShutterClicked:(id)fp8;
- (void)timerButtonClicked:(id)fp8;
- (void)playSlideshow;
- (void)transitionViewDidComplete:(id)fp8 fromView:(id)fp12 toView:(id)fp16;
- (void)transitionToFullScreenView:(id)fp8 withTransition:(int)fp12;
- (void)popFullScreenView;
- (struct CGRect)fullScreenRect;
- (BOOL)backgroundShouldAnimateTransition;
- (id)backgroundView;
- (double)durationForTransition:(int)fp8;
- (void)navigationBar:(id)fp8 poppedItem:(id)fp12;
- (void)navigationBar:(id)fp8 buttonClicked:(int)fp12;
- (void)navigationItemWasPopped:(id)fp8;
- (id)topNavigationItem;
- (void)setFullScreenStatus:(id)fp8;
- (void)runAlbumSelectionTest;
- (void)runTakePictureTest:(int)fp8;

@end

@interface PhotosNavigationItem : UINavigationItem
{
    int _barStyle;
}

- (int)barStyle;
- (void)setBarStyle:(int)fp8;

@end

@interface UINavigationBar (PrivateMethodsForTesting)
- (int)__animationState;
@end

@interface LibraryController : NSObject
{
    LibraryView *_libraryView;
    UITextField *_nameField;
}

- (struct CGSize)_layerSize;
- (void)dealloc;
- (void)storeCurrentConfiguration:(id)fp8;
- (void)loadCurrentConfiguration:(id)fp8;
- (void)reloadLibrary;
- (id)libraryView;
- (void)selectAlbum:(id)fp8;

@end

@interface LibraryTableCell : UIImageAndTextTableCell
{
    UITextLabel *_countLabel;
}

+ (struct __GSFont *)defaultTitleFont;
- (id)initWithSize:(struct CGSize)fp8 value:(id)fp16 image:(id)fp20;
- (void)dealloc;
- (struct CGPoint)iconInset;
- (void)updateHighlightColors;
- (void)layoutSubviews;
- (void)setPhotoCount:(int)fp8;

@end

@interface LibraryView : UIView
{
    LibraryController *_libraryController;
    NSArray *_albums;
    SelectableTable *_table;
    EmptyAlbumView *_emptyLibraryView;
}

- (BOOL)_hasContent;
- (void)_updateInterface;
- (void)_pictureWasTaken:(id)fp8;
- (void)_pictureWasDeleted:(id)fp8;
- (float)_padding;
- (void)_updateTableScrollRect;
- (id)initWithFrame:(struct CGRect)fp8 libraryController:(id)fp24;
- (void)dealloc;
- (void)cameraAlbumDidChange;
- (void)statusBarHeightDidChange:(id)fp8;
- (void)storeCurrentConfiguration:(id)fp8;
- (void)loadCurrentConfiguration:(id)fp8;
- (void)setAlbums:(id)fp8;
- (void)viewWillBeDisplayed;
- (void)updateButtonBar:(id)fp8 duration:(float)fp12;
- (int)numberOfRowsInTable:(id)fp8;
- (id)table:(id)fp8 cellForRow:(int)fp12 column:(id)fp16;
- (void)tableSelectionDidChange:(id)fp8;

@end

@interface BackgroundView : UIView
{
    UINavigationBar *_navBar;
    int _barStyle;
    UITransitionView *_contentTransitionView;
    UIButtonBar *_overlayButtonBar;
    UIView *_currentContentView;
    id _delegate;
}

- (int)barStyle;
- (void)_setupButtonBars;
- (id)initWithSize:(struct CGSize)fp8 fullScreen:(BOOL)fp16;
- (void)dealloc;
- (void)statusBarHeightDidChange:(id)fp8;
- (void)setDelegate:(id)fp8;
- (void)setDisplayingPhotoPicker:(BOOL)fp8;
- (void)setCurrentContentView:(id)fp8;
- (void)transitionViewDidComplete:(id)fp8;
- (void)updateStatusBar;
- (id)navigationBar;
- (void)pushNavigationItem:(id)fp8;
- (void)popNavigationItem;
- (id)topItem;
- (void)navigationBar:(id)fp8 pushedItem:(id)fp12;
- (void)navigationBar:(id)fp8 poppedItem:(id)fp12;
- (void)navigationBar:(id)fp8 buttonClicked:(int)fp12;
- (id)buttonBar;
- (id)buttonBarForItem:(id)fp8;
- (void)playSlideshowClicked:(id)fp8;
- (void)cancelButtonClicked:(id)fp8;

@end

@interface SelectableTable : UITable
{
    BOOL _allowsCellSelection;
    UITableCell *_selectedCell;
}

- (BOOL)_canDrawContent;
- (void)dealloc;
- (void)setAllowsCellSelection:(BOOL)fp8;
- (void)selectRow:(int)fp8 byExtendingSelection:(BOOL)fp12;
- (void)highlightView:(id)fp8 state:(BOOL)fp12;

@end

@interface PhotosButtonBar : UIButtonBar
{
}

+ (id)backgroundImage;
+ (float)defaultHeight;
- (id)initInView:(id)fp8 withItems:(CDAnonymousStruct1 *)fp12 withCount:(int)fp16;
- (void)drawRect:(struct CGRect)fp8;

@end

@interface AlbumsController : NSObject
{
    MLPhotoAlbum *_album;
    AlbumView *_albumView;
    struct __CFDictionary *_tileCache;
    AlbumScroller *_scroller;
    ImageTileView *_tiledView;
    EmptyAlbumView *_emptyCameraView;
    UIView *_fadeToBlackView;
    UITransitionView *_slideshowTransitionView;
    UITransitionView *_cameraTransitionView;
    struct __CFArray *_imageIndexes;
    unsigned int _currentIndex;
    unsigned int _deletedIndex;
    int _deviceOrientation;
    int _slideshowStatus;
    BOOL _tvOutOn;
    BOOL _beingRotated;
    BOOL _ignoreGestures;
    BOOL _animating;
    BOOL _performActionAfterOrientationChange;
    BOOL _updateRotationAfterGestures;
    BOOL _resumeSlideshowAfterRotation;
    int _directionToMoveAfterSmoothScrollCompletes;
    double _lastButtonClickTime;
    int _lastActionMenuButtonIndex;
    struct CGSize _contentStartSize;
    float _startDegrees;
    float _startScale;
    float _endScale;
    UIButtonBar *_buttonBar;
    UIAlertSheet *_alertSheet;
    UIAlertSheet *_popupAlert;
    UIAlertSheet *_actionView;
    UIProgressHUD *_savingPhotoHud;
    NSTimer *_toolbarTimer;
    NSTimer *_playTimer;
    NSTimer *_scrubTimer;
    BOOL _scrubbingTopSpeed;
    BOOL _scrubbingStarted;
    PLCropOverlay *_cropOverlay;
    MailComposeController *_composeController;
    UIImageView *_emailAnimationView;
    struct CGRect _emailAnimationDestinationRect;
    struct __CFData *_emailImageData;
    BOOL _animateToShowComposeWindow;
    BOOL _emailButtonEnabled;
    BOOL _emailDeliveryFailed;
    NSString *_emailErrorTitle;
    NSString *_emailErrorDescription;
    SEL _emailPhotoAction;
    ABPeoplePicker *_picker;
    struct CPRecord *_person;
    MobileMeHelper *_mobileMeHelper;
    MobileMeView *_mobileMeView;
    NSString *_mobileMeAlbumName;
    NSString *_mobileMeEmailAddress;
    UIView *_fromView;
    UIView *_toView;
    int _imageScrollerLastSmoothScrollDirection;
    double _lastRubberbandScrollTime;
    UIWindow *_tvOutWindow;
    UIView *_tvOutContentView;
    AlbumScroller *_tvOutScroller;
    ImageTileView *_tvOutTiledView;
    struct __CFDictionary *_tvOutTileCache;
    UITransitionView *_tvOutTransitionView;
    UIView *_tvOutFromView;
    UIView *_tvOutToView;
}

- (void)_resetIndexArrayStartingWithIndex:(int)fp8 shuffleImages:(BOOL)fp12 keepPhotoAtStartingIndex:(BOOL)fp16;
- (void)_clearFullScreenView;
- (void)_fadeOut;
- (void)_fadeIn;
- (BOOL)_albumScrollerIsVisible;
- (id)_retainedImageViewForModelImage:(id)fp8;
- (id)_scrollerForImageView:(id)fp8 size:(struct CGSize)fp12;
- (void)_preloadImage:(id)fp8 albumImageIndex:(int)fp12 cache:(struct __CFDictionary *)fp16;
- (void)_preloadImage:(id)fp8 albumImageIndex:(int)fp12;
- (id)_imageScrollerForIndex:(int)fp8 image:(id)fp12 tileCache:(struct __CFDictionary *)fp16;
- (id)_imageScrollerForIndex:(int)fp8 image:(id)fp12;
- (int)_albumImageIndexForTileIndex:(int)fp8;
- (int)_currentIndexFromScrollPosition;
- (void)_configureScroller:(id *)fp8 tiledView:(id *)fp12;
- (void)_pictureWasTaken:(id)fp8;
- (void)_startSlideshowTimer;
- (void)_cancelSlideshowTimer;
- (void)_cancelToolbarTimer;
- (int)_allowedRotationGesture;
- (void)_setZoomAndRotationEnabled:(BOOL)fp8;
- (void)_clearTileCache;
- (id)_modelImageForIndex:(int)fp8;
- (void)cameraAlbumDidChange;
- (BOOL)_canEmailPhoto;
- (void)_capabilitiesChanged;
- (id)init;
- (void)dealloc;
- (void)_resizeViewForStatusBarHeightChange:(id)fp8;
- (void)statusBarHeightDidChange:(id)fp8;
- (void)_showOverlaysForResume;
- (void)applicationResumed:(id)fp8;
- (void)applicationSuspended:(id)fp8;
- (void)applicationWillBeginSuspendAnimation:(id)fp8;
- (void)storeCurrentConfiguration:(id)fp8;
- (void)loadCurrentConfiguration:(id)fp8;
- (void)setAlbumScrollerEnabled:(BOOL)fp8;
- (BOOL)isBeingRotated;
- (void)setBeingRotated:(BOOL)fp8;
- (id)album;
- (void)setAlbum:(id)fp8;
- (id)_albumView;
- (id)albumView;
- (id)albumScroller;
- (void)scrollCurrentImageToVisible;
- (void)animateToIndex;
- (double)durationForTransition:(int)fp8;
- (void)transitionViewDidComplete:(id)fp8 fromView:(id)fp12 toView:(id)fp16;
- (void)transitionToFullScreenDidComplete;
- (void)transitionToFullScreenImage:(id)fp8;
- (void)playSlideshow;
- (void)fadeOutAnimation:(id)fp8 finished:(id)fp12;
- (void)fadeInAnimation:(id)fp8 finished:(id)fp12;
- (void)_cleanseCache:(struct __CFDictionary **)fp8 albumImageIndex:(int)fp12;
- (void)_updateTVOutOffset;
- (void)updateAfterAnimation;
- (BOOL)canShowNextImage;
- (BOOL)canShowPreviousImage;
- (id)currentImage;
- (id)nextImage;
- (id)previousImage;
- (void)_transitionToImage:(id)fp8 fromOldIndex:(int)fp12 toNewIndex:(int)fp16 transition:(int)fp20 transitionView:(id)fp24;
- (void)_transitionToImage:(id)fp8 fromOldIndex:(int)fp12 toNewIndex:(int)fp16 transition:(int)fp20;
- (void)animationDidStop:(id)fp8 finished:(BOOL)fp12;
- (void)_runLKTransition:(id)fp8 transitionView:(id)fp12 fromView:(id)fp16 toView:(id)fp20;
- (void)_runLKTransition:(id)fp8;
- (void)showNextImageWithTransition:(int)fp8;
- (void)showPreviousImageWithTransition:(int)fp8;
- (void)finishDelete;
- (void)prepareDeleteImageWithNextSlide;
- (void)prepareDeleteImagePreviousSlide;
- (void)openTrash;
- (void)didFinishSuckingToTrash:(id)fp8 finished:(id)fp12 context:(void *)fp16;
- (void)suckToTrash:(id)fp8 transitionParent:(id)fp12;
- (void)prepareForSucking;
- (void)deleteCurrentImage;
- (void)buttonBar:(id)fp8 didFinishAnimation:(int)fp12 forButton:(int)fp16;
- (void)_flushTileCache;
- (void)_removeTileCacheEntryForAlbumImageIndex:(int)fp8;
- (void)_updateRotationView:(id)fp8 imageView:(id)fp12 forCreate:(BOOL)fp16;
- (void)tileView:(id)fp8 createdTile:(id)fp12;
- (void)tileWasRemoved:(id)fp8;
- (void)tileWillBeDisplayed:(id)fp8;
- (void)albumScrollerDidEndSmoothScroll;
- (void)scrollerWillStartSmoothScrolling:(id)fp8;
- (void)albumScrollerWillStartTrackingMouse:(id)fp8;
- (void)albumScrollerFinishedScroll:(id)fp8;
- (void)albumScrollerCanceledScroll:(id)fp8;
- (int)deviceOrientationForTrackingInScroller:(id)fp8;
- (void)scrollerWillStartDragging:(id)fp8;
- (void)scrollerDidEndDragging:(id)fp8;
- (void)handleSingleTap:(struct __GSEvent *)fp8;
- (id)imageScrollerSiblingForDirection:(int)fp8;
- (void)view:(id)fp8 handleTapWithCount:(int)fp12 event:(struct __GSEvent *)fp16 fingerCount:(int)fp20;
- (void)viewHandleTouchPause:(id)fp8 isDown:(BOOL)fp12;
- (float)_rotationDegreesForDeviceRotation:(int)fp8;
- (float)_rotationDegreesToAchieveDeviceRotation:(int)fp8;
- (void)_setDeviceOrientation:(int)fp8 force:(BOOL)fp12;
- (void)orientationChanged:(id)fp8;
- (void)_configureScrollerOrientation;
- (void)_updateRotationAfterGestures;
- (void)willStartGesturesInView:(id)fp8 forEvent:(struct __GSEvent *)fp12;
- (void)willStartGesture:(int)fp8 inView:(id)fp12 forEvent:(struct __GSEvent *)fp16;
- (void)gestureDidChange:(int)fp8 inView:(id)fp12 forEvent:(struct __GSEvent *)fp16;
- (int)_deviceOrientationAfterRotatingByDegrees:(float)fp8;
- (void)didFinishGesture:(int)fp8 inView:(id)fp12 forEvent:(struct __GSEvent *)fp16;
- (void)imageViewWillSwitchToFullSizeImage:(id)fp8;
- (void)imageViewDidSwitchToFullSizeImage:(id)fp8;
- (void)_cancelScrubTimer;
- (void)_resetScrubTimerForDirection:(int)fp8;
- (void)_scrubTimerFired:(id)fp8;
- (void)_stopScrubbing:(id)fp8;
- (void)_handleDirectionButtonMouseDown:(id)fp8 direction:(int)fp12;
- (void)mouseDownInLeftButton:(id)fp8;
- (void)mouseDownInRightButton:(id)fp8;
- (void)_showCropOverlayWithTitle:(id)fp8 subtitle:(id)fp12 cropButtonTitle:(id)fp16;
- (void)_dismissCropOverlay;
- (void)_backgroundSavePhoto:(id)fp8;
- (void)_savePhoto;
- (void)_savePhotoFinished:(id)fp8;
- (void)cropOverlayWasCancelled:(id)fp8;
- (void)cropOverlayWasOKed:(id)fp8;
- (void)_reallyDismissActionMenu;
- (void)_dismissActionMenuAndShowButtonBar:(BOOL)fp8;
- (void)_showPeoplePicker;
- (void)_dismissPeoplePicker;
- (void)_dismissPeoplePickerFinished;
- (BOOL)peoplePicker:(id)fp8 shouldShowCardForPerson:(struct CPRecord *)fp12;
- (void)peoplePickerDidEndPicking:(id)fp8;
- (BOOL)_shouldRespondToButtonBarButtons;
- (void)playSlideshowClicked:(id)fp8;
- (void)deleteImageClicked:(id)fp8;
- (void)actionButtonClicked:(id)fp8;
- (int)_transitionForButtonClickInDirection:(int)fp8;
- (void)leftButtonClicked:(id)fp8;
- (void)rightButtonClicked:(id)fp8;
- (void)cancelButtonClicked:(id)fp8;
- (void)_sendPhotoUsingSelector:(SEL)fp8 delay:(float)fp12;
- (void)_showMobileMeAlbums;
- (void)mobileMeHelperDidFinishValidatingAlbums:(id)fp8 foundValidAccount:(BOOL)fp12;
- (void)mobileMeConnectionFailed:(id)fp8;
- (void)_dismissMobileMeView;
- (void)_dismissMobileMeViewFinished;
- (void)mobileMeView:(id)fp8 selectedAlbum:(id)fp12;
- (void)mobileMeViewDidCancel:(id)fp8;
- (void)mobileMeClicked;
- (struct CGRect)_animationDestinationRectForImageSize:(struct CGSize)fp8;
- (void)_performSendViaEmail;
- (void)_animateSendToEmail;
- (void)didDismissAlertSheet:(id)fp8;
- (void)sendViaEmailClicked;
- (void)_cameraImageIsReady:(id)fp8;
- (void)_setEmailButtonEnabled:(BOOL)fp8;
- (void)delaySuspendCountChanged:(id)fp8;
- (void)_emailAnimationFinished;
- (void)mailComposeController:(id)fp8 loadedAttachments:(id)fp12;
- (void)_finishedSlidingUpCompose;
- (void)_finishedSlidingDownImage;
- (void)mailComposeControllerCompositionFinished:(id)fp8;
- (void)_saveEmailDraft;
- (void)_restoreEmailDraft;
- (BOOL)mailComposeControllerIsEditingDraft:(id)fp8;
- (void)_finishedSlidingDownCompose;
- (void)_finishedDeliveringEmail:(struct __CFArray *)fp8;
- (void)_backgroundDeliverEmail:(struct __CFArray *)fp8;
- (void)mailComposeControllerDidAttemptToSend:(id)fp8 mailDelivery:(id)fp12;
- (void)assignToContactClicked;
- (void)_performSetWallpaper;
- (void)useAsScreenSaverClicked;
- (id)_scrubOverlayTitle;
- (void)_showButtonGroup:(int)fp8 withDuration:(int)fp12;
- (void)updateStatusBar;
- (void)updateButtonBar;
- (void)updateOverlays;
- (void)_animateAlphaOfView:(id)fp8 startAlpha:(float)fp12 endAlpha:(float)fp16 duration:(float)fp20;
- (id)_buttonBarSuperview;
- (id)buttonBar;
- (void)resetToolbarTimer;
- (void)delayToolbarFade;
- (void)showSystemStatusBarWithDuration:(float)fp8;
- (void)showStatusBarWithDuration:(float)fp8;
- (void)showButtonBarWithDuration:(float)fp8;
- (void)showOverlaysWithDuration:(float)fp8;
- (void)hideOverlays;
- (void)_presentAlertSheetWithTitle:(id)fp8 buttonTitles:(id)fp12 defaultButtonIndex:(int)fp16 redButtonIndex:(int)fp20 context:(id)fp24;
- (void)_dismissAlertSheet;
- (void)alertSheet:(id)fp8 buttonClicked:(int)fp12;
- (void)_prepareForTVOut;
- (void)_removeTVOutWindow;
- (void)startSlideShow;
- (void)stopPlaying;
- (void)playTimerFired;
- (void)togglePlay;

@end

@interface TransitionContainerView : UIView
{
    PLImageScroller *_scroller;
}

- (id)scroller;
- (void)setRotationView:(id)fp8 scroller:(id)fp12;

@end

@interface PortraitAlertSheet : UIAlertSheet
{
}

- (BOOL)requiresPortraitOrientation;

@end

@interface CameraAlbum : MLPhotoAlbum
{
    MLPhotoDCIMDirectory *_dcimDirectory;
}

+ (id)sharedInstance;
+ (void)clearSharedInstance;
- (id)init;
- (void)dealloc;
- (void)dcimContentsDidChange;
- (id)name;
- (id)images;
- (unsigned int)count;
- (id)posterImage;
- (BOOL)addImage:(id)fp8 withPreview:(id)fp12 exifProperties:(id)fp16 date:(id)fp20 jpegData:(struct __CFData *)fp24;
- (void)deleteImageAtIndex:(int)fp8;

@end

@interface CameraImage : MLPhoto
{
    MLPhotoDCFFileGroup *_fileGroup;
}

+ (void)setMaxImageSize:(int)fp8;
+ (int)imageIDForFileGroup:(id)fp8;
- (id)initWithDCFFileGroup:(id)fp8;
- (void)dealloc;
- (id)fileGroup;
- (void)fileGroupWillBeginSaving:(id)fp8;
- (void)fileGroupDidFinishSaving:(id)fp8;
- (int)compare:(id)fp8;
- (id)description;
- (id)thumbnailImage;
- (struct CGImage *)_createCGImageForFormat:(int)fp8 orientation:(int *)fp12;
- (struct CGImage *)createFullScreenCGImageRef:(int *)fp8;
- (struct CGImage *)createLowResolutionFullScreenCGImageRef;
- (void)deleteFiles;

@end

@interface CameraView : UIView
{
    UIButtonBar *_cameraButtonBar;
    int _availablePictureCount;
    int _captureOrientation;
    BOOL _manipulatingCrop;
    UIView *_fourByThreeBackstop;
    CameraController *_cameraController;
    UIView *_previewView;
    UIView *_animatedCaptureView;
    UIView *_irisView;
    UIView *_staticIrisView;
    int _pictureCapacity;
    BOOL _irisIsClosed;
    PLCropOverlay *_cropOverlay;
    PLImageTile *_imageTile;
    CameraLoadingView *_loadingView;
}

- (void)_playShutterSound;
- (void)_showCropOverlayWithTitle:(id)fp8 subtitle:(id)fp12 OKButtonTitle:(id)fp16 OKButtonColor:(int)fp20 OKButtonShowCamera:(BOOL)fp24 cancelButtonTitle:(id)fp28;
- (void)_updateStatusBar;
- (void)_addAdditionalEXIFPropertiesForCurrentState:(id)fp8 date:(id)fp12 toDictionary:(id)fp16;
- (int)_sensorOrientationForDeviceOrientation:(int)fp8;
- (void)setIsLoading:(BOOL)fp8;
- (void)cameraControllerReadyStateChanged:(id)fp8;
- (void)cameraController:(id)fp8 tookPicture:(id)fp12 withPreview:(id)fp16 jpegData:(struct __CFData *)fp20 imageProperties:(id)fp24;
- (void)setupAnimateCameraPreviewDown:(id)fp8;
- (void)animateCameraPreviewDown;
- (void)_storePictureAnimation:(id)fp8 finished:(id)fp12;
- (id)initWithFrame:(struct CGRect)fp8;
- (void)dealloc;
- (BOOL)shouldShowIris;
- (void)setCameraButtonBar:(id)fp8;
- (id)buttonBar;
- (void)takePictureOpenIrisAnimationFinished;
- (void)takePictureCloseIrisAnimationFinished;
- (void)cameraShutterClicked:(id)fp8;
- (void)viewWillBeDisplayed;
- (void)viewWasDisplayed;
- (void)viewWillBeRemoved;
- (void)cropOverlayWasCancelled:(id)fp8;
- (void)cropOverlayWasOKed:(id)fp8;
- (void)_backgroundSavePhoto;
- (void)_savePhotoFinished:(id)fp8;
- (void)willStartGesture:(int)fp8 inView:(id)fp12 forEvent:(struct __GSEvent *)fp16;
- (void)tearDownIris;
- (void)primeStaticClosedIris;
- (void)showStaticClosedIris;
- (void)hideStaticClosedIris;
- (BOOL)irisIsClosed;
- (void)closeIris:(BOOL)fp8 didFinishSelector:(SEL)fp12;
- (void)openIrisWithDidFinishSelector:(SEL)fp8;
- (void)closeOpenIris;
- (void)openIrisAnimationFinished;
- (void)closeIrisAnimationFinished;
- (void)closeOpenIrisAnimationFinished;

@end

@interface StoreAnimationView : UIView
{
}

- (id)initWithFrame:(struct CGRect)fp8 image:(id)fp24;

@end

@interface MLPhotoDCFFileGroup (CameraAdditions)
- (int)_orientationForExifProperties:(id)fp8;
- (void)writeJPEG:(id)fp8;
- (void)writeJPEGFinished;
- (void)setImage:(id)fp8 previewImage:(id)fp12 exifProperties:(id)fp16 date:(id)fp20 jpegData:(struct __CFData *)fp24;
@end

@interface AlbumView : UIView
{
    MLPhotoAlbum *_album;
    SelectableTable *_indexTable;
    struct CGSize _gridSize;
    struct CGSize _cellSize;
    BOOL _showImageCount;
    AlbumsController *_controller;
    ThumbnailTableCell *_highlightedCell;
    ImageCountCell *_imageCountCell;
    EmptyAlbumView *_emptyAlbumView;
}

- (float)_padding:(float *)fp8;
- (void)_updateScrollerIndicatorSubrect;
- (void)_setupIndexTable;
- (struct CGSize)_calculateGridSizeForCount:(int)fp8;
- (struct CGSize)_indexCellSizeForCount:(int)fp8;
- (void)_pictureWasTaken:(id)fp8;
- (id)initWithFrame:(struct CGRect)fp8;
- (void)dealloc;
- (void)cameraAlbumDidChange;
- (void)statusBarHeightDidChange:(id)fp8;
- (void)storeCurrentConfiguration:(id)fp8;
- (void)loadCurrentConfiguration:(id)fp8;
- (id)album;
- (void)setAlbum:(id)fp8;
- (id)albumsController;
- (void)setAlbumsController:(id)fp8;
- (void)scrollRowToVisible:(int)fp8;
- (int)numberOfRowsInTable:(id)fp8;
- (id)_imageCountCell;
- (id)table:(id)fp8 cellForRow:(int)fp12 column:(id)fp16 reusing:(id)fp20;
- (void)thumbnailSelected:(id)fp8;
- (void)reloadIndexTable;
- (id)indexTable;
- (void)clearSelection;
- (void)updateButtonBar:(id)fp8 duration:(float)fp12;
- (void)viewWillBeDisplayed;
- (void)setHighlightedCell:(id)fp8;

@end

@interface ImageCountCell : UIImageAndTextTableCell
{
}

+ (struct __GSFont *)defaultTitleFont;
- (void)layoutSubviews;

@end

@interface ThumbnailTableCell : UITableCell
{
    id _delegate;
    NSMutableArray *_slideImages;
    UIImage *_image;
    struct CGImage *_cgImage;
    UIView *_highlightView;
    int _highlightPhoto;
    BOOL _trackingHighlight;
}

- (id)initWithSize:(struct CGSize)fp8;
- (void)dealloc;
- (id)selectedImage;
- (id)slideImageAtIndex:(unsigned int)fp8;
- (void)setSlideImage:(id)fp8 atIndex:(unsigned int)fp12;
- (void)setImage:(id)fp8;
- (void)setNeedsDisplay;
- (void)setNeedsDisplayInRect:(struct CGRect)fp8;
- (void)setImageRef:(struct CGImage *)fp8;
- (BOOL)_canDrawContent;
- (void)drawContentInRect:(struct CGRect)fp8 selected:(BOOL)fp24;
- (void)setDelegate:(id)fp8;
- (void)_updateSelectedColumnWithEvent:(struct __GSEvent *)fp8;
- (void)mouseDown:(struct __GSEvent *)fp8;
- (void)mouseUp:(struct __GSEvent *)fp8;
- (void)mouseDragged:(struct __GSEvent *)fp8;
- (void)setSelected:(BOOL)fp8 withFade:(BOOL)fp12;
- (void)setBackgroundColor:(struct CGColor *)fp8;

@end

@interface ImageView : UIView
{
    id _delegate;
    struct CGImage *_fullSizeImageRef;
    struct CGImage *_thumbnailImageRef;
    int _imageOrientation;
    int _orientationWhenLastDisplayed;
    struct CGSize _fullSize;
    MLPhoto *_modelImage;
    BOOL _setOriginDuringAnimation;
    float _startScale;
    float _endScale;
    struct CGSize _endContentSize;
    struct CGSize _startContentSize;
    float _zoomProgress;
    BOOL _zoomToFillInsteadOfToFit;
    BOOL _useLessThanMinZoomForZoomedOutTest;
    BOOL _allowZoomToFill;
}

- (id)initWithFrame:(struct CGRect)fp8;
- (void)setDelegate:(id)fp8;
- (void)dealloc;
- (void)_setOriginForContentSize:(struct CGSize)fp8;
- (void)centerInScrollerIfNeeded;
- (void)setZoomScale:(float)fp8 duration:(double)fp12;
- (int)orientationWhenLastDisplayed;
- (void)setOrientationWhenLastDisplayed:(int)fp8;
- (struct CGSize)_scrollerContentSize;
- (void)zoomToScale:(float)fp8;
- (void)animator:(id)fp8 stopAnimation:(id)fp12;
- (void)_prepareForAnimatedZoomToScale:(float)fp8 duration:(double)fp12;
- (void)_zoomToScrollPoint:(struct CGPoint)fp8 scale:(float)fp16 duration:(float)fp20 event:(struct __GSEvent *)fp24;
- (struct CGImage *)imageRef;
- (int)imageOrientation;
- (BOOL)_canDrawContent;
- (void)drawRect:(struct CGRect)fp8;
- (BOOL)hasFullSizeImage;
- (void)ensureFullSizeImageLoaded;
- (void)setAllowsZoomToFill:(BOOL)fp8;
- (void)updateZoomScales;
- (int)defaultZoomStyle;
- (void)_updateLayerContents;
- (void)setFullSizeImageRef:(struct CGImage *)fp8 orientation:(int)fp12;
- (void)_finishedLoadingImageRef:(id)fp8;
- (void)movedFromSuperview:(id)fp8;
- (float)minRotatedScale;
- (float)_calculateZoomScale:(BOOL)fp8;
- (float)minZoomScale;
- (float)zoomToFillScale;
- (float)defaultZoomScale;
- (void)setThumbnail:(struct CGImage *)fp8;
- (BOOL)isZoomedOut;
- (id)modelImage;
- (void)setModelImage:(id)fp8;
- (id)description;
- (struct CGImage *)createUnrotatedImageWithSize:(struct CGSize)fp8;
- (void)_gestureChanged:(int)fp8 event:(struct __GSEvent *)fp12;

@end

@interface RotationView : UIView
{
}

@end

@interface TVOutImageTileView : ImageTileView
{
}

+ (Class)tileClass;
+ (int)tileWidth;
+ (void)setTileSize:(struct CGSize)fp8;
- (struct CGSize)imageSize;

@end

@interface ImageTileView : UITiledView
{
    id _delegate;
}

+ (Class)tileClass;
+ (int)tileWidth;
+ (void)setTileSize:(struct CGSize)fp8;
- (id)initWithSize:(struct CGSize)fp8;
- (struct CGSize)imageSize;
- (void)setDelegate:(id)fp8;
- (id)_createTileWithFrame:(struct CGRect)fp8;
- (struct CGRect)visibleRect;
- (BOOL)tilesNeedDisplay;

@end

@interface PLTVOutImageTile : PLImageTile
{
}

+ (Class)tileViewClass;
- (struct CGRect)imageRect;

@end

@interface PLImageTile : UITile
{
    UITiledView *_tiledView;
    RotationView *_rotationView;
    PLImageScroller *_imageScroller;
    int _index;
}

+ (Class)tileViewClass;
+ (id)createImageTileWithFrame:(struct CGRect)fp8 image:(struct CGImage *)fp24 orientation:(int)fp28 allowZoomToFill:(BOOL)fp32;
- (void)_clearImageScroller;
- (id)initWithFrame:(struct CGRect)fp8;
- (void)dealloc;
- (void)setFrame:(struct CGRect)fp8;
- (BOOL)_drawsContent;
- (BOOL)_canDrawContent;
- (void)drawRect:(struct CGRect)fp8;
- (struct CGRect)imageRect;
- (int)imageIndex;
- (id)rotationView;
- (id)imageScroller;
- (void)setImageScroller:(id)fp8;
- (id)tiledView;
- (void)setTiledView:(id)fp8;
- (id)hitTest:(struct CGPoint)fp8 forEvent:(struct __GSEvent *)fp16;
- (void)removeFromSuperview;
- (void)setNeedsDisplayInDirtyRect;
- (void)_zoomOut;
- (void)_handleDoubleTap:(struct __GSEvent *)fp8;
- (void)view:(id)fp8 handleTapWithCount:(int)fp12 event:(struct __GSEvent *)fp16 fingerCount:(int)fp20;
- (void)viewHandleTouchPause:(id)fp8 isDown:(BOOL)fp12;

@end

@interface AlbumScroller : UIScroller
{
    BOOL _dragging;
    float _lastX;
    double _lastTimeStamp;
    float _dragSpeed;
    float _grabX;
    struct CGPoint _grabLoc;
    float _mySpeed;
    float _myX;
    float _destinationX;
    NSTimer *_updateTimer;
    int _lastScrollDirection;
    int _lastDragDirection;
    BOOL _shouldAdvance;
    UIView *_leftBackstopView;
    UIView *_rightBackstopView;
    float _slowDownFactor;
}

- (void)dealloc;
- (void)_cancelUpdateTimer;
- (void)_startTimer;
- (BOOL)isScrollingEnabled;
- (BOOL)isSmoothScrolling;
- (BOOL)isDragging;
- (int)lastScrollDirection;
- (BOOL)shouldAdvance;
- (BOOL)_alwaysHandleInteractionEvents;
- (void)mouseDown:(struct __GSEvent *)fp8;
- (void)_updateDragInfoWithTimeInterval:(double)fp8 event:(struct __GSEvent *)fp16 smoothScrolling:(BOOL)fp20;
- (void)_updateScrollWithTimeInterval:(double)fp8;
- (void)_updateTimerFired:(id)fp8;
- (void)mouseDragged:(struct __GSEvent *)fp8;
- (void)mouseUp:(struct __GSEvent *)fp8;
- (void)contentMouseUpInView:(id)fp8 withEvent:(struct __GSEvent *)fp12;
- (void)_releaseDrag;
- (void)setScrollingEnabled:(BOOL)fp8;
- (id)hitTest:(struct CGPoint)fp8 forEvent:(struct __GSEvent *)fp16;
- (void)setContentSize:(struct CGSize)fp8;
- (void)setOffset:(struct CGPoint)fp8;
- (void)_doScrollToOffset:(struct CGPoint)fp8 animate:(BOOL)fp16;
- (void)ensureOffsetToImageBoundary;
- (void)scrollToNextImageWithAnimation:(BOOL)fp8 offset:(struct CGPoint)fp12;
- (void)scrollToPreviousImageWithAnimation:(BOOL)fp8 offset:(struct CGPoint)fp12;
- (void)gestureStarted:(struct __GSEvent *)fp8;
- (void)gestureEnded:(struct __GSEvent *)fp8;
- (void)gestureChanged:(struct __GSEvent *)fp8;

@end

@interface NSFileManager (NSFileManagerAdditions_MobileSlideShow)
- (id)makeUniqueDirectoryWithPath:(id)fp8;
@end

@interface PhotosDefaults : NSObject
{
    BOOL _shouldRepeat;
    BOOL _shouldShuffle;
    int _transition;
    int _secondsPerSlide;
    NSString *_musicForSlideshow;
}

+ (id)sharedInstance;
+ (int)randomTransition;
- (id)init;
- (BOOL)shouldRepeat;
- (BOOL)shouldShuffle;
- (int)secondsPerSlide;
- (int)transitionForAnimationMovingForward:(BOOL)fp8;
- (int)transition;
- (BOOL)debugIndexSheetScrolling;
- (int)smoothScrollBehavior;
- (BOOL)shouldPlayMusic;
- (id)musicForSlideshow;

@end

@interface PhotosMusicPlayer : NSObject
{
}

+ (void)startMusicForAlbum:(id)fp8;
+ (void)_setMusicPlaybackState:(int)fp8;
+ (void)stopMusic;
+ (void)pauseMusic;
+ (void)continueMusic;

@end

@interface MLPhotoAlbum (PhotosAdditions)
+ (id)defaultPNGAlbum;
- (id)posterImage;
@end

@interface MLPhoto (PhotosAdditions)
+ (struct CGImage *)createAndSaveIconForWallpaperImage:(id)fp8;
- (id)thumbnailImage;
- (struct CGImage *)createThumbnailCGImageRef;
- (struct CGImage *)createFullScreenCGImageRef:(int *)fp8;
- (struct CGImage *)createLowResolutionFullScreenCGImageRef;
@end

@interface TPCameraPushButton : TPPushButton
{
    UIImageView *_cameraIcon;
}

- (void)dealloc;
- (void)setShowsCameraIcon:(BOOL)fp8;
- (BOOL)pointInside:(struct CGPoint)fp8 forEvent:(struct __GSEvent *)fp16;

@end

@interface CropLCDLayer : UIView
{
    NSString *_subtitle;
    NSString *_title;
}

- (void)dealloc;
- (void)setTitle:(id)fp8;
- (id)title;
- (void)setSubtitle:(id)fp8;
- (void)drawRect:(struct CGRect)fp8;

@end

@interface PLCropOverlay : UIView
{
    id _delegate;
    CropLCDLayer *_lcd;
    UIImageView *_lcdImage;
    TPBottomDualButtonBar *_bottomBar;
    TPPushButton *_cancelButton;
    TPCameraPushButton *_okButton;
    UIProgressHUD *_hud;
}

- (id)initWithSize:(struct CGSize)fp8 setCropTitle:(id)fp16;
- (void)dealloc;
- (void)statusBarHeightDidChange:(id)fp8;
- (void)setDelegate:(id)fp8;
- (void)dismiss;
- (void)_fadeOutCompleted:(id)fp8;
- (void)cancelButtonClicked:(id)fp8;
- (void)okButtonClicked:(id)fp8;
- (void)setEnabled:(BOOL)fp8;
- (id)hitTest:(struct CGPoint)fp8 forEvent:(struct __GSEvent *)fp16;
- (struct CGRect)cropRect;
- (struct CGRect)scrollIndicatorRect;
- (void)setTitle:(id)fp8;
- (void)setSubtitle:(id)fp8;
- (void)setOKButtonColor:(int)fp8;
- (void)setOKButtonTitle:(id)fp8;
- (void)setOKButtonShowsCamera:(BOOL)fp8;
- (void)setCancelButtonTitle:(id)fp8;
- (void)setShowProgress:(BOOL)fp8 title:(id)fp12;
- (void)removeProgress;
- (void)setProgressDone;
- (id)dictionaryWithCropResultsFromImageScroller:(id)fp8;

@end

@interface PLImageScroller : UIScroller
{
    ImageView *_imageView;
    PLImageTile *_imageTile;
    struct CGPoint _grabLoc;
    BOOL _locked;
    BOOL _isZooming;
    struct CGSize _padding;
    struct {
        unsigned int delegateImplementsSiblingForDirection:1;
        unsigned int allowNegativeOffsets:1;
        unsigned int reserved:30;
    } _imageScrollerFlags;
    ImageView *_leftView;
    ImageView *_rightView;
}

- (struct CGSize)_contentSizeForView:(id)fp8;
- (id)initWithFrame:(struct CGRect)fp8;
- (void)dealloc;
- (BOOL)canHandleSwipes;
- (void)setDelegate:(id)fp8;
- (void)_adjustPositionOfView:(id)fp8 forContentSize:(struct CGSize)fp12 offset:(struct CGPoint)fp20;
- (void)updateSideViews;
- (void)_clearSideViews;
- (id)_createSideViewWithImageView:(id)fp8 frame:(struct CGRect)fp12;
- (void)_showSideViewInDirection:(int)fp8;
- (void)_showLeftView;
- (void)_showRightView;
- (void)setContentSize:(struct CGSize)fp8;
- (void)setAllowNegativeOffsets:(BOOL)fp8;
- (void)setOffset:(struct CGPoint)fp8;
- (void)setLockedOnImage:(BOOL)fp8;
- (struct CGSize)padding;
- (void)setPadding:(struct CGSize)fp8;
- (id)imageView;
- (void)setImageView:(id)fp8;
- (id)imageTile;
- (void)setImageTile:(id)fp8;
- (BOOL)canFlick;
- (BOOL)shouldAdvance;
- (void)mouseDown:(struct __GSEvent *)fp8;
- (void)mouseDragged:(struct __GSEvent *)fp8;
- (void)mouseUp:(struct __GSEvent *)fp8;
- (void)setFrame:(struct CGRect)fp8;
- (void)zoomToScale:(float)fp8;
- (void)imageView:(id)fp8 didStartGesture:(int)fp12 forEvent:(struct __GSEvent *)fp16;
- (struct CGImage *)createImageWithCropRect:(struct CGRect)fp8 croppedImageData:(id *)fp24 fullSizeImageData:(id *)fp28 fullScreenImageData:(id *)fp32 imageCropRect:(struct CGRect *)fp36;

@end

@interface PLPhotoLibrary : MLPhotoLibrary
{
}

+ (id)sharedPhotoLibrary;
+ (id)photosDirectory;
+ (struct CGImage *)createThumbnailOfImage:(struct CGImage *)fp8 format:(int)fp12 atPath:(id)fp16;
+ (struct CGImage *)createThumbnailOfImage:(struct CGImage *)fp8 format:(int)fp12 atPath:(id)fp16 orientation:(int)fp20;
+ (struct CGImage *)createThumbnailOfImage:(struct CGImage *)fp8 format:(int)fp12 atPath:(id)fp16 orientation:(int)fp20 thumbnailDataOut:(id *)fp24;
- (id)init;
- (struct CGImage *)createCGImageForDulcimerImage:(id)fp8 format:(int)fp12;
- (id)imageForFormat:(int)fp8 forImage:(id)fp12;
- (id)albums;
- (id)posterImageForAlbum:(id)fp8;

@end

@interface CameraController : NSObject
{
    LKLayer *_cameraLayer;
    struct CameraDevice *_camera;
    struct CameraImageQueueHelper *_cameraHelper;
    id _delegate;
    UIView *_previewView;
    BOOL _isPreviewing;
}

+ (id)sharedInstance;
- (id)init;
- (void)_setIsReady;
- (BOOL)isReady;
- (void)_tookPicture:(struct __CoreSurfaceBuffer *)fp8;
- (void)_tookPicture:(struct CGImage *)fp8 jpegData:(struct __CFData *)fp12 imageProperties:(struct __CFDictionary *)fp16;
- (struct CameraImageQueueHelper *)_cameraHelper;
- (BOOL)_setupCamera;
- (void)_tearDownCamera;
- (void)setDelegate:(id)fp8;
- (struct CGRect)_cameraFrame;
- (id)previewView;
- (void)startPreview;
- (void)stopPreview;
- (void)capturePhoto;

@end

@interface SilverCameraButtonBar : CameraButtonBar
{
}

+ (id)backgroundImage;
- (void)positionButtons:(id)fp8 tags:(int *)fp12 count:(int)fp16 group:(int)fp20;

@end

@interface CameraButtonBar : PhotosButtonBar
{
    int _centerButtonTag;
}

- (void)positionButtons:(id)fp8 tags:(int *)fp12 count:(int)fp16 group:(int)fp20;
- (void)dealloc;
- (void)start;
- (void)stop;
- (id)cameraButton;
- (void)deviceOrientationChanged;
- (void)setCenterButtonTag:(int)fp8;

@end

@interface CameraButton : UIThreePartButton
{
    UIView *_rotationHolder;
    UIImageView *_cameraIcon;
    NSMutableArray *_buttonImages;
    BOOL _lockEnabled;
    BOOL _isLandscape;
}

- (id)initWithDefaultSize;
- (BOOL)pointInside:(struct CGPoint)fp8 forEvent:(struct __GSEvent *)fp16;
- (void)dealloc;
- (void)updateButtonBackgrounds;
- (void)setDeviceOrientation:(int)fp8;
- (void)lockEnabled:(BOOL)fp8;
- (void)setEnabled:(BOOL)fp8;
- (void)_setHighlightOnMouseDown:(BOOL)fp8;

@end

@interface ImageLoader : NSObject
{
}

+ (void)_imageLoader;
+ (void)pauseLoading;
+ (void)resumeLoading;
+ (void)_finishedLoadingImageRef:(id)fp8;
+ (void)_finishDeferredImageLoads;
+ (void)stop;
+ (void)loadFullSizeImageRefForImageView:(id)fp8;
+ (void)cancelLoadRequestsForImageView:(id)fp8;

@end

@interface CameraWindow : UIWindow
{
    BOOL _filterChordChangeEvents;
    UIView *_chordedMouseDownView;
    struct CGPoint _chordedMouseDragPoint;
    int _lastFingerCount;
}

- (id)viewForEvent:(struct __GSEvent *)fp8 newPoint:(struct CGPoint *)fp12;
- (void)sendEvent:(struct __GSEvent *)fp8;
- (void)setFilterChordChangeEvents:(BOOL)fp8;

@end

@interface CameraLoadingView : UIView
{
    UIProgressIndicator *_progressIndicator;
}

- (id)initWithFrame:(struct CGRect)fp8;
- (void)startAnimation;
- (void)stopAnimation;
- (void)drawRect:(struct CGRect)fp8;

@end

@interface EmptyAlbumView : UIView
{
    UIImageView *_icon;
    UITextLabel *_title;
    UITextLabel *_message;
}

- (id)_emptyRollImageForAlbum:(id)fp8;
- (id)_messageForAlbum:(id)fp8;
- (id)_createLabelWithText:(id)fp8 font:(struct __GSFont *)fp12 bottom:(float)fp16;
- (id)_createTextViewWithText:(id)fp8 bottom:(float)fp12;
- (id)initWithFrame:(struct CGRect)fp8;
- (void)dealloc;
- (void)setAlbum:(id)fp8;

@end

@interface MobileMeView : UIView
{
    UINavigationBar *_navBar;
    UITable *_table;
    UIProgressIndicator *_progress;
    UITextLabel *_label;
    NSArray *_albums;
    id _delegate;
}

- (id)initWithFrame:(struct CGRect)fp8;
- (void)dealloc;
- (void)setDelegate:(id)fp8;
- (void)_setupLabelWithString:(id)fp8;
- (void)setLoading:(BOOL)fp8;
- (void)setAlbums:(id)fp8;
- (void)navigationBar:(id)fp8 buttonClicked:(int)fp12;
- (void)tableSelectionDidChange:(id)fp8;
- (int)numberOfRowsInTable:(id)fp8;
- (id)table:(id)fp8 cellForRow:(int)fp12 column:(id)fp16 reusing:(id)fp20;

@end

@interface MobileMeHelper : NSObject
{
    NSMutableURLRequest *_request;
    NSURLConnection *_connection;
    id _delegate;
    NSString *_username;
    BOOL _mayBeAbleToPost;
    BOOL _performedFullAccountScan;
    NSArray *_albums;
    NSMutableArray *_usernamesToCheck;
    NSMutableData *_responseData;
    int _lastStatusCode;
}

+ (void)initialize;
+ (id)_copyPasswordForUsername:(id)fp8;
+ (id)_createAlbumFetchRequestForUsernames:(id)fp8 includeTimeStamp:(BOOL)fp12;
+ (id)serviceName;
+ (void)setServiceName:(id)fp8;
+ (id)userAgentString;
+ (id)languageString;
- (id)_createAlbumFetchRequestForUsernames:(id)fp8 includeTimeStamp:(BOOL)fp12;
- (id)init;
- (void)dealloc;
- (BOOL)canPostToDotMac;
- (void)setDelegate:(id)fp8;
- (void)cancel;
- (id)albums;
- (void)_noValidAccountsFound;
- (void)_prepareForFullAccountScan;
- (void)_fetchAlbums;
- (BOOL)_setAlbumsFromServerResponse:(id)fp8;
- (void)validateAlbums;
- (void)connection:(id)fp8 didReceiveResponse:(id)fp12;
- (void)connection:(id)fp8 didReceiveData:(id)fp12;
- (void)connectionDidFinishLoading:(id)fp8;
- (void)connection:(id)fp8 didFailWithError:(id)fp12;
- (void)_debugResponse;

@end

@interface MobileMeAlbum : NSObject
{
    NSString *_name;
    NSString *_email;
    int _type;
}

- (id)initWithAlbumInformation:(id)fp8;
- (void)dealloc;
- (id)albumInformation;
- (id)name;
- (id)emailAddress;
- (int)type;

@end

@interface SyncProgressView : UIView
{
    UIImageView *_icon;
}

- (void)layoutSubviews;
- (id)initWithFrame:(struct CGRect)fp8;
- (void)dealloc;

@end

