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

struct CGAffineTransform {
    float _field1;
    float _field2;
    float _field3;
    float _field4;
    float _field5;
    float _field6;
};

struct CGColor;

struct CGPoint {
    float x;
    float y;
};

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

struct CGSize {
    float width;
    float height;
};

struct CPRecord;

struct _Apple80211;

struct _NSRange {
    unsigned int _field1;
    unsigned int _field2;
};

struct _NSZone;

struct __CFDate;

struct __CFDictionary;

struct __CFMachPort;

struct __CFSet;

struct __CFString;

struct __CTCall;

struct __CTSMSMessage;

struct __CTServerConnection;

struct __GSEvent;

struct __GSFont;

typedef struct {
    unsigned char voicemailAvailable;
    int voicemailCount;
    long long voicemailID;
} CDAnonymousStruct1;

/*
 * File: System/Library/CoreServices/SpringBoard.app/SpringBoard
 */

@interface SBAppWindow : UIWindow
{
}

+ (struct CGRect)constrainFrameToScreen:(struct CGRect)fp8;
- (id)initWithContentRect:(struct CGRect)fp8;
- (void)dealloc;
- (void)sendEvent:(struct __GSEvent *)fp8;
- (BOOL)shouldRespondToStatusBarHeightChange;

@end

@interface SpringBoard : UIApplication
{
    SBUIController *_uiController;
    NSTimer *_menuButtonTimer;
    NSTimer *_lockButtonTimer;
    NSTimer *_idleTimer;
    NSTimer *_autoLockTimer;
    double _lastTimeIdleCausedDim;
    double _headsetButtonDownTime;
    SBDimmingWindow *_simulatedBlankingWindow;
    unsigned int _headsetButtonClickCount;
    unsigned int _menuButtonClickCount;
    unsigned int _disableAutoDimming:1;
    unsigned int _nextLockUpLocks:1;
    unsigned int _poweringDown:1;
    unsigned int _autoDimmed:1;
    unsigned int _autoDimmedToBlack:1;
    unsigned int _powerManagementDisabled:1;
    unsigned int _powerManagementKeySet:1;
    unsigned int _ipodIsPlaying:1;
    int _UIOrientation;
    BOOL _screenShooting;
    NSURL *_menuDoubleTapURL;
    int _notifyDontAnimateREOToken;
    int _notifyDontAllowMediaHUDToken;
    NSString *_jetsamIncidentID;
}

- (void)_createLogFile;
- (void)_writeLogFile;
- (BOOL)handleEvent:(struct __GSEvent *)fp8;
- (void)applicationDidFinishLaunching:(id)fp8;
- (void)appleIconViewRemoved;
- (BOOL)powerManagementIsEnabled;
- (void)showLowDiskSpaceAlert;
- (void)showEDGEActivationFailureAlert:(id)fp8 reason:(id)fp12;
- (void)showWiFiAlert;
- (void)wifiManager:(id)fp8 scanCompleted:(id)fp12;
- (void)userDefaultsDidChange:(id)fp8;
- (void)_testPhoneAlerts;
- (void)runFieldTestScript;
- (void)significantTimeChange;
- (void)tripleFingerGestureTriggered;
- (BOOL)shouldRunFieldTestScript;
- (BOOL)iapIsInExtendedMode;
- (BOOL)allowMenuDoubleTap;
- (void)handleMenuDoubleTap;
- (void)_setMenuButtonTimer:(id)fp8;
- (void)clearMenuButtonTimer;
- (void)_menuButtonWasHeld;
- (void)menuButtonDown:(struct __GSEvent *)fp8;
- (void)menuButtonUp:(struct __GSEvent *)fp8;
- (void)_handleMenuButtonEvent:(struct __GSEvent *)fp8;
- (void)lockButtonDown:(struct __GSEvent *)fp8;
- (void)beginPowerDownCountDown;
- (void)_powerOn;
- (void)_powerDownNow;
- (void)_rebootNow;
- (void)reboot;
- (void)powerDown;
- (void)relaunchSpringBoard;
- (void)powerDownRequested:(id)fp8;
- (void)powerDownCanceled:(id)fp8;
- (void)lockButtonUp:(struct __GSEvent *)fp8;
- (void)headsetButtonDown:(struct __GSEvent *)fp8;
- (void)headsetButtonUp:(struct __GSEvent *)fp8;
- (void)_handleHeadsetButtonClick:(struct __GSEvent *)fp8;
- (void)ALSPrefsChanged:(id)fp8;
- (void)updateIconVisibility:(BOOL)fp8;
- (void)macWorldPrefsChanged:(BOOL)fp8;
- (void)clockFormatChanged;
- (void)autoLockPrefsChanged;
- (void)ringerChanged:(int)fp8;
- (void)accessoryAvailabilityChanged:(struct __GSEvent *)fp8;
- (void)accessoryKeyStateChanged:(struct __GSEvent *)fp8;
- (void)accessoryEvent:(struct __GSEvent *)fp8;
- (unsigned int)_portForEvent:(struct __GSEvent *)fp8;
- (void)quitTopApplication:(struct __GSEvent *)fp8;
- (void)applicationExited:(struct __GSEvent *)fp8;
- (void)otherApplicationWillSuspend:(struct __GSEvent *)fp8;
- (void)applicationSuspend:(struct __GSEvent *)fp8;
- (void)applicationSuspended:(struct __GSEvent *)fp8;
- (void)applicationSuspendedSettingsUpdated:(struct __GSEvent *)fp8;
- (void)handleSpringboardURL:(id)fp8;
- (void)applicationOpenURL:(id)fp8 asPanel:(BOOL)fp12;
- (void)volumeChanged:(struct __GSEvent *)fp8;
- (void)setBacklightFactor:(int)fp8;
- (void)setBacklightLevel:(float)fp8;
- (void)setProximitySensorEnabled:(int)fp8;
- (void)setupMidnightTimer;
- (void)_midnightPassed;
- (void)_adjustMidnightTimerAfterSleep;
- (void)handleOutOfLineDataResponse:(struct __GSEvent *)fp8;
- (void)dim;
- (void)turnOffBacklight;
- (void)cancelTurnOffBacklightAfterDelay;
- (void)turnOffBacklightAfterDelay;
- (void)showSimulatedScreenBlank;
- (void)hideSimulatedScreenBlank;
- (void)dimToBlack;
- (void)undim;
- (void)lockAfterCall;
- (BOOL)shouldDimToBlackInsteadOfLock;
- (void)autoLock;
- (void)didIdle;
- (double)nextIdleTimeDuration;
- (double)nextLockTimeDuration;
- (void)clearIdleTimer;
- (void)resetIdleTimerAndUndim:(BOOL)fp8;
- (void)userEventOccurred:(id)fp8;
- (void)resetIdleTimer;
- (void)resetIdleDuration:(double)fp8;
- (void)updateRejectedInputSettings;
- (void)handleOutOfLineDataRequest:(struct __GSEvent *)fp8;
- (void)lockDevice:(struct __GSEvent *)fp8;
- (void)statusBarEvent:(struct __GSEvent *)fp8;
- (void)_receivedMemoryNotification;
- (void)_killSpringBoardInResponseToCriticalWarning;
- (int)_frontMostAppOrientation;
- (void)noteUIOrientationChanged:(int)fp8 display:(id)fp12;
- (int)UIOrientation;
- (void)updateMenuDoubleTapSettings;
- (void)updateAccelerometerSettings;
- (void)updateProximitySettings;
- (void)updateTouchPointSettings;
- (void)updateAirPortForDisplay:(id)fp8;
- (void)frontDisplayDidChange:(id)fp8;
- (void)didDismissMiniAlert;
- (void)willDisplayMiniAlert:(int *)fp8;
- (void)willDismissMiniAlert:(int *)fp8 andShowAnother:(BOOL)fp12;
- (BOOL)canShowAlerts;
- (BOOL)isLocked;
- (int)alertOrientation;
- (void)_tearDownNow;
- (void)tearDown;
- (BOOL)deviceIsInNowPlaying;
- (BOOL)musicIsPlaying;
- (BOOL)deviceAllowsNowPlayingHUD;
- (void)setJetsamIncidentID;
- (void)clearJetsamIncidentID;
- (id)jetsamIncidentID;
- (void)clearDeviceAllowsNowPlayingHUD;
- (void)goOffAndOnUSBBus;

@end

@interface SBUIController : NSObject
{
    UIWindow *_window;
    UIView *_iconsView;
    SBContentLayer *_contentLayer;
    SBZoomView *_zoomLayer;
    SBApplication *_launchedApp;
    int _launchState;
    BOOL _lastVolumeDownToControl;
    BOOL _shouldAutoLock;
    int _batteryCapacity;
    BOOL _isBatteryCharging;
    BOOL _isOnAC;
    BOOL _cancelingLaunch;
    int _batteryLoggingStartCapacity;
    unsigned char _headsetBatteryCapacity;
    BOOL _isHeadsetCharging;
    BOOL _isHeadsetDocked;
}

+ (int)displayedLevelForBatteryLevel:(int)fp8;
+ (int)displayedLevelForBatteryStatusBarLevel:(int)fp8;
+ (id)sharedInstance;
- (void)_indicateConnectedToPower;
- (void)dealloc;
- (id)init;
- (void)animateAppleDown:(BOOL)fp8;
- (BOOL)launchedAfterLanguageRestart;
- (void)clearLaunchedAfterLanguageRestart;
- (float)calculateStartupTime;
- (id)getVMstats;
- (void)logStartupData;
- (void)languageChanged;
- (void)finishLaunching;
- (void)systemControllerRouteChanged:(id)fp8;
- (BOOL)shouldDisconnectCallsOnLockPress;
- (void)lock:(BOOL)fp8;
- (void)lock;
- (int)launchState;
- (void)clearZoomLayer;
- (void)setState:(int)fp8;
- (id)contentView;
- (id)statusBarWindow;
- (id)window;
- (void)showZoomLayerForApp:(id)fp8;
- (void)stopAllAnimations;
- (void)hideIconListAndBar:(BOOL)fp8;
- (void)restoreIconList:(BOOL)fp8 force:(BOOL)fp12;
- (void)stopRestoringIconList;
- (void)showButtonBar:(BOOL)fp8 animate:(BOOL)fp12 action:(SEL)fp16 delegate:(id)fp20;
- (void)quitTopApplication;
- (struct CGAffineTransform)_initialStatusBarTransformForScale:(float)fp8;
- (void)animateLaunchOfApplication:(id)fp8 afterDelay:(double)fp12 startingAtTime:(double)fp20 forDuration:(double)fp28 includingIconsAndButtonBar:(BOOL)fp36 initialZoomScale:(float)fp40 fadeInZoom:(BOOL)fp44;
- (void)cancelLaunchOfApplication:(id)fp8 duration:(double)fp12;
- (void)animateLaunchOfApplication:(id)fp8;
- (void)animateLaunchApplication:(id)fp8;
- (double)animateLaunchForReturnToLastApp:(id)fp8;
- (void)finishedFadingInButtonBar;
- (void)showZoomLayerAnimationDidStop:(id)fp8 finished:(id)fp12;
- (void)cancelLaunchAnimationDidStop:(id)fp8 finished:(id)fp12;
- (void)clickedMenuButton;
- (void)completeAlertDisplay;
- (void)wakeUp:(id)fp8;
- (void)handleVolumeEvent:(struct __GSEvent *)fp8;
- (void)applicationExited:(id)fp8;
- (void)applicationSuspended:(id)fp8;
- (int)batteryCapacity;
- (BOOL)isBatteryCharging;
- (BOOL)isOnAC;
- (void)ACPowerChanged;
- (void)noteStatusBarHeightChanged:(float)fp8 duration:(double)fp12;
- (BOOL)isHeadsetDocked;
- (BOOL)isHeadsetBatteryCharging;
- (unsigned char)headsetBatteryCapacity;
- (void)handleAccessoryAvailabilityChange:(struct __GSEvent *)fp8 removal:(BOOL)fp12;
- (void)handleAccessoryEvent:(struct __GSEvent *)fp8;

@end

@interface SBApplicationIcon : SBIcon
{
    SBApplication *_app;
}

- (id)initWithApplication:(id)fp8;
- (void)dealloc;
- (BOOL)shouldListInCapabilities;
- (id)application;
- (id)icon;
- (id)displayName;
- (id)displayIdentifier;
- (id)tags;
- (id)_automationID;
- (BOOL)launchEnabled;
- (void)launch;

@end

@interface SBButtonBar : SBIconList
{
}

+ (struct CGSize)defaultSize;
- (id)initWithDefaultSize;
- (id)initWithDictionaryRepresentation:(id)fp8;
- (id)initWithFrame:(struct CGRect)fp8;
- (void)dealloc;
- (int)maxIconRows;
- (float)topIconPadding;
- (float)verticalIconPadding;
- (void)placeIcon:(id)fp8 atX:(int)fp12 Y:(int)fp16 animate:(BOOL)fp20 moveNow:(BOOL)fp24;
- (float)leftMarginForIconRowArray:(id)fp8;
- (struct CGPoint)originForIconAtX:(int)fp8 Y:(int)fp12;
- (id)iconAtPoint:(struct CGPoint)fp8 X:(int *)fp16 Y:(int *)fp20 proposedOrder:(int *)fp24;
- (id)iconAtPoint:(struct CGPoint)fp8 X:(int *)fp16 Y:(int *)fp20;
- (BOOL)isDock;

@end

@interface SBStatusBar : UIControl
{
    int _mode;
    int _orientation;
    SBStatusBarContentsView *_contentsView;
    SBStatusBarInCallView *_inCallView;
    SBStatusWindow *_statusWindow;
    UIView *_airplaneView;
    UIView *_glowView;
    UIView *_glassView;
    UIView *_dimmerView;
    unsigned int _animate:1;
    unsigned int _animating:1;
    unsigned int _isPressed:1;
    unsigned int _airplaneMode:1;
}

- (id)initWithMode:(int)fp8 orientation:(int)fp12;
- (void)setStatusWindow:(id)fp8;
- (id)statusWindow;
- (void)dealloc;
- (int)mode;
- (int)orientation;
- (id)contentsView;
- (id)airplaneView;
- (void)drawRect:(struct CGRect)fp8;
- (void)setFrame:(struct CGRect)fp8;
- (void)start;
- (void)stop;
- (void)showDimmerOverlay:(BOOL)fp8;
- (void)startGlowAnimation;
- (void)stopGlowAnimation;
- (void)setAirplaneModeIsEnabled:(BOOL)fp8 animate:(BOOL)fp12;
- (void)setHighlighted:(BOOL)fp8;
- (BOOL)beginTrackingAt:(struct CGPoint)fp8 withEvent:(struct __GSEvent *)fp16;
- (BOOL)isDimmed;
- (void)statusBarClicked;
- (void)mouseDown:(struct __GSEvent *)fp8;
- (void)mouseDragged:(struct __GSEvent *)fp8;
- (void)mouseUp:(struct __GSEvent *)fp8;

@end

@interface SBContentLayer : UIView
{
}

@end

@interface SBStatusWindow : UIWindow
{
    int _orientation;
    UIView *_holderView;
}

+ (struct CGRect)constrainFrameToScreen:(struct CGRect)fp8;
- (BOOL)isOpaque;
- (id)initWithFrame:(struct CGRect)fp8;
- (int)orientation;
- (void)setOrientation:(int)fp8;
- (id)holderView;

@end

@interface SpringBoard (SBApplicationTesting)
- (id)_pathForTestOptions:(id)fp8;
- (BOOL)runTest:(id)fp8 options:(id)fp12;
- (void)startLaunchTestNamed:(id)fp8 options:(id)fp12;
- (void)startResumeTestNamed:(id)fp8 options:(id)fp12;
- (void)anotherApplicationFinishedLaunching:(struct __GSEvent *)fp8;
- (void)finishedTest:(id)fp8 extraResults:(id)fp12;
@end

@interface SBAlertWindow : UIWindow
{
    UIView *_contentLayer;
    unsigned int _isAnimating:1;
    unsigned int _isInvalid:1;
    unsigned int _handlerActive:1;
    float _finalAlpha;
    SBAlertDisplay *_currentDisplay;
    NSMutableArray *_stackedAlertDisplays;
    NSMutableDictionary *_alertToDisplayMap;
}

+ (struct CGRect)constrainFrameToScreen:(struct CGRect)fp8;
- (id)initWithContentRect:(struct CGRect)fp8;
- (void)_backgroundFadedIn;
- (void)dealloc;
- (BOOL)isOpaque;
- (id)stackedDisplayForAlert:(id)fp8;
- (void)displayAlert:(id)fp8;
- (BOOL)deactivateAlert:(id)fp8;
- (int)displayCount;
- (void)dismissWindow:(id)fp8;
- (void)alertDisplayWillDismiss;
- (void)popInCurrentDisplay;
- (id)currentDisplay;
- (void)setHandlerAlreadyActive:(BOOL)fp8;
- (BOOL)handlerAlreadyActive;

@end

@interface SBAlertDisplay : UIView
{
    SBAlert *_alert;
    unsigned int _displaysAboveStatusBar:1;
    unsigned int _shouldAnimateIn:1;
}

- (void)setAlert:(id)fp8;
- (id)alert;
- (void)launchURL:(id)fp8;
- (void)willDismiss;
- (void)dismiss;
- (void)setHandlerAlreadyActive:(BOOL)fp8;
- (void)alertDisplayWillBecomeVisible;
- (void)alertDisplayBecameVisible;
- (BOOL)displaysAboveStatusBar;
- (void)setDisplaysAboveStatusBar:(BOOL)fp8;
- (BOOL)isReadyToBeRemovedFromView;
- (void)setShouldAnimateIn:(BOOL)fp8;
- (BOOL)shouldAnimateIn;

@end

@interface SBAlertDisplay (PhoneNumberResolution)
+ (id)imageForPerson:(struct CPRecord *)fp8 display:(id)fp12 isFullscreen:(char *)fp16;
@end

@interface SBCallAlert : SBAlert
{
    BOOL _causedSuspension;
}

+ (void)registerForAlerts;
- (id)initWithCall:(struct __CTCall *)fp8;
- (void)dealloc;
- (void)_handleCallEvent:(struct __CTCall *)fp8;
- (void)_handleCallerIDEvent:(struct __CTCall *)fp8;
- (id)alertDisplayViewWithSize:(struct CGSize)fp8;
- (BOOL)displaysAboveLock;
- (double)animateInDuration;
- (BOOL)useUIAlertSheetWhenUnlocked;
- (BOOL)animatesDismissal;
- (BOOL)allowsInCallStatusBar;

@end

@interface SBAlert : SBDisplay
{
    SBAlertDisplay *_display;
    NSMutableDictionary *_dictionary;
    SBAlertWindow *_deferredAlertWindow;
}

+ (void)registerForAlerts;
+ (id)alertWindow;
+ (void)test;
- (void)dealloc;
- (id)display;
- (void)setDisplay:(id)fp8;
- (id)alertDisplayViewWithSize:(struct CGSize)fp8;
- (void)setObject:(id)fp8 forKey:(id)fp12;
- (id)objectForKey:(id)fp8;
- (BOOL)allowsStackingOfAlert:(id)fp8;
- (BOOL)displaysAboveLock;
- (BOOL)undimsDisplay;
- (float)finalAlpha;
- (double)animateInDuration;
- (struct CGRect)alertWindowRect;
- (BOOL)activate;
- (void)tearDownAlertWindow:(id)fp8;
- (void)removeFromView;
- (BOOL)deactivate;
- (BOOL)animatesDismissal;
- (BOOL)allowsInCallStatusBar;
- (float)autoDimTime;
- (int)statusBarMode;
- (int)statusBarOrientation;
- (void)didAnimateLockKeypadIn;
- (void)didAnimateLockKeypadOut;
- (void)didFinishAnimatingIn;
- (void)didFinishAnimatingOut;

@end

@interface SBCallAlertDisplay : SBSlidingAlertDisplay
{
    BOOL _wasToldToStopRinging;
    BOOL _answered;
}

+ (id)createBottomLockBarForDisplay:(id)fp8;
+ (id)createBottomBarForInstance:(id)fp8;
- (void)dealloc;
- (void)ringOrVibrate;
- (void)stopRingingOrVibrating;
- (BOOL)wasToldToStopRinging;
- (void)ringerChanged;
- (void)updateLCDWithName:(id)fp8 label:(id)fp12 breakPoint:(unsigned int)fp16;
- (void)updateImageFromPerson:(struct CPRecord *)fp8;
- (void)setAlert:(id)fp8;
- (void)checkForStatusChange;
- (void)_ringIfNecessary;
- (void)alertDisplayWillBecomeVisible;
- (void)alertDisplayBecameVisible;
- (void)finishedAnimatingIn;
- (id)additionalURLParameter;
- (void)answerCall:(struct __CTCall *)fp8;
- (void)answerAndRelease;
- (void)answer:(id)fp8;
- (void)lockBarUnlocked:(id)fp8;
- (void)dismiss;
- (void)ignoreAndRelease;
- (void)ignore;
- (void)handleVolumeEvent:(struct __GSEvent *)fp8;

@end

@interface SBWidgetApplication : SBApplication
{
}

- (id)pathForDefaultImage:(char *)fp8;
- (id)pathForIcon;
- (id)bundleForLaunching;
- (BOOL)isWidget;
- (id)arguments;

@end

@interface SBApplication : SBDisplay
{
    NSString *_roleID;
    NSString *_path;
    NSString *_bundleID;
    BOOL _isLaunching;
    int _failedLaunchCount;
    int _memoryWarningCount;
    BOOL _enabled;
    BOOL _useDemoRole;
    unsigned int _dataUsage:4;
    unsigned int _relauchesOnAbnormalExit:1;
    unsigned int _isDefaultRole:1;
    NSString *_demoRole;
    NSMutableSet *_statusBarItemSet;
    NSMutableArray *_tags;
    UIRemoteApplication *_remoteApplication;
    struct __CFSet *_launchAlerts;
    int _pid;
    NSString *_displayName;
    unsigned int _doingBackgroundNetworking;
}

+ (id)applicationsByRoleWithPath:(id)fp8;
+ (id)applicationWithPath:(id)fp8;
+ (id)applicationWithPath:(id)fp8 roleID:(id)fp12;
+ (id)applicationWithPath:(id)fp8 roleID:(id)fp12 plist:(id)fp16;
+ (id)applicationWithDisplayIdentifier:(id)fp8;
+ (id)springBoard;
+ (id)iPod;
+ (void)setUseDemoRole:(BOOL)fp8;
+ (void)flushSnapshotsForIdentifier:(id)fp8;
+ (void)flushLaunchAlertsOfType:(int)fp8;
- (id)init;
- (id)description;
- (void)_startLaunchWatchdogTimer;
- (void)_startResumeWatchdogTimer;
- (void)_startDeactivationWatchdogTimer;
- (void)_cancelWatchdogTimer;
- (void)dealloc;
- (void)setRoleID:(id)fp8;
- (id)roleID;
- (void)setIsDefaultRole:(BOOL)fp8;
- (BOOL)isDefaultRole;
- (BOOL)enabled;
- (void)setEnabled:(BOOL)fp8;
- (id)demoRole;
- (void)setDemoRole:(id)fp8;
- (void)setUseDemoRole:(BOOL)fp8;
- (id)path;
- (id)bundleID;
- (id)bundle;
- (id)bundleForLaunching;
- (id)arguments;
- (void)setTags:(id)fp8;
- (id)tags;
- (unsigned int)dataUsage;
- (void)setUsesBackgroundNetwork:(BOOL)fp8;
- (BOOL)isWidget;
- (id)_additionalDisplayQualification;
- (id)displayIdentifier;
- (id)pathForIcon;
- (BOOL)shouldLaunchPNGless;
- (id)pathForDefaultImage:(char *)fp8;
- (id)displayName;
- (void)setDisplayName:(id)fp8;
- (id)launchURLArgument;
- (void)_sendCurrentDeviceOrientation;
- (BOOL)activate;
- (BOOL)deactivate;
- (void)watchdogForDeactivate;
- (void)watchdogForResume;
- (void)watchdogForLaunch;
- (void)deactivated;
- (BOOL)kill;
- (void)_autoLaunchMailIfNeeded;
- (void)_relaunchAfterAbnormalExit;
- (void)exitedAbnormally;
- (void)exitedNormally;
- (unsigned int)priority;
- (int)failedLaunchCount;
- (void)removeAppPrefs;
- (void)launchFailed;
- (void)launchSucceeded;
- (int)PID;
- (void)setPID:(int)fp8;
- (int)memoryWarningCount;
- (void)setMemoryWarningCount:(id)fp8;
- (void)setRelaunchesAfterAbnormalExit:(BOOL)fp8;
- (BOOL)relaunchesAfterAbnormalExit;
- (void)noteAddedStatusBarItem:(id)fp8;
- (void)noteRemovedStatusBarItem:(id)fp8;
- (id)remoteApplication;
- (BOOL)showLaunchAlertForType:(int)fp8;
- (void)resetLaunchAlertForType:(int)fp8;
- (BOOL)isRunning;

@end

@interface SBAwayController : SBAlert
{
    SBUIController *_uiController;
    SBAwayModel *_model;
    SBAwayView *_awayView;
    NSTimer *_dimTimer;
    NSDate *_lockDate;
    SBAwayItem *_clickedItem;
    unsigned int _isLocked:1;
    unsigned int _isDimmed:1;
    unsigned int _isDimming:1;
    unsigned int _orderedOutDimmed:1;
    unsigned int _frontDimmed:1;
    unsigned int _isBlocked:1;
    unsigned int _makingEmergencyCall:1;
    unsigned int _appRequestedPasscodeEntry:1;
    unsigned int _needToMakeEmergencyCall:1;
    unsigned int _isSyncing:1;
    unsigned int _relockAfterUnlock:1;
    unsigned int _wasLockedBeforeSync:1;
    unsigned int _wasDeviceLockedBeforeSync:1;
    NSDictionary *_nowPlayingInfo;
    double _sleepDelay;
    SBSlidingAlertDisplay *_deviceUnlockDisplay;
    double _deviceLockBlockTime;
    double _deviceLockGracePeriodEndTimeInterval;
    NSTimeZone *_deviceLockGraceTimeZone;
    NSMutableArray *_pendingAlertItems;
    SBAlertItem *_currentAlertItem;
    int _notifyLockStateToken;
}

+ (id)sharedAwayController;
+ (void)registerForAlerts;
- (id)initWithUIController:(id)fp8;
- (id)awayModel;
- (void)applicationDidFinishLaunching:(id)fp8;
- (struct CGRect)alertWindowRect;
- (float)finalAlpha;
- (BOOL)undimsDisplay;
- (id)awayView;
- (id)alertDisplayViewWithSize:(struct CGSize)fp8;
- (void)alertDisplayWillBecomeVisible;
- (void)dealloc;
- (void)handleClickedItem:(id)fp8;
- (double)animateInDuration;
- (void)reactivatePendingAlertItems;
- (void)playLockSound;
- (void)_sendLockStateChangedNotification;
- (void)lock;
- (void)_unlockWithSound:(BOOL)fp8;
- (void)unlockWithSound:(BOOL)fp8;
- (void)unlockWithSound:(BOOL)fp8 alertDisplay:(id)fp12;
- (void)_resetGracePeriod;
- (void)_timeChanged;
- (void)_setupDeviceLockGracePeriod;
- (BOOL)isPasswordProtected;
- (void)activationChanged:(id)fp8;
- (BOOL)isDeviceLocked;
- (void)setDeviceLocked:(BOOL)fp8;
- (void)applicationRequestedDeviceUnlock;
- (void)cancelApplicationRequestedDeviceLockEntry;
- (void)_clearBlockedState;
- (BOOL)isBlocked;
- (BOOL)isPermanentlyBlocked:(double *)fp8;
- (void)noteSyncStateChanged;
- (BOOL)isSyncing;
- (void)noteResetRestoreStateChanged;
- (BOOL)isLocked;
- (void)lockBarStartedTracking:(id)fp8;
- (void)lockBarStoppedTracking:(id)fp8;
- (void)resetAwayItems;
- (void)frontLockedAnimationFinished;
- (void)_frontForSuspendedLockAfterDelay;
- (void)frontForSuspendedLockAfterDelay:(float)fp8;
- (BOOL)shouldAnimateOthersSuspension;
- (void)printLockLog;
- (void)frontLocked:(BOOL)fp8 animate:(BOOL)fp12 automatically:(BOOL)fp16;
- (void)attemptUnlock;
- (BOOL)isAttemptingUnlock;
- (void)_finishedUnlockAttemptWithStatus:(BOOL)fp8;
- (BOOL)attemptDeviceUnlockWithPassword:(id)fp8 alertDisplay:(id)fp12;
- (void)sleep;
- (void)preventIdleSleep;
- (void)wake;
- (void)cancelDimTimer;
- (void)restartDimTimer:(float)fp8;
- (BOOL)isDimmed;
- (BOOL)moveAlertItemToAwayView:(id)fp8;
- (void)cleansePendingQueueOfAwayItems;
- (void)dimTimerFired;
- (void)relockForButtonPress:(BOOL)fp8 afterCall:(BOOL)fp12;
- (void)relockForButtonPress:(BOOL)fp8 afterCall:(BOOL)fp12 dimmed:(BOOL)fp16;
- (double)sleepDelay;
- (void)delaySleepByNumberOfSeconds:(float)fp8;
- (void)dimScreen:(BOOL)fp8;
- (void)_undimScreen;
- (void)undimScreen;
- (void)activate;
- (BOOL)deactivate;
- (BOOL)allowsStackingOfAlert:(id)fp8;
- (BOOL)allowsInCallStatusBar;
- (int)statusBarMode;
- (BOOL)animatesDismissal;
- (void)orderOut;
- (void)didFinishAnimatingOut;
- (void)animator:(id)fp8 stopAnimation:(id)fp12;
- (void)clickItem:(id)fp8;
- (void)updateNowPlayingInfo:(id)fp8;
- (void)handleRequestedAlbumArtBytes:(char *)fp8 length:(unsigned int)fp12;
- (void)updateClockFormat;
- (void)makeEmergencyCall;
- (void)_activateEmergencyCall;
- (void)emergencyCallWasDisplayed;
- (void)emergencyCallWasRemoved;
- (BOOL)isMakingEmergencyCall;
- (void)didAnimateLockKeypadIn;
- (void)didAnimateLockKeypadOut;
- (id)currentAlertItem;
- (void)pendOrDeactivateCurrentAlertItem;
- (BOOL)isCurrentAlertItemRinging;
- (BOOL)attemptSnoozeRingingAlertItem;
- (void)stopRingingAlertItem;
- (void)snoozeOrStopRingingAlertItem;
- (BOOL)activateAlertItem:(id)fp8;
- (BOOL)wantsToHandleAlert:(id)fp8;
- (void)deactivateAlertItem:(id)fp8;
- (void)updateInCallUI;
- (BOOL)isShowingMediaControls;
- (void)hideMediaControls;
- (BOOL)_disableShowingMediaControls;
- (BOOL)toggleMediaControls;
- (void)toggleShowsIMEIandICCID:(id)fp8;

@end

@interface SBAwayDateView : UIView
{
    NSTimer *_dateTimer;
    TPLCDTextView *_timeLabel;
    TPLCDTextView *_titleLabel;
    NSString *_title;
    SBAwayMediaControlsView *_controlsView;
}

- (id)initWithFrame:(struct CGRect)fp8;
- (void)dealloc;
- (id)labelWithFontSize:(float)fp8 origin:(struct CGPoint)fp12 fontName:(const char *)fp20;
- (id)labelWithFontSize:(float)fp8 origin:(struct CGPoint)fp12;
- (void)updateLabels;
- (void)updateClockFormat;
- (void)updateClock;
- (void)setTitle:(id)fp8;
- (void)removeFromSuperview;
- (void)movedToSuperview:(id)fp8;
- (id)controlsView;
- (void)setIsShowingControls:(BOOL)fp8;
- (BOOL)isShowingControls;

@end

@interface SBAwayModel : NSObject
{
    SBAwayController *_controller;
    NSMutableArray *_standardVMs;
    NSMutableArray *_calls;
    NSMutableArray *_SMSs;
    NSMutableArray *_otherAwayItems;
}

- (id)initWithController:(id)fp8;
- (void)dealloc;
- (void)markAwayTime;
- (void)addOtherAwayItem:(id)fp8;
- (void)addCall:(struct __CTCall *)fp8;
- (void)addSMSMessage:(struct __CTSMSMessage *)fp8;
- (void)populateWithMissedCalls:(id)fp8;
- (void)populateWithMissedSMS:(id)fp8;
- (void)populateWithMissedEnhancedVoiceMails:(id)fp8;
- (id)missedItems;
- (int)uncoalescedMissedItemCount;
- (void)setStandardVoiceMailCount:(int)fp8;

@end

@interface SBAwayItem : NSObject
{
    NSString *_title;
    NSString *_secondTitle;
    int _uid;
    int _type;
    NSDate *_date;
    int _count;
}

- (id)initWithTitle:(id)fp8 uid:(int)fp12 type:(int)fp16 date:(id)fp20 count:(int)fp24;
- (id)initWithTitle:(id)fp8 uid:(int)fp12 type:(int)fp16 date:(id)fp20;
- (void)dealloc;
- (id)title;
- (void)setSecondTitle:(id)fp8;
- (id)secondTitle;
- (int)uid;
- (int)type;
- (id)description;
- (id)date;
- (int)compare:(id)fp8;
- (int)count;

@end

@interface SBTelephonyManager : NSObject
{
    NSString *_operatorName;
    unsigned int _usingWifi:1;
    unsigned int _iTunesNeedsToRecheckActivation:1;
}

+ (id)sharedTelephonyManager;
- (id)init;
- (struct __CTServerConnection *)_serverConnection;
- (void)updatePhoneNumberPrefs;
- (void)updateTTYIndicator;
- (double)inCallDuration;
- (void)updateSpringBoard;
- (void)updateAirplaneMode;
- (void)updateCalls;
- (void)_updateState;
- (void)updateLocale;
- (void)updateNetworkLocale;
- (void)handleSIMReady;
- (void)_whackGain:(id)fp8;
- (id)urlWithScheme:(id)fp8 fromDialingNumber:(id)fp12 abUID:(int)fp16 urlPathAddition:(id)fp20;
- (id)displayForOutgoingCallURL:(id)fp8;
- (void)_mainThreadDaemonRestart:(struct __CFDictionary *)fp8;
- (void)_delayedAudioResume;
- (long long)getRowIDOfLastCallInsert;
- (id)allMissedCallsAfterRowID:(long long)fp8;
- (long long)getRowIDOfLastSMSInsert;
- (id)allUnreadSMSAfterRowID:(long long)fp8;
- (void)markMessageAsRead:(struct __CTSMSMessage *)fp8;
- (void)updateSMSBadges;
- (int)callCount;
- (BOOL)activeCallExists;
- (BOOL)heldCallExists;
- (BOOL)incomingCallExists;
- (BOOL)outgoingCallExists;
- (BOOL)inCallUsingReceiver;
- (BOOL)inCall;
- (void)disconnectIncomingCall;
- (void)answerIncomingCall;
- (void)answerIncomingCallEndingOthers;
- (void)swapCalls;
- (void)disconnectAllCalls;
- (void)disconnectCall;
- (void)disconnectCallAndActivateHeld;
- (void)unmute;
- (void)dumpBasebandState:(id)fp8;
- (BOOL)MALoggingEnabled;
- (void)powerOffRadio;
- (int)dataConnectionType;
- (BOOL)EDGEIsOn;
- (BOOL)isUsingDataConnection;
- (BOOL)isUsingWiFiConnection;
- (void)setIsUsingWiFiConnection:(BOOL)fp8;
- (void)copyICCID:(id *)fp8 IMEI:(id *)fp12;
- (void)configureForTTY:(BOOL)fp8;
- (BOOL)shouldPromptForTTY;
- (id)ttyTitle;
- (void)_resetCTMMode;
- (void)_headphoneChanged:(id)fp8;
- (void)_setRegistrationStatus:(int)fp8;
- (void)_updateRegistrationNow;
- (void)_cancelFakeService;
- (void)_startFakeServiceIfNecessary;
- (void)_stopFakeService;
- (id)_fetchOperatorName;
- (void)_reallySetOperatorName:(id)fp8;
- (void)setOperatorName:(id)fp8;
- (id)operatorName;
- (int)registrationStatus;
- (void)checkForRegistrationSoon;
- (void)kickStartSearching;
- (id)SIMStatus;
- (void)noteSIMUnlockAttempt;

@end

@interface SBStatusBarContentsView : UIView
{
    SBStatusBar *_statusBar;
    int _mode;
    BOOL _dimmed;
    UIView *_lockIconView;
    SBStatusBarTimeView *_timeView;
    SBStatusBarBatteryView *_batteryView;
    SBStatusBarSignalView *_signalView;
    SBStatusBarCarrierView *_carrierView;
    SBStatusBarIndicatorsView *_indicatorsView;
    SBStatusBarAirPortView *_airPortView;
    SBStatusBarNoServiceView *_noServiceView;
    SBStatusBarBluetoothView *_bluetoothView;
    SBStatusBarProgressView *_progressView;
    SBStatusBarBluetoothBatteryView *_bluetoothBatteryView;
}

+ (float)contentAlphaForMode:(int)fp8;
- (id)initWithStatusBar:(id)fp8 mode:(int)fp12;
- (void)dealloc;
- (id)statusBar;
- (void)buildContentViews;
- (void)updateContentViewsAlpha;
- (void)reflowContentViewsNow;
- (void)reflowContentViews;
- (void)stop;
- (void)start;
- (void)bluetoothBatteryAvailabilityChanged;
- (void)stopClock;
- (void)startClock;
- (void)updateClockFormat;
- (void)setShowsService:(BOOL)fp8 SIMStatus:(id)fp12;
- (void)significantTimeChange;
- (void)signalFormatChanged;
- (void)customTextChanged;
- (void)progressChanged;
- (void)cloakChanged;
- (void)setAirPortStrength:(int)fp8;
- (void)setShowsAirPort:(BOOL)fp8 animate:(BOOL)fp12;
- (void)indicatorsChanged;
- (void)setIsInAirplaneMode:(BOOL)fp8 animate:(BOOL)fp12;
- (void)loopCarrierNameIfNecessary;

@end

@interface SBStatusBarController : NSObject
{
    UIWindow *_slidingStatusBarWindow;
    int _slidingStatusBarAnimation;
    UIWindow *_animatingCallStatusBarWindow;
    UIWindow *_leftBottomCorner;
    UIWindow *_rightBottomCorner;
    SBStatusBar *_statusBarView;
    SBStatusBarContentsView *_statusBarContentsView;
    SBStatusBar *_transitioningStatusBarView;
    SBStatusBar *_animatingCallStatusBar;
    SBStatusBarContentsView *_transitioningStatusBarContentsView;
    unsigned int _isLocked:1;
    unsigned int _lockIsChanging:1;
    unsigned int _dimmed:1;
    unsigned int _showDimmerOverlay:1;
    unsigned int _animating:1;
    unsigned int _isInCall:1;
    unsigned int _airplaneMode:1;
    unsigned int _showsProgress:1;
    unsigned int _cloakStatusBar:1;
    unsigned int _showAirport:1;
    unsigned int _animateDefaultStatusBarDown:1;
    unsigned int _animateDefaultStatusBarUp:1;
    NSMutableArray *_statusBarIndicatorNames;
    int _mode;
    int _orientation;
    int _animatingCallStatusBarOrientation;
    NSString *_customText;
    int _airPortSignalStrength;
    int _queuedStatusBarMode;
    int _queuedStatusBarOrientation;
    float _duration;
    BOOL _telephonyControllerCheckedIn;
    BOOL _bluetoothControllerCheckedIn;
}

+ (id)sharedStatusBarController;
+ (BOOL)isLikeAFullScreenStatusBar:(int)fp8;
+ (id)statusBarImageNamed:(id)fp8 forMode:(int)fp12;
- (id)init;
- (void)dealloc;
- (void)preheatStatusBarForMode:(int)fp8 orientation:(int)fp12;
- (id)statusBarWindow;
- (id)statusBarView;
- (id)transitioningStatusBarView;
- (void)addStatusBarItem:(id)fp8;
- (void)setIsLocked:(BOOL)fp8;
- (BOOL)isLocked;
- (BOOL)isLockChanging;
- (void)setDimmed:(BOOL)fp8;
- (BOOL)dimmed;
- (BOOL)showDimmerOverlay;
- (void)setShowDimmerOverlay:(BOOL)fp8;
- (void)tearDownWindowForSlidingStatusBar:(id)fp8 overStatusBar:(id)fp12;
- (void)setupWindowForSlidingStatusBar:(id)fp8 overStatusBar:(id)fp12;
- (void)endCallStatusBarAnimationFinished;
- (void)resizeStatusBar:(float)fp8 grow:(BOOL)fp12;
- (void)setIsInCall:(BOOL)fp8;
- (BOOL)isInCall;
- (void)animateDefaultStatusBarDown;
- (BOOL)isAnimatingStatusBarDown;
- (void)animateDefaultStatusBarUp:(int)fp8;
- (BOOL)isAnimatingStatusBarUp;
- (BOOL)_isServiceAvailable;
- (id)_SIMStatus;
- (void)_SIMOrServiceStatusChanged;
- (void)_SIMStatusChanged:(id)fp8;
- (void)_serviceStatusChanged:(id)fp8;
- (void)setAirplaneModeIsEnabled:(BOOL)fp8;
- (BOOL)airplaneModeIsEnabled;
- (void)removeStatusBarItem:(id)fp8;
- (id)statusBarIndicatorNames;
- (id)customText;
- (void)setCustomText:(id)fp8;
- (void)setAirPortStrength:(int)fp8;
- (void)setShowsAirPort:(BOOL)fp8;
- (BOOL)showsAirPort;
- (int)airPortStrength;
- (void)setCloakStatusBar:(BOOL)fp8;
- (BOOL)cloakStatusBar;
- (void)updateProgressVisibility;
- (BOOL)showsProgress;
- (void)setStatusBarMode:(int)fp8 orientation:(int)fp12 duration:(float)fp16 fenceID:(int)fp20 animation:(int)fp24;
- (void)_setStatusBarSize:(BOOL)fp8;
- (void)_setTransitionalStatusBarSize:(BOOL)fp8;
- (void)finishSwitching;
- (void)statusBarDidFinishAnimatingDown;
- (void)restoreLevels;
- (void)statusBarDidFinishAnimatingUp;
- (void)switchBackstopFrom:(int)fp8 to:(int)fp12 fromOrientation:(int)fp16 toOrientation:(int)fp20 duration:(float)fp24 fenceID:(int)fp28 animation:(int)fp32;
- (void)orderStatusBarFront;
- (void)_finishStatusBarAnimation;
- (void)lockCurrentStatusBarForAnimation;
- (void)releaseLockedStatusBarForAnimationForDisplay:(id)fp8;
- (int)statusBarMode;
- (int)statusBarOrientation;
- (float)animationDuration;
- (void)significantTimeChange;
- (void)updateClockFormat;
- (void)signalFormatChanged;
- (void)checkInController:(int)fp8;
- (BOOL)telephonyControllerCheckedIn;
- (BOOL)bluetoothControllerCheckedIn;
- (void)loopCarrierNameIfNecessary;

@end

@interface SBZoomView : UIImageView
{
}

- (id)initWithFrame:(struct CGRect)fp8 image:(id)fp24 isInCall:(BOOL)fp28 preventSplit:(BOOL)fp32;

@end

@interface WhiteBorderedTextField : UITextField
{
}

- (void)drawBorder:(struct CGRect)fp8;
- (struct CGRect)textRect;
- (void)drawRect:(struct CGRect)fp8;

@end

@interface BorderedPushButton : UIPushButton
{
}

- (void)_sizeToFit;
- (void)drawButtonPart:(int)fp8 inRect:(struct CGRect)fp12;

@end

@interface SBUSSDAlertDisplay : SBAlertDisplay
{
    TPBottomButtonBar *_responseBar;
    UIView *_notifyView;
    UIView *_replyView;
    UITransitionView *_transitionView;
    UIScroller *_scroller;
    UIView *_contentView;
    SBTextDisplayView *_charsRemainingView;
    UIProgressIndicator *_progressIndicator;
    UITextField *_responseField;
    BOOL _allowsResponse;
}

- (id)initWithFrame:(struct CGRect)fp8;
- (id)_notifyView;
- (id)_replyView;
- (void)dealloc;
- (void)displayString:(id)fp8 centerVertically:(BOOL)fp12;
- (void)alertDisplayWillBecomeVisible;
- (void)alertDisplayBecameVisible;
- (void)_setupResponseBar;
- (void)alertStringAvailable:(id)fp8;
- (BOOL)allowsResponse;
- (void)setAllowsResponse:(BOOL)fp8;
- (BOOL)textField:(id)fp8 shouldInsertText:(id)fp12 replacingRange:(struct _NSRange)fp16;
- (void)_updateCharsRemaining;
- (void)_textChanged:(id)fp8;
- (void)_replyClicked;
- (void)_okayClicked;
- (void)_cancelClicked;
- (void)navigationBar:(id)fp8 buttonClicked:(int)fp12;

@end

@interface SBAccessoryController : NSObject
{
    NSDictionary *_lingoToApplicationMap;
    NSMutableDictionary *_availableAccessories;
}

+ (id)sharedAccessoryController;
- (id)init;
- (void)dealloc;
- (void)reloadLingoToApplicationMap;
- (void)_enableAccessoryIfNeeded:(id)fp8 forLingo:(int)fp12;
- (void)_disableAccessoryIfNeeded:(id)fp8 forLingo:(int)fp12;
- (void)accessoryAvailabilityChanged:(int)fp8 availability:(int)fp12;

@end

@interface SBAwayView : SBSlidingAlertDisplay
{
    BOOL _isDimmed;
    BOOL _deferAwayItemFetching;
    BOOL _showingBlockedIndicator;
    SBAwayChargingView *_chargingView;
    SBAwayDateView *_dateView;
    SBNowPlayingArtView *_albumArtView;
    SBAwayItemsView *_awayItemsView;
    SBActivationView *_activationView;
    NSTimer *_mediaControlsTimer;
    UIImage *_controlsLCDBG;
    UIImage *_priorLCDBG;
    NSDictionary *_nowPlayingInfo;
    UIImage *_nowPlayingArt;
    NSString *_lastTrackArtPath;
    NSTimer *_blockedStatusUpdateTimer;
    UIAlertSheet *_alertSheet;
    SBAwayInCallController *_inCallController;
    TPBottomLockBar *_lockBar;
    TPBottomButtonBar *_cancelSyncBar;
    UIPushButton *_infoButton;
}

+ (id)createBottomBarForInstance:(id)fp8;
+ (id)lockLabels:(BOOL)fp8 fontSize:(float *)fp12;
- (void)_clearBlockedStatusUpdateTimer;
- (id)initWithFrame:(struct CGRect)fp8;
- (void)postLockCompletedNotification:(BOOL)fp8;
- (void)dealloc;
- (void)_postLockCompletedNotification;
- (void)finishedAnimatingIn;
- (void)dismiss;
- (void)setBottomLockBar:(id)fp8;
- (BOOL)shouldAnimateIn;
- (void)startAnimations;
- (void)stopAnimations;
- (void)showInfoButton;
- (void)hideInfoButton;
- (void)updateInterface;
- (void)setMiddleContentAlpha:(float)fp8;
- (void)setDimmed:(BOOL)fp8;
- (void)setDrawsBlackBackground:(BOOL)fp8;
- (void)lockBarUnlocked:(id)fp8;
- (void)lockBarStartedTracking:(id)fp8;
- (void)lockBarStoppedTracking:(id)fp8;
- (void)updateLockBarLabel;
- (BOOL)shouldShowBlockedRedStatus;
- (void)_updateBlockedStatusLabel;
- (void)showBlockedStatus;
- (void)removeBlockedStatus;
- (void)_updateBlockedStatus;
- (id)dateView;
- (void)removeDateView;
- (void)addDateView;
- (id)inCallController;
- (BOOL)shouldShowInCallInfo;
- (void)updateInCallInfo;
- (void)_positionAwayItemsView;
- (void)hideAwayItems;
- (void)showAwayItems;
- (BOOL)hasAwayItems;
- (void)setShowingDeviceLock:(BOOL)fp8 duration:(float)fp12;
- (void)showAlertSheet:(id)fp8;
- (void)removeAlertSheet;
- (void)slideAlertSheetOut:(BOOL)fp8 direction:(BOOL)fp12 duration:(float)fp16;
- (void)_batteryStatusChanged:(id)fp8;
- (id)chargingView;
- (void)addChargingView;
- (void)hideChargingView;
- (void)clearMediaControlsTimer;
- (void)restartMediaControlsTimer;
- (void)hideMediaControls;
- (void)showMediaControls;
- (void)toggleMediaControls;
- (BOOL)isShowingMediaControls;
- (void)showSyncingBottomBar:(BOOL)fp8;
- (void)hideSyncingBottomBar:(BOOL)fp8;
- (void)hideNowPlaying;
- (id)nowPlayingArtView;
- (void)musicPlayerDied:(id)fp8;
- (void)updateNowPlayingInfo:(id)fp8;
- (BOOL)updateNowPlayingArt;
- (void)handleRequestedAlbumArtBytes:(char *)fp8 length:(unsigned int)fp12;
- (void)animateToShowingDeviceLock:(BOOL)fp8;

@end

@interface SBAwayItemsView : UIAlertSheet
{
    NSArray *_displayedItems;
    float _widestLabel;
}

+ (struct __GSFont *)createItemTypeFont;
- (id)init;
- (void)dealloc;
- (BOOL)reloadData;
- (BOOL)hasAwayItems;
- (void)drawItems;
- (void)drawRect:(struct CGRect)fp8;

@end

@interface VolumeControl : NSObject
{
    UIWindow *_volumeWindow;
    VolumeControlView *_volumeView;
    BOOL _windowVisible;
    BOOL _debounce;
    int _mode;
    double _lastButtonEventTime;
    NSMutableSet *_alwaysHiddenCategories;
    NSString *_lastDisplayedCategory;
    NSString *_lastEventCategory;
}

+ (id)sharedVolumeControl;
- (id)init;
- (void)dealloc;
- (void)reorientHUDIfNeeded:(BOOL)fp8;
- (void)_createUI;
- (void)_tearDown;
- (void)_orderWindowOut:(id)fp8;
- (void)addAlwaysHiddenCategory:(id)fp8;
- (void)removeAlwaysHiddenCategory:(id)fp8;
- (BOOL)_HUDIsDisplayableForCategory:(id)fp8;
- (float)_windowFadeDelay;
- (void)_orderWindowFront:(id)fp8 forCategory:(id)fp12;
- (BOOL)_allowVolumeChangeForCategory:(id)fp8;
- (void)_changeVolumeBy:(float)fp8;
- (float)_calcButtonRepeatDelay;
- (void)increaseVolume;
- (void)decreaseVolume;
- (void)hideHUD;
- (void)showHUD;
- (id)lastDisplayedCategory;
- (void)setHUDMode:(int)fp8;
- (void)handleVolumeEvent:(struct __GSEvent *)fp8;
- (void)cancelVolumeEvent;
- (void)animationDidStop:(id)fp8 finished:(id)fp12;
- (void)_registerForAVSystemControllerNotifications;
- (void)_unregisterForAVSystemControllerNotifications;
- (void)_serverConnectionDied:(id)fp8;
- (int)_volumeModeForCategory:(id)fp8;
- (void)_systemVolumeChanged:(id)fp8;

@end

@interface VolumeControlView : UIView
{
    float _volume;
    int _mode;
    BOOL _headphonesPresent;
    UITextLabel *_label1;
    UITextLabel *_label2;
    NSString *_line1;
    NSString *_line2;
}

+ (void)loadImages;
+ (struct CGSize)controlSize;
- (id)initWithFrame:(struct CGRect)fp8;
- (void)_checkHeadphonesPresent;
- (void)setMode:(int)fp8;
- (void)setVolume:(float)fp8 mode:(int)fp12;
- (float)volume;
- (void)_updateLabelStrings;
- (void)dealloc;
- (BOOL)_showLabel;
- (void)_drawLine1;
- (void)_drawLine2;
- (void)drawRect:(struct CGRect)fp8;

@end

@interface SBNowPlayingReflectionView : UIImageView
{
    UIImage *_image;
}

- (void)dealloc;
- (void)setImage:(id)fp8;
- (void)drawRect:(struct CGRect)fp8;

@end

@interface SBNowPlayingArtView : UIView
{
    UIImageView *_imageView;
    UIView *_reflection;
}

- (void)dealloc;
- (void)setAlbumArtImage:(id)fp8 maxSize:(float)fp12;
- (id)albumArtImage;
- (void)setReflectionVisible:(BOOL)fp8 withDuration:(float)fp12;

@end

@interface SBDisplayStack : NSObject
{
    NSMutableArray *_displayStack;
    void *_pushCallback;
    void *_popCallback;
}

- (id)init;
- (void)_setDisplayStack:(id)fp8;
- (id)copyWithZone:(struct _NSZone *)fp8;
- (void)dealloc;
- (void)setPushCallBack:(void *)fp8;
- (void)setPopCallBack:(void *)fp8;
- (BOOL)isEmpty;
- (void)pushDisplay:(id)fp8;
- (id)pop;
- (void)flushWithoutCallbackSparingDisplay:(id)fp8;
- (id)popDisplay:(id)fp8;
- (id)displays;
- (id)topDisplay;
- (id)topApplication;
- (id)topAlert;
- (id)description;

@end

@interface SBDisplay : NSObject
{
    NSMutableDictionary *_activationValues;
    NSMutableDictionary *_deactivationValues;
    int _activationSettings;
    int _deactivationSettings;
    NSMutableSet *_suppressVolumeHudCategories;
    float _autoDimOverride;
    float _autoLockOverride;
    unsigned int _expectsFaceContact:1;
    unsigned int _disallowTouchPoints:1;
    unsigned int _accelerometerDeviceOrientationChangedEventsEnabled:1;
    unsigned int _accelerometerRawEventsEnabled:1;
    unsigned int _proximityEventsEnabled:1;
    unsigned int _showsProgress:1;
}

+ (void)loadDisplayStates;
+ (void)saveDisplayStates;
+ (void)setDefaultValue:(id)fp8 forKey:(const id)fp12 displayIdentifier:(id)fp16;
+ (id)defaultValueForKey:(const id)fp8 displayIdentifier:(id)fp12;
+ (void)resetDefaultValuesForDisplayIdentifier:(id)fp8;
- (void)dealloc;
- (id)copyWithZone:(struct _NSZone *)fp8;
- (id)displayIdentifier;
- (void)clearActivationSettings;
- (void)setActivationSetting:(int)fp8 flag:(BOOL)fp12;
- (void)setActivationSetting:(int)fp8 value:(id)fp12;
- (id)activationValue:(int)fp8;
- (BOOL)activationSetting:(int)fp8;
- (void)clearDeactivationSettings;
- (void)setDeactivationSetting:(int)fp8 flag:(BOOL)fp12;
- (BOOL)deactivationSetting:(int)fp8;
- (void)setDeactivationSetting:(int)fp8 value:(id)fp12;
- (id)deactivationValue:(int)fp8;
- (BOOL)activate;
- (BOOL)deactivate;
- (void)deactivated;
- (BOOL)kill;
- (void)exitedAbnormally;
- (void)exitedNormally;
- (BOOL)allowsEventOnlySuspension;
- (BOOL)allowsInCallStatusBar;
- (void)updateStatusBar:(float)fp8 fence:(int)fp12 animation:(int)fp16;
- (void)updateStatusBar:(float)fp8;
- (int)statusBarMode;
- (int)statusBarOrientation;
- (float)autoDimTime;
- (void)setAutoDimTime:(float)fp8;
- (float)autoLockTime;
- (void)setAutoLockTime:(float)fp8;
- (void)setExpectsFaceContact:(BOOL)fp8;
- (BOOL)expectsFaceContact;
- (void)setAccelerometerDeviceOrientationChangedEventsEnabled:(BOOL)fp8;
- (BOOL)accelerometerDeviceOrientationChangedEventsEnabled;
- (void)setAccelerometerRawEventsEnabled:(BOOL)fp8;
- (BOOL)accelerometerRawEventsEnabled;
- (void)setProximityEventsEnabled:(BOOL)fp8;
- (BOOL)proximityEventsEnabled;
- (void)setShowsProgress:(BOOL)fp8;
- (BOOL)showsProgress;
- (void)setSystemVolumeHUDEnabled:(BOOL)fp8 forCategory:(id)fp12;
- (BOOL)showSystemVolumeHUDForCategory:(id)fp8;
- (void)setTouchPointsAllowed:(BOOL)fp8;
- (BOOL)touchPointsAllowed;
- (id)description;
- (id)activationSettingsDescription;
- (id)deactivationSettingsDescription;

@end

@interface NSMutableArray (SBArrayStackAdditions)
- (void)push:(id)fp8;
- (id)pop;
- (id)popObject:(id)fp8;
- (id)top;
@end

@interface SBStatusBarCarrierView : SBStatusBarContentView
{
    UIImage *_operatorIcon;
    SBStatusBarOperatorNameView *_operatorNameView;
    BOOL _operatorNameIsLooping;
}

- (id)init;
- (void)dealloc;
- (void)start;
- (void)stop;
- (void)clearLastOperatorNameLooped;
- (void)loopOperatorNameToBeginning:(id)fp8 didFinish:(id)fp12;
- (void)loopOperatorNameToEnd;
- (void)finishedLoopingOperatorName:(id)fp8 didFinish:(id)fp12;
- (void)startOperatorNameLooping:(id)fp8;
- (void)loopIfNecessary;
- (void)setOperatorName:(id)fp8;
- (id)_imageForOperatorName:(id)fp8 statusBarIsFullScreenOpaque:(BOOL)fp12;
- (id)operatorIconForName:(id)fp8;
- (struct CGSize)defaultSize;
- (void)operatorNameChanged;

@end

@interface SBStatusBarOperatorNameView : SBStatusBarContentView
{
    float _letterSpacing;
    NSString *_operatorName;
    BOOL _fullSize;
}

- (id)initWithOperatorName:(id)fp8;
- (void)dealloc;
- (id)operatorNameStyle;
- (void)drawRect:(struct CGRect)fp8;
- (float)calculateLetterSpacingForOperatorName:(id)fp8;
- (id)operatorName;
- (void)setOperatorName:(id)fp8 fullSize:(BOOL)fp12;

@end

@interface SBStatusBarTimeView : SBStatusBarContentView
{
    NSTimer *_dateTimer;
    NSString *_time;
    struct CGRect _textRect;
}

- (id)init;
- (void)updateClockFormat;
- (void)dealloc;
- (void)start;
- (void)stop;
- (void)drawRect:(struct CGRect)fp8;
- (void)tile;

@end

@interface SBStatusBarBatteryView : SBStatusBarContentView
{
    int _batteryCapacity;
    BOOL _batteryCharging;
    BOOL _isOnAC;
}

- (void)updateBattery;
- (void)_batteryStatusChanged:(id)fp8;
- (id)init;
- (void)dealloc;
- (void)start;
- (void)stop;
- (void)setBatteryCapacity:(int)fp8 andCharging:(BOOL)fp12 isOnAC:(BOOL)fp16;
- (void)drawRect:(struct CGRect)fp8;
- (void)mouseUp:(struct __GSEvent *)fp8;

@end

@interface SBStatusBarSignalView : SBStatusBarContentView
{
    int _dBm;
    int _signalStrength;
}

- (id)init;
- (void)dealloc;
- (void)start;
- (void)stop;
- (int)barsForRawDBM:(float)fp8;
- (void)setSignalStrength:(int)fp8;
- (void)drawRect:(struct CGRect)fp8;
- (void)mouseUp:(struct __GSEvent *)fp8;

@end

@interface SBStatusBarContentView : UIView
{
    SBStatusBarContentsView *_contentsView;
    int _mode;
}

- (id)initWithContentsView:(id)fp8;
- (id)initWithFrame:(struct CGRect)fp8;
- (void)setMode:(int)fp8;
- (int)effectiveModeForImages;
- (void)start;
- (void)stop;
- (struct __GSFont *)textFont;
- (void)drawText:(id)fp8 atPoint:(struct CGPoint)fp12 forWidth:(float)fp20 ellipsis:(int)fp24;
- (void)enableShadow;

@end

@interface SBStatusBarIndicatorsView : SBStatusBarContentView
{
}

- (id)init;
- (void)reloadIndicators;

@end

@interface SBPowerDownController : SBAlert
{
    int _count;
    id _delegate;
    SBPowerDownView *_powerDownView;
    BOOL _isFront;
}

+ (id)sharedInstance;
- (void)dealloc;
- (float)autoLockTime;
- (BOOL)isOrderedFront;
- (void)orderFront;
- (void)orderOut;
- (id)powerDownView;
- (void)activate;
- (BOOL)deactivate;
- (id)alertDisplayViewWithSize:(struct CGSize)fp8;
- (void)alertDisplayWillBecomeVisible;
- (void)setDelegate:(id)fp8;
- (void)powerDown;
- (void)cancel;

@end

@interface SBPowerDownView : SBAlertDisplay
{
    UIView *_dimView;
    TPTopLockBar *_lockView;
    TPBottomButtonBar *_cancelView;
    SBPowerDownController *_powerDownController;
    NSTimer *_autoDismissTimer;
}

- (id)initWithFrame:(struct CGRect)fp8;
- (void)dealloc;
- (void)cancelAutoDismissTimer;
- (void)resetAutoDismissTimer;
- (void)cancel:(id)fp8;
- (void)lockBarUnlocked:(id)fp8;
- (void)lockBarStartedTracking:(id)fp8;
- (void)lockBarStoppedTracking:(id)fp8;
- (void)powerDown:(id)fp8;
- (void)setPowerDownController:(id)fp8;
- (void)finishedAnimatingIn;
- (void)finishedAnimatingOut;
- (void)notifyDelegateOfPowerDown;
- (void)animateIn;
- (void)animateOut;
- (void)animateDark;

@end

@interface SBInfoBubble : UIView
{
    NSString *_title;
    NSString *_string;
    struct CGRect _titleRect;
    struct CGRect _stringRect;
    UIPushButton *_backspace;
    UIProgressIndicator *_progressIndicator;
}

- (id)initWithTitle:(id)fp8 string:(id)fp12;
- (void)dealloc;
- (struct CGRect)_progressRect;
- (void)showProgressIndicator:(BOOL)fp8;
- (void)showBackspace:(BOOL)fp8;
- (void)highlight:(id)fp8;
- (void)unhighlight:(id)fp8;
- (void)backspace:(id)fp8;
- (void)resize;
- (void)setTitle:(id)fp8 string:(id)fp12;
- (id)title;
- (void)setTitle:(id)fp8;
- (void)drawRect:(struct CGRect)fp8;

@end

@interface SBPhoneApplicationIcon : SBApplicationIcon
{
    UIImageView *_blinkIcon;
    UIImage *_blinkOnIcon;
    unsigned int _isBlinking:1;
}

- (id)initWithApplication:(id)fp8;
- (void)dealloc;
- (id)icon;
- (void)_startTimer;
- (void)_stopTimer;
- (void)iconBecameVisible;
- (void)iconWillBeHidden;
- (void)alertWindowHidden;
- (void)startBlinking;
- (void)stopBlinking;
- (void)mouseUp:(struct __GSEvent *)fp8;
- (void)_activeCallStateChanged:(id)fp8;

@end

@interface UIView (LKLayerAccess)
- (id)lkLayer;
@end

@interface SBStatusBarInCallView : SBStatusBarContentView
{
    double _inCallDuration;
    NSString *_durationPreamble;
    struct CGSize _durationPreambleSize;
    struct __GSFont *_font;
    NSTimer *_durationTimer;
}

- (id)init;
- (void)dealloc;
- (void)start;
- (void)stop;
- (void)drawRect:(struct CGRect)fp8;

@end

@interface SBRingerHUDController : NSObject
{
}

+ (id)sharedInstance;
- (void)dealloc;
- (void)activate:(int)fp8;

@end

@interface SBCallWaitingAlertDisplay : SBCallAlertDisplay
{
    TPCallWaitingButton *_ignoreButton;
    TPCallWaitingButton *_answerButton;
    TPPushButton *_answerAndReleaseButton;
    TPBottomButtonBar *_animatingBottomBar;
    unsigned int _didRelease:1;
    unsigned int _didHeldRelease:1;
    unsigned int _setupForThree:1;
}

+ (id)createBottomBarForInstance:(id)fp8;
+ (id)_createBottomButtonBarForDisplay:(id)fp8;
- (id)initWithSize:(struct CGSize)fp8;
- (void)dealloc;
- (void)_callCountChanged:(id)fp8;
- (void)_callWaitingControlsFaded;
- (void)_answerButtonsSwapped;
- (void)_setPhoneFlipBackAttribute;
- (void)ignore;
- (void)dismiss;
- (id)additionalURLParameter;
- (void)answerCall:(struct __CTCall *)fp8;
- (void)answerAndRelease:(id)fp8;
- (void)setMiddleContentAlpha:(float)fp8;
- (void)lockBarUnlocked:(id)fp8;
- (void)_bottomBarSwitchHalfDone;
- (void)_bottomBarSwitchDone;
- (void)_addCallWaitingButtons:(BOOL)fp8;

@end

@interface SBCalendarIconContentsView : UIView
{
    unsigned int _highlighted:1;
}

- (id)initWithFrame:(struct CGRect)fp8;
- (void)dealloc;
- (void)setHighlighted:(BOOL)fp8;
- (void)drawRect:(struct CGRect)fp8;

@end

@interface SBCalendarApplicationIcon : SBApplicationIcon
{
    SBCalendarIconContentsView *_dateContents;
}

- (id)initWithApplication:(id)fp8;
- (void)dealloc;
- (void)setHighlighted:(BOOL)fp8;

@end

@interface SBIconList : UIView
{
    NSMutableArray *_iconMatrix;
    NSMutableArray *_removedIcons;
    unsigned int _scattered:1;
    unsigned int _needsLayout:1;
    unsigned int _stateIsDirty:1;
    unsigned int _allowJitter:1;
    unsigned int _showsInfoText:1;
    unsigned int _isJittering:1;
    UITextLabel *_infoTextView;
}

+ (id)sharedInstance;
+ (float)defaultHeight;
- (id)initWithFrame:(struct CGRect)fp8;
- (id)initWithDefaultSize;
- (void)dealloc;
- (int)maxIconRows;
- (int)maxIconColumns;
- (id)icons;
- (id)iconAtX:(int)fp8 Y:(int)fp12;
- (BOOL)firstFreeSlotX:(int *)fp8 Y:(int *)fp12;
- (int)emptySlots;
- (BOOL)isEmpty;
- (BOOL)compactIconsInIconList:(BOOL)fp8;
- (void)showIconAnimationDidStop:(id)fp8 didFinish:(id)fp12 icon:(id)fp16;
- (id)placeIcon:(id)fp8 atX:(int)fp12 Y:(int)fp16 animate:(BOOL)fp20 moveNow:(BOOL)fp24;
- (id)insertIcon:(id)fp8 atX:(int)fp12 Y:(int)fp16 moveNow:(BOOL)fp20;
- (BOOL)getX:(int *)fp8 Y:(int *)fp12 forIcon:(id)fp16;
- (BOOL)containsIcon:(id)fp8;
- (void)removeIconAtX:(int)fp8 Y:(int)fp12 compactEmptyLists:(BOOL)fp16 animate:(BOOL)fp20;
- (void)removeIcon:(id)fp8 compactEmptyLists:(BOOL)fp12 animate:(BOOL)fp16;
- (void)removeAllIcons;
- (BOOL)isScattered;
- (void)scatter:(BOOL)fp8;
- (void)unscatter:(BOOL)fp8 startTime:(double)fp12;
- (void)stopAnimations;
- (float)verticalIconPadding;
- (float)topIconPadding;
- (void)setIconsNeedLayout;
- (int)visibleIconsInRow:(id)fp8;
- (void)moveIconsToWindow;
- (void)clenseRemovedIcons;
- (float)leftMarginForIconRowArray:(id)fp8;
- (void)layoutIconsNow;
- (float)layoutIconsIfNeeded:(float)fp8 domino:(BOOL)fp12;
- (struct CGPoint)originForIconAtX:(int)fp8 Y:(int)fp12;
- (struct CGPoint)originForIcon:(id)fp8;
- (id)iconAtPoint:(struct CGPoint)fp8 X:(int *)fp16 Y:(int *)fp20;
- (id)iconAtPoint:(struct CGPoint)fp8 X:(int *)fp16 Y:(int *)fp20 proposedOrder:(int *)fp24;
- (BOOL)canShowInfoText;
- (void)removeInfoAnimation:(id)fp8 didFinish:(id)fp12 view:(id)fp16;
- (void)setShowsInfoText:(BOOL)fp8;
- (void)stopJittering;
- (void)startJittering;
- (void)noteEditingStateChanged;
- (void)setStateIsDirty:(BOOL)fp8;
- (BOOL)stateIsDirty;
- (BOOL)isDock;
- (void)resetWithDictionaryRepresentation:(id)fp8;
- (id)initWithDictionaryRepresentation:(id)fp8;
- (id)dictionaryRepresentation;

@end

@interface SBSoundPreferences : NSObject
{
}

+ (void)userDefaultsDidChanged:(id)fp8;
+ (id)calendarAlarmPath;
+ (id)ringtonePath;
+ (BOOL)playLockSound;
+ (id)vibratePattern;
+ (BOOL)vibrateWhenRinging;
+ (BOOL)vibrateWhenSilent;
+ (BOOL)shouldVibrateForCurrentRingerState;

@end

@interface SBSoundPreferences (Private)
+ (void)_loadDefaultsIfNeeded;
@end

@interface SBBatteryChargingView : UIView
{
    int _type;
    UIImageView *_topBatteryView;
    UIImageView *_bottomBatteryView;
    UIImageView *_reflectionView;
    UIImage *_lastBatteryImage;
    int _lastBatteryIndex;
    unsigned int _showReflection:1;
}

+ (struct CGSize)defaultSizeForType:(int)fp8;
+ (float)batteryHeightForType:(int)fp8;
+ (int)redChargeIndexForType:(int)fp8;
- (id)initWithFrame:(struct CGRect)fp8 type:(int)fp24;
- (void)dealloc;
- (void)setShowsReflection:(BOOL)fp8;
- (int)_currentBatteryIndex;
- (id)_imageFormatString;
- (void)_batteryStatusChanged:(id)fp8;

@end

@interface SBSlidingAlertDisplay : SBAlertDisplay
{
    UIImageView *_backgroundView;
    UIView *_topBar;
    UIView *_bottomBar;
    TPLCDView *_deviceLockStatusView;
    SBDeviceLockKeypad *_deviceLockKeypad;
    UIImageView *_deviceLockEntryBackground;
    UIPasscodeField *_deviceLockEntryField;
    SBEmergencyCallView *_emergencyCallView;
    UIView *_emergencyCallTopBar;
    BOOL _playKeyboardClicks;
    unsigned int _animatingEmergencyCall:1;
    unsigned int _animatingIn:1;
    unsigned int _animatingOut:1;
    unsigned int _shouldFenceAnimations:1;
    unsigned int _showingDeviceLock:1;
    unsigned int _attemptingUnlock:1;
    unsigned int _showingDeviceUnlockFailure:1;
}

+ (id)createTopBarForInstance:(id)fp8;
+ (id)createBottomBarForInstance:(id)fp8;
+ (void)setDisplayPropertiesForActivationOfAlert:(id)fp8;
- (void)_setTopBarImage:(id)fp8 shadowColor:(struct CGColor *)fp12;
- (void)_resetStatusTextView;
- (void)_clearUnlockFailedIndicator;
- (void)_showUnlockFailedIndicator;
- (id)initWithFrame:(struct CGRect)fp8;
- (void)dealloc;
- (id)lockBar;
- (struct CGRect)middleFrame;
- (void)getFrameForTopButton:(struct CGRect *)fp8 bottomButton:(struct CGRect *)fp12;
- (BOOL)showsDesktopImage;
- (void)updateDesktopImage:(id)fp8;
- (void)finishedAnimatingIn;
- (BOOL)shouldAnimateIconsIn;
- (BOOL)shouldAnimateIconsOut;
- (BOOL)isAnimatingOut;
- (void)_fadeOutCompleted:(id)fp8;
- (void)setMiddleContentAlpha:(float)fp8;
- (BOOL)isReadyToBeRemovedFromView;
- (float)durationForOthersActivation;
- (void)dismiss;
- (void)beginAnimatingDisplayIn:(BOOL)fp8;
- (void)performAnimateDisplayIn;
- (void)animateDisplayIn:(float)fp8 middleDelay:(float)fp12 animateStatusBar:(BOOL)fp16;
- (void)alertDisplayWillBecomeVisible;
- (void)setShouldFenceAnimations:(BOOL)fp8;
- (BOOL)isShowingDeviceLock;
- (struct CGRect)_entryFrame;
- (float)_startingKeypadXOrigin;
- (void)setShowingDeviceLock:(BOOL)fp8 duration:(float)fp12;
- (void)setShowingDeviceLock:(BOOL)fp8;
- (void)animateToShowingDeviceLock:(BOOL)fp8;
- (void)_animateToHidingOrShowingDeviceLockFinished;
- (void)_animateToShowingDeviceLockFinished;
- (void)_animateToHidingDeviceLockFinished;
- (void)deviceUnlockSucceeded;
- (void)deviceUnlockFailed;
- (void)deviceUnlockCanceled;
- (void)_enableEntry;
- (BOOL)shouldShowBlockedRedStatus;
- (void)showBlockedStatus;
- (void)removeBlockedStatus;
- (BOOL)isDisplayingErrorStatus;
- (void)_entryFinishedWithPassword:(id)fp8;
- (void)phonePad:(id)fp8 keyDown:(BOOL)fp12;
- (void)phonePad:(id)fp8 keyUp:(BOOL)fp12;
- (void)passcodeFieldDidAcceptEntry:(id)fp8;
- (void)_animateView:(id)fp8 direction:(int)fp12;
- (void)animateToEmergencyCall;
- (void)emergencyCallWasDisplayed;
- (void)animateFromEmergencyCallWithDuration:(float)fp8;
- (void)emergencyCallWasRemoved;
- (id)bottomBar;
- (id)topBar;

@end

@interface UIScroller (Centerable)
- (void)centerToContentView;
@end

@interface SBSMSClass0Alert : SBUSSDAlert
{
}

+ (void)registerForAlerts;
- (void)_unregisterForNotifications;
- (void)_registerForNotifications;
- (id)initWithString:(id)fp8;

@end

@interface SBSIMToolkitAlert : SBAlert
{
    BOOL _needsResponse;
    NSTimer *_timeoutTimer;
}

+ (struct __CTServerConnection *)simToolkitServerConnection;
+ (BOOL)wantsNextUserEvent;
+ (void)userEventOccurred;
+ (void)setCurrentAlert:(id)fp8;
+ (id)currentAlert;
+ (void)dismissCurrentAlert;
+ (void)test;
+ (void)_idleScreenShown:(id)fp8;
+ (void)_stopSTKMonitor;
+ (void)_startSTKMonitor;
+ (void)_restartMonitor;
+ (void)registerForAlerts;
- (void)setNeedsResponse:(BOOL)fp8;
- (BOOL)needsResponse;
- (void)sendResponse:(struct __CFString *)fp8 withString:(id)fp12;
- (void)sendResponse:(struct __CFString *)fp8 withBool:(BOOL)fp12;
- (void)sendResponse:(struct __CFString *)fp8;
- (void)_stopTone:(id)fp8;
- (BOOL)sendResponseUponDisplay;
- (void)dealloc;
- (BOOL)allowsEventOnlySuspension;
- (BOOL)deactivate;
- (void)_playTone:(struct __CFString *)fp8 forDuration:(float)fp12;
- (struct __CFString *)toolkitAlertType;
- (id)alertDisplayViewWithSize:(struct CGSize)fp8;
- (void)clearTimeoutTimer;
- (BOOL)_delayEnabled;
- (void)restartTimeoutTimer:(float)fp8;
- (void)startTimeoutTimerIfNecessary;
- (void)displayDidTimeout;

@end

@interface SBSIMToolkitAlert (PhoneAlert)
- (struct __CFString *)callPriority;
- (struct __CFString *)displayTextPriority;
- (BOOL)shouldRedial;
- (id)phoneNumber;
- (id)inCallText;
@end

@interface SBSIMToolkitSetUpCallDisplay : SBSIMToolkitTextAlertDisplay
{
}

+ (id)createBottomBarForInstance:(id)fp8;
- (void)dismiss:(id)fp8;
- (id)_activeCalls;
- (void)dial:(id)fp8;
- (id)alertText;

@end

@interface SBSIMToolkitListDisplay : SBSlidingAlertDisplay
{
    UITable *_table;
    NSArray *_items;
}

+ (id)createTopBarForInstance:(id)fp8;
- (void)dealloc;
- (id)_simToolkitListItems;
- (void)_selectListItem:(unsigned long)fp8;
- (id)initWithFrame:(struct CGRect)fp8;
- (BOOL)showsDesktopImage;
- (void)setMiddleContentAlpha:(float)fp8;
- (void)alertDisplayWillBecomeVisible;
- (void)navigationBar:(id)fp8 buttonClicked:(int)fp12;
- (int)numberOfRowsInTable:(id)fp8;
- (id)table:(id)fp8 cellForRow:(int)fp12 column:(id)fp16;
- (void)tableSelectionDidChange:(id)fp8;

@end

@interface SBSIMToolkitGetYesNoInputDisplay : SBSIMToolkitGetInputDisplay
{
}

+ (id)createBottomBarForInstance:(id)fp8;
- (void)yesPressed:(id)fp8;
- (void)noPressed:(id)fp8;

@end

@interface SBSIMToolkitGetInputDisplay : SBAlertInputView
{
}

- (void)navigationBar:(id)fp8 buttonClicked:(int)fp12;
- (void)alertDisplayWillBecomeVisible;
- (void)displayDidTimeout;
- (void)sbAlertInputViewSendClicked:(id)fp8;
- (void)sbAlertInputViewCancelClicked:(id)fp8;

@end

@interface SBSIMToolkitSentAlertDisplay : SBSIMToolkitTextAlertDisplay
{
}

- (id)alertText;

@end

@interface SBSIMToolkitTextAlertDisplay : SBSlidingAlertDisplay
{
    SBTextDisplayView *_contentView;
    UIScroller *_scroller;
}

+ (id)createTopBarForInstance:(id)fp8;
+ (id)createBottomBarForInstance:(id)fp8;
- (void)dealloc;
- (void)navigationBar:(id)fp8 buttonClicked:(int)fp12;
- (void)adjustScrollerFrame;
- (id)initWithFrame:(struct CGRect)fp8;
- (BOOL)showsDesktopImage;
- (void)setMiddleContentAlpha:(float)fp8;
- (void)displayDidTimeout;
- (id)alertText;
- (void)alertDisplayWillBecomeVisible;
- (void)accept:(id)fp8;
- (void)dismiss:(id)fp8;
- (void)dismiss;

@end

@interface UIAlertTableCell : UIPreferencesTableCell
{
}

@end

@interface SBAlertDisplay (SIMToolkitExtensions)
+ (struct CGColor *)alertBackgroundColor;
@end

@interface SBTextDisplayView : UIView
{
    NSString *_text;
    NSString *_style;
}

- (id)initWithWidth:(float)fp8 text:(id)fp12 style:(id)fp16;
- (void)dealloc;
- (void)_updateText;
- (void)setStyle:(id)fp8;
- (void)setText:(id)fp8;
- (void)drawRect:(struct CGRect)fp8;

@end

@interface SBAlertInputView : SBSlidingAlertDisplay
{
    UITextField *_inputTextField;
    UIKeyboard *_keyboard;
    SBTextDisplayView *_textDisplay;
    UIScroller *_scroller;
    UINavigationBar *_bar;
    BOOL _digitsOnly;
    id _delegate;
    int _minLength;
    int _maxLength;
}

+ (id)createTopBarForInstance:(id)fp8;
+ (id)createBottomBarForInstance:(id)fp8;
- (void)setDelegate:(id)fp8;
- (void)dealloc;
- (id)initWithFrame:(struct CGRect)fp8;
- (BOOL)showsDesktopImage;
- (void)setMiddleContentAlpha:(float)fp8;
- (void)setText:(id)fp8;
- (void)alertDisplayWillBecomeVisible;
- (void)setMinLength:(int)fp8;
- (void)setMaxLength:(int)fp8;
- (void)_setNavigationBar:(id)fp8;
- (void)_setInputTextField:(id)fp8;
- (void)_setKeyboard:(id)fp8;
- (BOOL)textField:(id)fp8 shouldInsertText:(id)fp12 replacingRange:(struct _NSRange)fp16;
- (void)setDigitsOnly:(BOOL)fp8;
- (void)sbAlertInputViewSendClicked:(id)fp8;
- (void)sbAlertInputViewCancelClicked:(id)fp8;
- (id)textField;
- (void)_sendClicked:(id)fp8;

@end

@interface RoundedBorderView : UIView
{
    struct CGColor *_color;
}

- (id)initWithFrame:(struct CGRect)fp8 color:(struct CGColor *)fp24;
- (void)dealloc;
- (void)drawRect:(struct CGRect)fp8;

@end

@interface NSCharacterSet (PhonePad)
+ (id)phonePadCharacterSet;
@end

@interface SBStatusBarAirPortView : SBStatusBarContentView
{
    int _signalStrength;
    unsigned int _showsAirPort:1;
    unsigned int _isPolling:1;
}

- (id)init;
- (void)dealloc;
- (void)start;
- (void)stop;
- (void)setAirPortStrength:(int)fp8;
- (void)setShowsAirPort:(BOOL)fp8;
- (void)dataConnectionTypeChanged;
- (void)drawRect:(struct CGRect)fp8;
- (void)mouseUp:(struct __GSEvent *)fp8;

@end

@interface EllipseWindow : UIWindow
{
    BOOL showEcho;
    BOOL inUse;
    BOOL isAnimating;
    struct CGPoint startLoc;
    double startTime;
}

+ (void)initialize;
+ (struct CGRect)constrainFrameToScreen:(struct CGRect)fp8;
- (void)fixupOrdering;
- (void)playTouchAnimation;
- (BOOL)isHidden;
- (void)setHidden:(BOOL)fp8;
- (void)finishHide;
- (void)animationDidStop:(id)fp8 finished:(BOOL)fp12;
- (void)showTouchImage:(BOOL)fp8;

@end

@interface SBUIController (SBHIDInterface)
- (void)displayTouchPoints;
@end

@interface SBUIController (ShowTouchPoints)
- (void)showTouchPoints:(void *)fp8;
@end

@interface SBUSSDAlert : SBAlert
{
    unsigned int _receivedString:1;
    unsigned int _dismissOnActivate:1;
    NSTimer *_delayedDismissTimer;
}

+ (void)registerForSettingsAlerts;
+ (void)registerForAlerts;
+ (void)test;
+ (id)errorStringForCode:(unsigned int)fp8;
+ (void)_daemonRestart:(id)fp8;
+ (void)_newSIM:(id)fp8;
- (void)dealloc;
- (id)alertDisplayViewWithSize:(struct CGSize)fp8;
- (void)USSDStringAvailable:(id)fp8 allowsResponse:(BOOL)fp12;
- (BOOL)allowsResponse;
- (BOOL)receivedString;
- (void)setDismissOnActivate:(BOOL)fp8;
- (void)_delayedDismiss;
- (BOOL)activate;
- (BOOL)deactivate;

@end

@interface NSMutableArray (PrefsNotifications)
- (void)addPrefNotification:(id)fp8 withUserInfo:(id)fp12;
- (id)_callForwardingString:(id)fp8;
- (id)_callWaitingString:(id)fp8;
- (id)_callBarringString:(id)fp8;
- (id)_fixedDialingString:(id)fp8;
- (id)_connectedLinePresentationString:(id)fp8;
- (id)_callingLinePresentationString:(id)fp8;
- (id)_connectedLineIDRestrictionString:(id)fp8;
- (id)_callingLineIDRestrictionString:(id)fp8;
- (id)_simLockString:(id)fp8;
- (id)_serviceCenterAddressString:(id)fp8;
- (id)_ssPasswordString:(id)fp8;
- (id)_alertStringForPref:(id)fp8;
- (id)prefsNotificationsAlertString;
@end

@interface NSDictionary (CTHelpers)
- (id)callClass;
- (id)callForwardingReason;
- (id)callBarringFacility;
- (id)callingLineIDRestrictionValue;
- (id)callingLinePresentationValue;
- (id)connectedLineIDRestrictionValue;
- (id)connectedLinePresentationValue;
- (id)enabledString;
- (id)serviceCenterAddress;
- (id)ssServiceType;
- (id)mmiProcedure;
- (struct __CFString *)settingType;
@end

@interface SBStatusBarNoServiceView : SBStatusBarContentView
{
    NSString *_errorString;
}

+ (id)displayStringForSIMStatus:(id)fp8;
+ (id)displayStringForRegistrationStatus:(int)fp8;
- (id)initWithErrorString:(id)fp8;
- (void)dealloc;
- (void)drawRect:(struct CGRect)fp8;
- (struct __GSFont *)textFont;

@end

@interface SBNetworkReselectionAlert : SBAlert
{
}

+ (void)registerForAlerts;
+ (void)test;

@end

@interface SBMobilityManagementAlert : SBAlert
{
}

+ (void)registerForAlerts;
+ (void)test;

@end

@interface Alarm : NSObject
{
    unsigned int _alarmHour;
    unsigned int _alarmMinute;
    int _alarmSetting;
    NSString *_alarmSoundIdentifier;
    NSString *_alarmTitle;
    NSCalendarDate *_snoozeUntilDate;
    unsigned int _isActive:1;
    unsigned int _repeats:1;
    unsigned int _allowsSnooze:1;
    unsigned int _dontSendUpdate:1;
    unsigned int _dontStopSnoozing:1;
    unsigned int _reserved:27;
}

- (id)description;
- (void)_update;
- (id)init;
- (id)_initWithDictionary:(id)fp8;
- (id)_prefsDictionary;
- (void)dealloc;
- (BOOL)alarmTimesEqualTo:(id)fp8;
- (void)setAlarmHour:(unsigned int)fp8 minute:(unsigned int)fp12;
- (void)getAlarmHour:(unsigned int *)fp8 minute:(unsigned int *)fp12;
- (id)_fireDateAfterDate:(id)fp8;
- (void)setActive:(BOOL)fp8;
- (BOOL)isActive;
- (void)setRepeats:(BOOL)fp8;
- (BOOL)repeats;
- (void)setDaySetting:(int)fp8;
- (int)daySetting;
- (void)setAllowsSnooze:(BOOL)fp8;
- (BOOL)allowsSnooze;
- (BOOL)isSnoozing;
- (void)startSnoozingFromDate:(id)fp8;
- (void)stopSnoozing;
- (id)_snoozeUntilDate;
- (void)setAlarmSoundIdentifier:(id)fp8;
- (id)alarmSoundIdentifier;
- (void)setAlarmTitle:(id)fp8;
- (id)alarmTitle;
- (void)_activateAlertItem;
- (void)fireAlarm;

@end

@interface AlarmController : NSObject
{
    ABRingtoneManager *_ringtoneManager;
    NSMutableArray *_alarmList;
    NSTimer *_alarmTimer;
    NSMutableArray *_alarmsToFire;
    unsigned int _readingAlarms:1;
    NSTimer *_countDownTimer;
    double _countDownTime;
    NSString *_countDownTimerSoundIdentifier;
    struct __CFDate *_alarmWakeupDate;
    struct __CFDate *_countdownWakeupDate;
}

+ (id)sharedAlarmController;
- (void)_readAlarms;
- (void)_saveAlarms;
- (void)_alarmChanged:(id)fp8;
- (void)_resetCountDownTime;
- (id)init;
- (void)dealloc;
- (unsigned int)addAlarm:(id)fp8;
- (void)removeAlarmAtIndex:(unsigned int)fp8;
- (id)alarms;
- (void)_scheduleAlarms;
- (void)_alarmTimeReached:(id)fp8;
- (void)setCountDownTime:(double)fp8 withSoundIdentifier:(id)fp16;
- (void)_countDownTimerFired:(id)fp8;
- (void)_sleepTimerFired:(id)fp8;
- (double)countDownTime;
- (id)countDownTimerSoundIdentifier;
- (void)_wokeFromSleep;
- (id)ringtoneManager;

@end

@interface SBCallFailureAlertItem : SBAlertItem
{
    int _causeCode;
    NSString *_address;
    struct __CTCall *_call;
}

- (id)initWithCauseCode:(long)fp8 call:(struct __CTCall *)fp12;
- (void)dealloc;
- (void)_callback;
- (id)lockLabel;
- (void)configure:(BOOL)fp8 requirePasscodeForActions:(BOOL)fp12;
- (void)performUnlockAction;
- (void)alertSheet:(id)fp8 buttonClicked:(int)fp12;

@end

@interface SBCallFailureAlertDisplay : SBSlidingAlertDisplay
{
}

+ (id)createTopBarForInstance:(id)fp8;
+ (id)createBottomBarForInstance:(id)fp8;
- (void)ignore:(id)fp8;
- (void)callBack:(id)fp8;
- (void)setAlert:(id)fp8;

@end

@interface SBCallFailureAlert : SBAlert
{
    int _causeCode;
    NSString *_address;
    int _uid;
    struct __CTCall *_call;
}

+ (BOOL)shouldDisplayForCauseCode:(long)fp8 modemCauseCode:(long)fp12;
+ (void)activateForCall:(struct __CTCall *)fp8 causeCode:(long)fp12;
+ (void)test;
- (id)initWithCauseCode:(long)fp8 call:(struct __CTCall *)fp12;
- (void)dealloc;
- (void)activateWhenPossible;
- (id)alertDisplayViewWithSize:(struct CGSize)fp8;
- (long)causeCode;
- (struct __CTCall *)call;
- (id)callAddress;
- (int)addressBookUID;
- (void)setCallAddress:(id)fp8;

@end

@interface SBUserNotificationCenter : NSObject
{
}

+ (void)startUserNotificationCenter;
+ (void)_userNotificationDone:(id)fp8;

@end

@interface SBUserNotificationAlert : SBAlertItem
{
    unsigned int _replyPort;
    int _token;
    int _timeout;
    unsigned int _requestFlags;
    NSString *_alertHeader;
    NSString *_alertMessage;
    NSString *_defaultButtonTitle;
    NSString *_alternateButtonTitle;
    id _textFieldTitles;
    id _textFieldValues;
    id _keyboardTypes;
    double _creationTime;
    unsigned int _replyFlags;
    unsigned int _cancel:1;
    unsigned int _isActivated:1;
    unsigned int _aboveLock:1;
    unsigned int _reserved:29;
}

- (id)_localizedValue:(id)fp8 withBundle:(id)fp12;
- (id)initWithMessage:(id)fp8 replyPort:(unsigned int)fp12 requestFlags:(int)fp16;
- (void)dealloc;
- (id)alertSheet;
- (int)token;
- (BOOL)shouldShowInLockScreen;
- (void)configure:(BOOL)fp8 requirePasscodeForActions:(BOOL)fp12;
- (void)wakeup;
- (void)cancel;
- (void)_sendResponse:(int)fp8;
- (void)alertSheet:(id)fp8 buttonClicked:(int)fp12;
- (void)didDeactivateForReason:(int)fp8;

@end

@interface UIUserNotificationAlertSheet : UIAlertSheet
{
}

- (void)dismiss;

@end

@interface SBDeviceLockKeypad : TPPhonePad
{
    UIImage *_deleteIcon;
    UIPushButton *_deleteButton;
    SBEmergencyCallButton *_emergencyCallButton;
    BOOL _showDeleteIcon;
    BOOL _playKeyboardClicks;
}

- (id)initWithFrame:(struct CGRect)fp8;
- (void)setPlaysKeyboardClicks:(BOOL)fp8;
- (BOOL)showsEmergencyCallButton;
- (void)setShowsEmergencyCallButton:(BOOL)fp8;
- (void)dealloc;
- (void)setShowsDeleteIcon:(BOOL)fp8;
- (id)_pressedImage;
- (void)hiddenFromView;
- (void)willBecomeVisible;
- (id)_keypadImage;
- (float)_yFudge;

@end

@interface SBTTYPromptAlert : SBAlert
{
    NSString *_number;
    int _uid;
}

+ (void)displayForNumber:(id)fp8 addressBookUID:(int)fp12;
+ (BOOL)dialNumberPromptingIfNecessary:(id)fp8 addressBookUID:(int)fp12 urlAddition:(id)fp16;
- (id)initWithNumber:(id)fp8 addressBookUID:(int)fp12;
- (void)dealloc;
- (id)alertDisplayViewWithSize:(struct CGSize)fp8;
- (id)number;
- (int)addressBookUID;

@end

@interface SBTTYPromptAlertDisplay : SBSlidingAlertDisplay
{
}

+ (id)createTopBarForInstance:(id)fp8;
+ (id)createBottomBarForInstance:(id)fp8;
- (id)initWithSize:(struct CGSize)fp8;
- (void)_makeCall;
- (void)_chooseVoiceMode:(id)fp8;
- (void)_chooseTTYMode:(id)fp8;
- (void)_ignore:(id)fp8;

@end

@interface SBStatusBarBluetoothView : SBStatusBarContentView
{
    UIImage *_icon;
    BOOL _animating;
    UIImageView *_activeView;
    UIImageView *_baseLayer;
    BOOL _isStarted;
}

+ (void)initialize;
- (id)icon;
- (id)init;
- (int)_effectiveMode;
- (void)_setupActiveView;
- (int)btStatus;
- (void)_btStatusChanged:(id)fp8;
- (void)_btDeviceConnected;
- (void)_btConnectionStatusChanged:(id)fp8;
- (void)_btDeviceDisconnected:(id)fp8;
- (void)animationDidStop:(id)fp8;
- (void)_start;
- (void)_btPowerPrefChanged:(id)fp8;
- (void)start;
- (void)stop;
- (void)dealloc;

@end

@interface SBMiniAlertController : NSObject
{
    SBApplication *_displayShowingAnAlert;
    UIWindow *_dimmingWindow;
    unsigned int _dontAskApps:1;
    unsigned int _reserved:31;
}

+ (id)sharedInstance;
- (id)dimImageForKeyboard:(BOOL)fp8;
- (void)showDimmingWindow;
- (void)finishedAnimatingDimWindowOut:(id)fp8 didFinish:(id)fp12;
- (void)cancelHideDimmingWindow;
- (void)hideDimmingWindowAfterDelay;
- (void)hideDimmingWindow;
- (void)deactivateAlertItemsWithBundleIdentifier:(id)fp8;
- (void)displayWillShowMiniAlert:(id)fp8;
- (id)displayShowingAnAlert;
- (void)setShouldAskApps:(BOOL)fp8;
- (void)displayWillDismissMiniAlert:(id)fp8 andShowAnother:(BOOL)fp12;
- (void)displayDidDisableMiniAlerts:(id)fp8;
- (void)showApplicationMiniAlertsIfNeeded;
- (void)hideApplicationMiniAlerts;
- (void)noteMiniAlertStateChanged;
- (BOOL)canShowAlerts;

@end

@interface SpringBoard (AlertSheetAdditions)
- (void)_alertSheetStackChanged;
@end

@interface SBEmergencyCallView : UIView
{
    UIView *_topBar;
}

- (id)initWithFrame:(struct CGRect)fp8 topBarFrame:(struct CGRect)fp24 bottomBarFrame:(struct CGRect)fp40;
- (id)topBar;
- (void)setTopBar:(id)fp8;
- (void)dealloc;

@end

@interface SBEmergencyCallButton : UIPushButton
{
    NSString *_subtitle;
}

+ (struct __GSFont *)defaultFont;
- (id)initWithFrame:(struct CGRect)fp8;
- (void)dealloc;
- (void)setSubtitle:(id)fp8;
- (id)styleStringForColor:(struct CGColor *)fp8;
- (void)drawTitleInRect:(struct CGRect)fp8;
- (void)drawButtonPart:(int)fp8 inRect:(struct CGRect)fp12;

@end

@interface SBAlertItem : NSObject
{
    UIAlertSheet *_alertSheet;
    BOOL _disallowUnlockAction;
    BOOL _orderOverSBAlert;
}

- (id)alertSheet;
- (void)dealloc;
- (BOOL)allowMenuButtonDismissal;
- (BOOL)shouldShowInLockScreen;
- (BOOL)shouldShowInEmergencyCall;
- (BOOL)undimsScreen;
- (BOOL)unlocksScreen;
- (BOOL)dismissOnLock;
- (BOOL)willShowInAwayItems;
- (void)cleanPreviousConfiguration;
- (void)configure:(BOOL)fp8 requirePasscodeForActions:(BOOL)fp12;
- (id)lockLabel;
- (float)lockLabelFontSize;
- (double)autoDismissInterval;
- (void)setDisallowsUnlockAction:(BOOL)fp8;
- (BOOL)disallowsUnlockAction;
- (void)performUnlockAction;
- (void)setOrderOverSBAlert:(BOOL)fp8;
- (void)willActivate;
- (void)didActivate;
- (void)willRelockForButtonPress:(BOOL)fp8;
- (void)dismiss;
- (void)screenDidUndim;
- (void)screenWillUndim;
- (void)willDeactivateForReason:(int)fp8;
- (void)didDeactivateForReason:(int)fp8;
- (id)awayItem;

@end

@interface SBAlertItemsController : NSObject
{
    NSMutableArray *_lockedAlertItems;
    NSMutableArray *_unlockedAlertItems;
    NSTimer *_autoDismissTimer;
}

+ (id)sharedInstance;
- (id)init;
- (void)dealloc;
- (void)convertAnimatingUnlockedAlertsToLockedAlerts;
- (void)deactivateAllAlertItems;
- (void)resetAutoDismissTimer;
- (void)activateAlertItem:(id)fp8;
- (void)_deactivateAlertItem:(id)fp8 reason:(int)fp12;
- (void)deactivateAlertItem:(id)fp8;
- (void)deactivateAlertItem:(id)fp8 reason:(int)fp12;
- (void)autoDismissAlertItem:(id)fp8;
- (BOOL)isShowingAlerts;
- (id)visibleAlertItem;
- (BOOL)deactivateAlertForMenuClick;
- (void)deactivateAlertItemsForLock;

@end

@interface SBSMSAlertItem : SBAlertItem
{
    struct __CTSMSMessage *_message;
    int _alignment;
    BOOL _alignmentHasBeenSet;
    BOOL _displayingEntireMessage;
}

+ (void)prefsChanged;
- (void)dealloc;
- (void)_tag;
- (void)_untag;
- (void)_deactivateAllTaggedSMSAlertItems;
- (void)willActivate;
- (void)didActivate;
- (void)didDeactivateForReason:(int)fp8;
- (void)setMessage:(struct __CTSMSMessage *)fp8;
- (void)_playMessageReceived;
- (void)willPresentAlertSheet:(id)fp8;
- (id)address;
- (id)messageText;
- (void)reply;
- (id)alertSheet;
- (void)_markReadIfDisplayingEntireMessage;
- (void)alertSheet:(id)fp8 buttonClicked:(int)fp12;
- (int)bodyTextAlignmentForAlertSheet:(id)fp8 displayedLineCount:(int)fp12;
- (void)performUnlockAction;
- (BOOL)_showSMSPreviewWithPasscodeEnabled;
- (void)configure:(BOOL)fp8 requirePasscodeForActions:(BOOL)fp12;
- (id)lockLabel;
- (BOOL)willShowInAwayItems;
- (BOOL)shouldShowInEmergencyCall;

@end

@interface SMSAlertSheet : UIAlertSheet
{
}

- (void)layout;

@end

@interface SBAlarmAlertItem : SBRingingAlertItem
{
    Alarm *_alarm;
    BOOL _snoozeAlarm;
}

- (id)initWithAlarm:(id)fp8;
- (void)dealloc;
- (void)setAlarm:(id)fp8;
- (id)alarm;
- (BOOL)allowsSnooze;
- (void)startSnoozingAndDeactivate;
- (id)lockLabel;
- (void)configure:(BOOL)fp8 requirePasscodeForActions:(BOOL)fp12;
- (id)soundIdentifier;
- (id)avClientName;
- (id)avAudioCategory;
- (void)alertSheet:(id)fp8 buttonClicked:(int)fp12;

@end

@interface SBSIMLockManager : NSObject
{
    BOOL _isInitialUpdate;
    int _status;
    SBSIMLockAlertItem *_currentAlert;
    SBSIMLockEntryAlert *_lockEntryAlert;
}

+ (id)sharedInstance;
- (void)dealloc;
- (BOOL)_hopelesslyPUKLocked;
- (int)_CTToSBSIMStatus:(struct __CFString *)fp8;
- (int)_statusFromCT;
- (void)lockEntryAlertDismissed:(id)fp8;
- (void)alertItemDismissed:(id)fp8;
- (void)repopAlert;
- (void)attemptUnlock;
- (void)_updateToStatus:(int)fp8;
- (void)_tryToUpdateStatus;
- (void)_tearDownAlertAndUpdateStatus;
- (void)_updateSIMStatus:(struct __CFString *)fp8 withOptions:(struct __CFDictionary *)fp12;
- (int)pinLockAttemptsRemaining;
- (int)pukLockAttemptsRemaining;
- (void)_initialUpdate;
- (void)registerForAlerts;
- (int)status;

@end

@interface SBSIMLockAlertItem : SBAlertItem
{
    int _status;
}

- (BOOL)canUnlock;
- (id)alertTitle;
- (id)alertText;
- (int)status;
- (void)didDeactivateForReason:(int)fp8;
- (void)unlock;
- (void)alertSheet:(id)fp8 buttonClicked:(int)fp12;
- (void)performUnlockAction;
- (void)configure:(BOOL)fp8 requirePasscodeForActions:(BOOL)fp12;
- (id)lockLabel;

@end

@interface SBSIMLockEntryAlert : SBAlert
{
    int _status;
}

- (id)alertDisplayViewWithSize:(struct CGSize)fp8;
- (int)status;
- (BOOL)deactivate;

@end

@interface SBSIMLockEntryAlertDisplay : SBSlidingAlertDisplay
{
}

- (id)_pinAttemptsRemainingLabel;
- (void)setupUnlockAttemptState;
- (id)failureTitle;
- (id)failureLabel;
- (void)setupFailureState;
- (id)titleText;
- (id)label;
- (void)setupCurrentLockAttemptState;
- (void)alertDisplayWillBecomeVisible;
- (void)setupSuccess;
- (void)_unlock:(id)fp8;
- (void)unlock;
- (void)phonePad:(id)fp8 keyUp:(BOOL)fp12;
- (void)passcodeFieldDidAcceptEntry:(id)fp8;

@end

@interface SBCalendarAlertItem : SBAlertItem
{
    double _date;
    NSString *_title;
    NSString *_location;
    int _eventId;
    BOOL _isAllDay;
}

+ (void)registerForAlerts;
+ (void)finishRegisteringForAlerts;
+ (void)alarmsDidFire:(id)fp8;
+ (void)alarmsDidSchedule:(id)fp8;
+ (void)significantTimeChange;
+ (void)didWakeFromSleep;
+ (void)adjustOnWake;
- (id)initWithDate:(double)fp8 title:(id)fp16 location:(id)fp20 eventId:(int)fp24 isAllDay:(BOOL)fp28;
- (void)dealloc;
- (id)_dateString:(BOOL)fp8;
- (void)configure:(BOOL)fp8 requirePasscodeForActions:(BOOL)fp12;
- (id)lockLabel;
- (void)didPresentAlertSheet:(id)fp8;
- (void)revealEvent;
- (void)alertSheet:(id)fp8 buttonClicked:(int)fp12;
- (void)performUnlockAction;
- (BOOL)shouldShowInEmergencyCall;
- (BOOL)willShowInAwayItems;
- (id)awayItem;

@end

@interface SBSIMLockPUKEntryAlertDisplay : SBSIMLockEntryAlertDisplay
{
    int _state;
    NSString *_enteredPUKCode;
    NSString *_newPIN;
}

- (void)dealloc;
- (id)_pukAttemptsRemainingLabel;
- (void)setupSuccess;
- (id)titleText;
- (void)setupFailureState;
- (id)label;
- (void)_attemptPUKUnlock;
- (void)unlock;

@end

@interface SBLowPowerAlertItem : SBAlertItem
{
    unsigned int _talkMinutesLeft;
    unsigned int _talkLevel;
}

+ (id)systemVersionDescription;
+ (void)saveLowBatteryLog;
+ (void)savePowerDiagnosisLogWithCurrentCapacity:(int)fp8 startCapacity:(int)fp12;
+ (unsigned int)_thresholdForLevel:(unsigned int)fp8;
+ (BOOL)_shouldIgnoreChangeToBatteryLevel:(unsigned int)fp8;
+ (void)setBatteryLevel:(unsigned int)fp8;
- (id)initWithTalkTimeLeft:(unsigned int)fp8 level:(unsigned int)fp12;
- (void)willPresentAlertSheet:(id)fp8;
- (void)configure:(BOOL)fp8 requirePasscodeForActions:(BOOL)fp12;
- (void)alertSheet:(id)fp8 buttonClicked:(int)fp12;
- (BOOL)shouldShowInLockScreen;
- (BOOL)shouldShowInEmergencyCall;
- (BOOL)undimsScreen;

@end

@interface SBNetworkReselectionAlertItem : SBPhoneAlertItem
{
}

+ (id)currentInstance;
+ (BOOL)hasCurrentInstance;
- (id)init;
- (void)_showPrefs;
- (id)lockLabel;
- (void)performUnlockAction;
- (void)configure:(BOOL)fp8 requirePasscodeForActions:(BOOL)fp12;
- (void)alertSheet:(id)fp8 buttonClicked:(int)fp12;
- (void)willDeactivateForReason:(int)fp8;

@end

@interface SBPhoneAlertItem : SBAlertItem
{
    NSString *_bodyText;
    NSString *_title;
}

- (id)initWithTitle:(id)fp8 bodyText:(id)fp12;
- (void)dealloc;
- (void)configure:(BOOL)fp8 requirePasscodeForActions:(BOOL)fp12;
- (void)alertSheet:(id)fp8 buttonClicked:(int)fp12;

@end

@interface SBLaunchAlertItem : SBAlertItem
{
    SBDisplay *_associatedDisplay;
    int _type;
    BOOL _isDataAlert;
}

- (id)initWithLaunchAlertType:(int)fp8 dataAlert:(BOOL)fp12;
- (void)dealloc;
- (void)setAssociatedWithDisplay:(id)fp8;
- (void)_displayDeactivated:(id)fp8;
- (BOOL)dismissOnLock;
- (id)alertSheet;
- (void)alertSheet:(id)fp8 buttonClicked:(int)fp12;

@end

@interface SBCountDownAlertItem : SBRingingAlertItem
{
}

- (id)lockLabel;
- (void)configure:(BOOL)fp8 requirePasscodeForActions:(BOOL)fp12;
- (id)soundIdentifier;
- (id)avClientName;
- (id)avAudioCategory;

@end

@interface SBWiFiAlertItem : SBAlertItem
{
    NSMutableArray *_networks;
    NSTimer *_scanTimer;
    UITable *_table;
    struct CGSize _size;
    int _joinRow;
    NSString *_password;
    NSDictionary *_joinDict;
    SBAlertItem *_childAlert;
    BOOL _selectingRow;
    BOOL _storedPassword;
    BOOL _passwordFailed;
}

- (void)scan;
- (id)init;
- (int)_joinRow;
- (void)setNetworks:(id)fp8;
- (void)setChildAlert:(id)fp8;
- (id)insertionsForNewNetworks:(id)fp8;
- (id)deletionSetForLostNetworks:(id)fp8 originalNetworks:(id)fp12;
- (void)wifiManager:(id)fp8 scanCompleted:(id)fp12;
- (void)_enableTable;
- (void)dismiss;
- (void)willDeactivateForReason:(int)fp8;
- (void)willActivate;
- (void)wifiManager:(id)fp8 joinCompleted:(int)fp12;
- (void)didPresentAlertSheet:(id)fp8;
- (void)passwordEntered:(id)fp8;
- (void)dealloc;
- (void)alertSheet:(id)fp8 buttonClicked:(int)fp12;
- (BOOL)allowMenuButtonDismissal;
- (void)performUnlockAction;
- (int)numberOfRowsInTable:(id)fp8;
- (id)table:(id)fp8 cellForRow:(int)fp12 column:(id)fp16;
- (void)tableSelectionDidChange:(id)fp8;
- (void)configure:(BOOL)fp8 requirePasscodeForActions:(BOOL)fp12;
- (BOOL)dismissOnLock;
- (void)didDeactivateForReason:(int)fp8;

@end

@interface SBWiFiCell : UIAlertSheetTableCell
{
    id _userInfo;
}

- (id)initWithFrame:(struct CGRect)fp8 networkDictionary:(id)fp24;
- (void)setUserInfo:(id)fp8;
- (id)userInfo;
- (void)layoutSubviews;
- (void)updateHighlightColors;

@end

@interface NSDictionary (SBWiFiAdditions)
- (int)compareNetworkDictionaryAscending:(id)fp8;
@end

@interface SBWiFiManager : NSObject
{
    struct _Apple80211 *_wireless;
    BOOL _busy;
    BOOL _joining;
    BOOL _cancel;
    NSLock *_lock;
    id _delegate;
}

+ (id)sharedInstance;
- (void)dealloc;
- (id)init;
- (void)setDelegate:(id)fp8;
- (void)cancel;
- (void)scan;
- (BOOL)busy;
- (BOOL)joining;
- (void)dismissAlerts;
- (void)_scanThread;
- (void)_scanComplete:(id)fp8;
- (void)_joinNetworkThread:(id)fp8;
- (void)_joinNetwork:(id)fp8;
- (void)_joinComplete:(id)fp8;
- (void)_SBAirPortUpdateTimer;
- (void)_SBAirPortPowerChanged;
- (void)_SBAirPortConfigurationChanged;
- (void)joinSecureNetwork:(id)fp8 password:(id)fp12;
- (void)joinNetwork:(id)fp8;

@end

@interface SBDiskSpaceAlertItem : SBAlertItem
{
}

- (void)alertSheet:(id)fp8 buttonClicked:(int)fp12;
- (void)performUnlockAction;
- (void)configure:(BOOL)fp8 requirePasscodeForActions:(BOOL)fp12;
- (BOOL)shouldShowInEmergencyCall;

@end

@interface SBWiFiSignalStrength : UIImageView
{
    int _bars;
    int _rawStrength;
    BOOL _hilited;
    BOOL _selected;
    BOOL _secure;
    BOOL _joining;
    UIImageView *_icon;
}

+ (void)hideSpinner;
- (void)setSpinnerHilited:(BOOL)fp8;
- (id)initWithFrame:(struct CGRect)fp8 inView:(id)fp24;
- (void)dealloc;
- (BOOL)joining;
- (void)setJoining:(BOOL)fp8;
- (void)updateStrength:(id)fp8;
- (BOOL)selected;
- (void)hide;
- (void)setSelected:(BOOL)fp8;
- (BOOL)hilited;
- (void)setHilited:(BOOL)fp8;
- (BOOL)secure;
- (void)setSecure:(BOOL)fp8;
- (void)updateImage;

@end

@interface SBWiFiPasswordAlertItem : SBAlertItem
{
    id _delegate;
    NSString *_name;
}

- (id)initWithNetworkName:(id)fp8;
- (void)dealloc;
- (void)setDelegate:(id)fp8;
- (void)dismiss;
- (void)alertSheet:(id)fp8 buttonClicked:(int)fp12;
- (void)returnKeyPressed:(id)fp8;
- (void)configure:(BOOL)fp8 requirePasscodeForActions:(BOOL)fp12;

@end

@interface SBLockdownManager : NSObject
{
    int _state;
    BOOL _settingUpActivationState;
    BOOL _isBricked;
    BOOL _hasShownWaitingAlertThisSession;
    BOOL _hasShownMismatchedSIM;
    SBDismissOnlyAlertItem *_activatingAlertItem;
}

+ (id)sharedInstance;
- (id)init;
- (BOOL)_hasEverRegistered;
- (void)_setHasEverRegistered:(BOOL)fp8;
- (BOOL)_isRegisteredToNetwork;
- (void)_setCurrentAlertItem:(id)fp8;
- (BOOL)_shouldShowTelephonyAlerts;
- (void)_postAlertsIfNeeded;
- (void)_resetActivationState;
- (void)_activationFailed;
- (void)_serviceAvailabilityChanged:(id)fp8;
- (void)_setupActivationState;
- (BOOL)brickedDevice;
- (int)lockdownState;
- (void)dealloc;
- (BOOL)hasOptionalPackage;

@end

@interface SBVoiceMailAlertItem : SBDismissOnlyAlertItem
{
    BOOL _isForVisualVoicemail;
    unsigned int _recordUID;
}

+ (id)currentInstance;
+ (BOOL)hasCurrentInstance;
- (BOOL)isForVisualVoicemail;
- (void)setIsVisualVoicemail:(BOOL)fp8 recordUID:(unsigned int)fp12;
- (void)didDeactivateForReason:(int)fp8;
- (BOOL)willShowInAwayItems;
- (void)performUnlockAction;
- (id)lockLabel;

@end

@interface SBDismissOnlyAlertItem : SBAlertItem
{
    NSString *_title;
    NSString *_body;
    double _autoDismissInterval;
    BOOL _hasDeactivated;
}

- (id)initWithTitle:(id)fp8 body:(id)fp12;
- (void)dealloc;
- (double)autoDismissInterval;
- (void)setAutoDismissInterval:(double)fp8;
- (void)setTitle:(id)fp8;
- (void)setBodyText:(id)fp8;
- (void)alertSheet:(id)fp8 buttonClicked:(int)fp12;
- (void)performUnlockAction;
- (void)configure:(BOOL)fp8 requirePasscodeForActions:(BOOL)fp12;
- (id)lockLabel;
- (void)didDeactivateForReason:(int)fp8;
- (BOOL)hasDeactivated;

@end

@interface SBAwayInCallController : NSObject
{
    TPLCDView *_lcdView;
    BOOL _showsInCallInfo;
    NSTimer *_durationTimer;
    struct __CTCall *_displayedCall;
    NSString *_localizedLabel;
    UIImage *_callerImage;
    BOOL _isFullScreen;
}

- (id)initWithLCDView:(id)fp8;
- (void)dealloc;
- (id)callerImage;
- (BOOL)callerImageIsFullScreen;
- (void)fetchCallInformation:(id *)fp8 name:(id *)fp12 label:(id *)fp16 image:(id *)fp20 isFullScreen:(char *)fp24;
- (void)updateDuration;
- (void)reload;
- (void)setShowsInCallInfo:(BOOL)fp8;

@end

@interface SBSyncController : NSObject
{
    int _syncState;
    int _restoreState;
    int _resetState;
    int _sofwareUpdateState;
    struct __CFMachPort *_backupAgentCFPort;
}

+ (id)sharedInstance;
- (void)dealloc;
- (void)startObserving;
- (void)stopObserving;
- (BOOL)isSyncing;
- (int)syncState;
- (void)didEndSyncing;
- (void)suspendSyncing;
- (void)resumeSyncing;
- (void)cancelSyncing;
- (void)_notifyAppsSyncWillBegin;
- (void)didShowSyncPanel;
- (void)frontLockedWhenPossible;
- (void)beginSyncing;
- (void)iTunesSyncRequestedStart;
- (void)iTunesSyncHasCompleted:(int)fp8;
- (BOOL)isRestoring;
- (int)restoreState;
- (void)_notifyRestoreCanProceed;
- (void)beginRestoring;
- (void)finishedTerminatingApplications;
- (void)cancelRestoring;
- (void)_rebootNow;
- (void)finishEndRestoring;
- (void)didEndRestoring:(int)fp8;
- (BOOL)isResetting;
- (int)resetState;
- (void)_delayedTurnOffRadio;
- (void)beginResetting;
- (void)didEndResetting;
- (void)_invalidateBackupAgentCFPort;
- (BOOL)_setupBackupAgentPort;
- (void)setSoftwareUpdateState:(int)fp8;
- (void)showPreSoftwareUpdateScreen;
- (BOOL)isSoftwareUpdating;
- (BOOL)isInUse;

@end

@interface SBActivationInfoAlertItem : SBDismissOnlyAlertItem
{
}

+ (id)activeItem;
- (BOOL)willShowInAwayItems;
- (void)didPresentAlertSheet:(id)fp8;
- (void)configure:(BOOL)fp8 requirePasscodeForActions:(BOOL)fp12;
- (void)willActivate;
- (void)didDeactivateForReason:(int)fp8;

@end

@interface NSString (Formatting)
- (id)ICCID;
- (id)IMEI;
@end

@interface ScreenFlash : NSObject
{
    UIWindow *_flashWindow;
    UIView *_flashView;
    BOOL _windowVisible;
}

+ (id)sharedScreenFlash;
- (void)_createUI;
- (void)_tearDown;
- (void)_orderWindowOut:(id)fp8;
- (void)_orderWindowFront:(id)fp8;
- (void)stopFlash;
- (void)flash;
- (void)animationDidStop:(id)fp8 finished:(id)fp12;

@end

@interface SBStatusBarProgressView : SBStatusBarContentView
{
    UIProgressIndicator *_progressIndicator;
    BOOL _wasLastUsingASlowConnection;
}

- (id)init;
- (void)dealloc;
- (void)dataConnectionTypeChanged;
- (void)start;
- (void)stop;
- (void)progressChanged;

@end

@interface SBDimmingWindow : UIWindow
{
}

+ (struct CGRect)constrainFrameToScreen:(struct CGRect)fp8;
- (id)initWithContentRect:(struct CGRect)fp8;
- (id)initWithDimmingImage:(id)fp8;

@end

@interface SBWiFiErrorAlertItem : SBAlertItem
{
    id _delegate;
    NSString *_name;
    int _error;
}

- (id)initWithNetworkName:(id)fp8 error:(int)fp12;
- (void)dealloc;
- (void)setDelegate:(id)fp8;
- (void)dismiss;
- (void)alertSheet:(id)fp8 buttonClicked:(int)fp12;
- (void)configure:(BOOL)fp8 requirePasscodeForActions:(BOOL)fp12;

@end

@interface SBRingingAlertItem : SBAlertItem
{
    AVController *_avController;
    NSTimer *_autoMuteTimer;
}

- (void)configure:(BOOL)fp8 requirePasscodeForActions:(BOOL)fp12;
- (id)soundIdentifier;
- (id)avClientName;
- (id)avAudioCategory;
- (id)avClientPriority;
- (BOOL)shouldShowInEmergencyCall;
- (BOOL)dismissOnLock;
- (float)lockLabelFontSize;
- (void)willPresentAlertSheet:(id)fp8;
- (void)startRingingAndVibrating;
- (void)_stopAutoMuteTimer;
- (void)_autoMute:(id)fp8;
- (void)alertSheet:(id)fp8 buttonClicked:(int)fp12;
- (void)willDeactivateForReason:(int)fp8;
- (void)stopRingingAndVibrating;
- (void)dealloc;

@end

@interface SBVoicemailManager : NSObject
{
    CDAnonymousStruct1 _alertMark;
    CDAnonymousStruct1 _awayItemMark;
    BOOL _hasVisualVoicemail;
    int _visualVoicemailSubscriptionToken;
}

+ (id)sharedInstance;
- (id)init;
- (void)dealloc;
- (void)setHasVisualVoicemail:(BOOL)fp8;
- (void)_updateVisualVoicemailState;
- (BOOL)_hasVisualVoicemail;
- (void)_mark:(CDAnonymousStruct1 *)fp8;
- (void)markForAlerts;
- (void)markForAwayItems;
- (void)mark;
- (id)copyVisualVoicemailRecordsForAwayItems;
- (void)_presentAlertForRecord:(void *)fp8 visualVoicemail:(BOOL)fp12;
- (void)_handleVoicemailAvailableNotification:(id)fp8;
- (void)_handleVoicemailStoreChangedNotification;

@end

@interface SBEdgeActivationAlertItem : SBAlertItem
{
    int _error;
    NSString *_reason;
}

- (id)initWithErrorCode:(int)fp8 reason:(id)fp12;
- (void)dealloc;
- (void)alertSheet:(id)fp8 buttonClicked:(int)fp12;
- (void)configure:(BOOL)fp8 requirePasscodeForActions:(BOOL)fp12;

@end

@interface SBDeviceLockPasscodeEntryAlert : SBAlert
{
}

+ (id)sharedInstance;
- (BOOL)deactivate;
- (int)statusBarMode;
- (id)alertDisplayViewWithSize:(struct CGSize)fp8;

@end

@interface SBDeviceLockPasscodeEntryAlertDisplay : SBSlidingAlertDisplay
{
}

- (void)useEmergencyCallButton;
- (void)deviceUnlockSucceeded;
- (void)deviceUnlockCanceled;
- (void)alertDisplayWillBecomeVisible;
- (void)dismiss;
- (float)delayForOthersActivation;
- (float)durationForOthersActivation;

@end

@interface SBAwayChargingView : UIView
{
    SBBatteryChargingView *_chargingView;
    SBBatteryChargingView *_headsetChargingView;
    unsigned int _animatingBatteries:1;
    unsigned int _updateAfterAnimation:1;
    unsigned int _showingDeviceBattery:1;
    unsigned int _showingHeadsetBattery:1;
}

+ (struct CGSize)defaultSize;
+ (BOOL)shouldShowDeviceBattery;
+ (BOOL)shouldShowHeadsetBattery;
- (id)initWithFrame:(struct CGRect)fp8 awayView:(id)fp24;
- (void)dealloc;
- (void)updateInterface:(BOOL)fp8;
- (id)chargingView;
- (void)addChargingView;
- (void)hideChargingView;
- (id)headsetChargingView;
- (void)addHeadsetChargingView;
- (void)hideHeadsetChargingView;
- (struct CGPoint)_dualBatteryPositionForBattery:(id)fp8;
- (struct CGPoint)_singleBatteryPositionForBattery:(id)fp8;
- (void)_switchFromBattery:(id)fp8 toView:(id)fp12 animate:(BOOL)fp16;
- (void)_slideBattery:(id)fp8 toShowBattery:(id)fp12 animate:(BOOL)fp16;
- (void)_slideBattery:(id)fp8 toHideBattery:(id)fp12 animate:(BOOL)fp16;
- (void)_finishedFadeForSwitch:(id)fp8 finished:(BOOL)fp12 context:(id)fp16;
- (void)_finishedSlideForSlideToReveal:(id)fp8 finished:(BOOL)fp12 context:(id)fp16;
- (void)_finishedHideForHideToSlide:(id)fp8 finished:(BOOL)fp12 context:(id)fp16;
- (void)_batteryAnimationFinished:(id)fp8;
- (void)_test:(id)fp8;

@end

@interface SBRestoreFailureAlertItem : SBAlertItem
{
}

- (void)configure:(BOOL)fp8 requirePasscodeForActions:(BOOL)fp12;
- (double)autoDismissInterval;
- (void)_rebootNow;
- (void)restartSystemEvent;
- (void)performUnlockAction;
- (void)alertSheet:(id)fp8 buttonClicked:(int)fp12;
- (BOOL)allowMenuButtonDismissal;
- (BOOL)shouldShowInLockScreen;

@end

@interface SBWiFiDontAskAlertItem : SBAlertItem
{
}

- (void)alertSheet:(id)fp8 buttonClicked:(int)fp12;
- (void)configure:(BOOL)fp8 requirePasscodeForActions:(BOOL)fp12;

@end

@interface SBPlatformController : NSObject
{
    NSString *_currentConfigurationName;
    NSMutableDictionary *_currentConfiguration;
    NSMutableDictionary *_currentCapabilities;
    void *_shmem;
}

+ (id)sharedInstance;
- (id)init;
- (void)dealloc;
- (id)systemVersion;
- (id)infoForCapability:(id)fp8;
- (void)setInfo:(id)fp8 forCapability:(id)fp12;
- (BOOL)hasCapability:(id)fp8;
- (id)platformName;
- (id)iconState;
- (BOOL)matchesPlatforms:(id)fp8;
- (id)disallowedDisplayIdentifiers;
- (id)localizedPlatformName;

@end

@interface SBPlatformController (private)
- (id)currentConfigurationName;
- (void)postCurrentConfiguration;
- (void)_addConfigurationNamed:(id)fp8 toCompositeDictionary:(id)fp12;
- (BOOL)allowSensitiveUI;
- (void)discoverCurrentConfiguration;
- (void)loadBundlesForCurrentConfiguration;
- (void)noteConfigurationChanged:(id)fp8;
- (void)runPrefUpdateToolIfNeeded;
@end

@interface SBNowPlayingAlertSheet : UIAlertSheet
{
    unsigned int _layoutAsLocked:1;
}

- (void)_positionControlButton:(int)fp8 withFloor:(float)fp12;
- (void)layout;
- (void)setLayoutAsLocked:(BOOL)fp8;

@end

@interface SBNowPlayingAlertItem : SBAlertItem
{
    unsigned int _seeked:1;
}

+ (id)currentInstance;
+ (BOOL)hasCurrentInstance;
- (id)init;
- (id)createCenteredLabel:(BOOL)fp8;
- (void)_updateLabelWithTag:(int)fp8 text:(id)fp12 faded:(BOOL)fp16 cursor:(float *)fp20 sheet:(id)fp24;
- (void)updateInformation:(BOOL)fp8;
- (id)_createButtonWithImage:(id)fp8 action:(SEL)fp12 tag:(int)fp16;
- (id)alertSheet;
- (void)willActivate;
- (void)willDeactivateForReason:(int)fp8;
- (BOOL)allowMenuButtonDismissal;
- (void)configure:(BOOL)fp8 requirePasscodeForActions:(BOOL)fp12;
- (void)alertSheet:(id)fp8 buttonClicked:(int)fp12;
- (void)_clearSeekedFlag:(id)fp8;
- (void)_controlButtonAction:(id)fp8;
- (void)_volumeChange:(id)fp8;
- (void)viewHandleTouchPause:(id)fp8 isDown:(BOOL)fp12;
- (double)viewTouchPauseThreshold:(id)fp8;
- (void)_registerForNowPlayingNotifications;
- (void)_unregisterForNowPlayingNotifications;
- (void)_registerForVolumeNotifications;
- (void)_unregisterForVolumeNotifications;
- (void)_nowPlayingChanged:(id)fp8;
- (void)_systemVolumeChanged:(id)fp8;

@end

@interface SBNowPlayingAlertItemPushButton : UIPushButton
{
}

- (struct CGRect)hitRect;
- (BOOL)pointInside:(struct CGPoint)fp8 forEvent:(struct __GSEvent *)fp16;

@end

@interface SBAwayMediaControlsView : UIView
{
    unsigned int _seeked:1;
    UIPushButton *_prevButton;
    UIPushButton *_nextButton;
    UIPushButton *_playPauseButton;
    UIScrubberControl *_slider;
}

- (id)initWithFrame:(struct CGRect)fp8;
- (void)dealloc;
- (id)_createButtonWithImage:(id)fp8 action:(SEL)fp12 tag:(int)fp16;
- (void)layoutSubviews;
- (void)_updateInformation;
- (void)setAlpha:(float)fp8;
- (void)_clearSeekedFlag:(id)fp8;
- (void)_controlButtonAction:(id)fp8;
- (void)_volumeChange:(id)fp8;
- (void)viewHandleTouchPause:(id)fp8 isDown:(BOOL)fp12;
- (double)viewTouchPauseThreshold:(id)fp8;
- (void)_registerForNowPlayingNotifications;
- (void)_unregisterForNowPlayingNotifications;
- (void)_registerForVolumeNotifications;
- (void)_unregisterForVolumeNotifications;
- (void)_nowPlayingChanged:(id)fp8;
- (void)_systemVolumeChanged:(id)fp8;

@end

@interface SBIconController : NSObject
{
    SBIconModel *_iconModel;
    UIView *_contentView;
    UIScroller *_scroller;
    SBTouchPageIndicator *_pageIndicator;
    int _currentIconListIndex;
    TPLCDTextView *_idleText;
    SBApplicationIcon *_pendingIcon;
    SBIcon *_lastClickedIcon;
    double _lastClickedTime;
    SBIcon *_grabbedIcon;
    SBIconList *_grabbedIconList;
    int _grabbedX;
    int _grabbedY;
    SBIcon *_swappedIcon;
    SBIconList *_swappedIconList;
    int _swappedX;
    int _swappedY;
    SBIconList *_destinationIconList;
    int _destinationX;
    int _destinationY;
    NSTimer *_scrollPageTimer;
    unsigned int _didScroll:1;
    unsigned int _isScrolling:1;
    unsigned int _isEditing:1;
    unsigned int _compacted:1;
    unsigned int _willSwap:1;
    unsigned int _animatingToNewState:1;
    unsigned int _animateToNewStateAfterDelay:1;
    unsigned int _showSpreadHole:1;
    SBBookmarkIcon *_bookmarkIconToInstall;
    struct CGPoint _lastDragLoc;
    SBReorderInfoAlert *_reorderInfoAlert;
}

+ (id)sharedInstance;
- (id)init;
- (void)dealloc;
- (id)contentView;
- (void)showInfoAlertIfNeeded;
- (BOOL)allowsIconReordering;
- (int)lowestVisibleIconListIndex;
- (void)startJitteringCurrentIconLists;
- (void)stopJitteringCurrentIconLists;
- (void)_jitterOptionsChanged;
- (void)jitterOptionsChanged;
- (void)touchPageIndicator:(id)fp8 didRecieveTouchInDirection:(int)fp12;
- (void)updateCurrentIconListIndexUpdatingPageIndicator:(BOOL)fp8;
- (id)currentIconList;
- (void)scrollToIconListContainingIcon:(id)fp8 animate:(BOOL)fp12;
- (void)scrollToIconListAtIndex:(int)fp8 animate:(BOOL)fp12;
- (void)updateContentSizeAndPageCount;
- (void)appendIconList:(id)fp8;
- (void)noteNumberOfIconListsChanged;
- (void)removeEmptyIconList:(id)fp8 animate:(BOOL)fp12;
- (void)relayoutIcons;
- (id)bookmarkIconToInstall;
- (void)setBookmarkIconToInstall:(id)fp8;
- (void)finishInstallingBookmarkIcon;
- (void)scrollToBookmarkIconDestination;
- (id)addIcon:(id)fp8 toIconList:(id)fp12 x:(int)fp16 y:(int)fp20 animate:(BOOL)fp24 moveNow:(BOOL)fp28 scrollToList:(BOOL)fp32;
- (id)insertIcon:(id)fp8 intoIconList:(id)fp12 X:(int)fp16 Y:(int)fp20 moveNow:(BOOL)fp24 duration:(float)fp28;
- (void)removeIcon:(id)fp8 animate:(BOOL)fp12;
- (void)uninstallIconDidAnimate:(id)fp8 finished:(id)fp12 icon:(id)fp16;
- (void)uninstallIcon:(id)fp8;
- (void)lcdTextViewCompletedScroll:(id)fp8;
- (float)idleModeTextHeight;
- (void)idleTextDidAnimate:(id)fp8 finished:(id)fp12 toText:(id)fp16;
- (void)updateNumberOfRowsWithDuration:(float)fp8;
- (BOOL)hasIdleModeText;
- (void)setIdleModeText:(id)fp8;
- (void)scatter:(BOOL)fp8;
- (void)unscatter:(BOOL)fp8 startTime:(double)fp12;
- (void)scrollerWillStartSmoothScrolling:(id)fp8;
- (void)scrollerDidScroll:(id)fp8;
- (void)scrollerDidEndDragging:(id)fp8 willSmoothScroll:(BOOL)fp12;
- (void)scrollerDidEndSmoothScrolling:(id)fp8;
- (void)scrollerDidEndAnimatedScrolling:(id)fp8;
- (void)showAccessory:(id)fp8;
- (void)removeAccessory:(id)fp8;
- (void)launchIcon:(id)fp8;
- (void)doubleClickedIcon:(id)fp8;
- (void)clickedIcon:(id)fp8;
- (void)attemptPendingLaunch;
- (BOOL)hasLaunchPending;
- (void)pendLaunchOfIcon:(id)fp8;
- (int)reorderCount;
- (void)incrementReorderCount;
- (void)_addEmptyListIfNecessary;
- (void)setIsEditing:(BOOL)fp8;
- (BOOL)isEditing;
- (id)iconAnimationView;
- (void)moveIconToWindow:(id)fp8;
- (void)moveIconFromWindow:(id)fp8 toIconList:(id)fp12;
- (void)startDraggingIcon:(id)fp8 fromIconList:(id)fp12;
- (void)ungrabAnimation:(id)fp8 didFinish:(id)fp12 grabbedIcon:(id)fp16;
- (void)setGrabbedIcon:(id)fp8;
- (id)grabbedIcon;
- (int)spreadHoleX;
- (int)spreadHoleY;
- (id)destinationIconList;
- (void)cancelScrollTimer;
- (void)scrollLeft;
- (void)scrollRight;
- (void)noteGrabbedIconLocationChangedWithEvent:(struct __GSEvent *)fp8;
- (void)hideSpreadHole;
- (void)showSpreadHole;
- (void)compactIconsInIconLists:(BOOL)fp8 limitToIconList:(id)fp12;
- (void)animateToNewState:(float)fp8 domino:(BOOL)fp12;
- (void)moveAnimation:(id)fp8 didFinish:(id)fp12 movePlan:(id)fp16;
- (void)moveIcon:(id)fp8 fromIconList:(id)fp12 toX:(int)fp16 Y:(int)fp20 toIconList:(id)fp24;

@end

@interface SBIconScroller : UIScroller
{
    UIView *_lastHilightView;
}

- (void)highlightView:(id)fp8 state:(BOOL)fp12;
- (void)mouseUp:(struct __GSEvent *)fp8;

@end

@interface SBMovePlan : NSObject
{
    SBIcon *_icon;
    SBIconList *_source;
    SBIconList *_destination;
    int _x;
    int _y;
}

- (id)initWithIcon:(id)fp8 x:(int)fp12 y:(int)fp16 source:(id)fp20 destination:(id)fp24;
- (void)dealloc;
- (int)x;
- (int)y;
- (id)destination;
- (id)source;
- (id)icon;

@end

@interface SBDestinationHole : SBIcon
{
}

+ (id)sharedInstance;
- (id)_automationID;
- (id)displayIdentifier;
- (id)topRimmedIcon;
- (id)icon;
- (void)setDisplayedIcon:(id)fp8;
- (id)hilightedIcon;

@end

@interface SBReorderInfoAlert : SBDismissOnlyAlertItem
{
}

- (void)didDeactivateForReason:(int)fp8;

@end

@interface SBIconModel : NSObject
{
    NSDictionary *_iconState;
    NSMutableArray *_iconLists;
    SBButtonBar *_buttonBar;
    SBEditIcon *_editIcon;
    NSMutableDictionary *_allAppIcons;
    NSMutableArray *_displayedIcons;
    NSMutableDictionary *_accessoryIcons;
    NSMutableArray *_buttonBarIcons;
    NSMutableArray *_hiddenIconTags;
    NSMutableArray *_visibleIconTags;
    NSMutableArray *_duplicateIcons;
    NSMutableDictionary *_displayDefinitions;
    NSMutableArray *_displayModel;
}

+ (id)sharedInstance;
- (id)init;
- (void)dealloc;
- (void)changeVisibilityOfIconsWithVisibleTags:(id)fp8 hiddenTags:(id)fp12;
- (BOOL)iconIsVisible:(id)fp8;
- (id)_rolesForRoleDefinitions:(id)fp8;
- (id)_rolesForInfoPlist:(id)fp8;
- (id)displayNameForRoleDefinition:(id)fp8 inBundle:(id)fp12;
- (void)_updateSchemesForRoleDefinition:(id)fp8 displayIdentifier:(id)fp12;
- (void)_addApplicationsToBucket:(id)fp8 fromPath:(id)fp12 withTags:(id)fp16;
- (void)_addBookmarks;
- (id)bookmarkIconForDisplayIdentifier:(id)fp8;
- (void)loadAccessoryIcons;
- (void)reloadAllIcons;
- (id)allAppDisplayIdentifiers;
- (void)loadAllIcons;
- (id)editIcon;
- (id)buttonBarIcons;
- (id)iconForDisplayIdentifier:(id)fp8;
- (id)iconState;
- (void)noteIconStateChangedExternally;
- (id)buttonBar;
- (id)iconLists;
- (void)uninstallBookmarkIcon:(id)fp8;
- (id)iconListContainingIcon:(id)fp8;
- (id)addEmptyIconList;
- (void)removeEmptyIconList:(id)fp8;
- (void)compactIconLists;
- (id)firstAvailableIconListX:(int *)fp8 Y:(int *)fp12;
- (void)addIconToFirstAvailableList:(id)fp8 animate:(BOOL)fp12 scrollToList:(BOOL)fp16;
- (BOOL)iconListsAreDirty;
- (void)saveIconState;
- (void)relayout;

@end

@interface SBTVOutController : NSObject
{
}

+ (id)sharedInstance;
- (id)init;
- (void)dealloc;
- (void)mergeSetting:(struct __CFString *)fp8 iapSettings:(id)fp12 finalSettings:(id)fp16 settingMergeSelector:(SEL)fp20;
- (id)mergedTVOutSettingForUserSetting:(id)fp8 iapSetting:(id)fp12;
- (void)setIntialTVModeIfNeeded;
- (void)updateLayerKitSettings:(id)fp8;
- (void)updateSettings;

@end

@interface SBTVOutController (private)
- (void)startListeningForSettingsChanges;
- (void)stopListeningForSettingsChanges;
@end

@interface SBBluetoothController : NSObject
{
    NSMutableArray *_devices;
}

+ (id)sharedInstance;
- (void)dealloc;
- (id)firstBTDeviceToReportBatteryLevel;
- (BOOL)canReportBatteryLevel;
- (float)batteryLevel;
- (void)noteDevicesChanged;
- (void)startWatchingForDevices;
- (void)stopWatchingForDevices;
- (void)iapDeviceChanged:(id)fp8;
- (void)addDeviceNotification:(id)fp8;
- (void)removeDeviceNotification:(id)fp8;
- (void)connectionChanged:(id)fp8;
- (void)batteryChanged:(id)fp8;

@end

@interface SBStatusBarBluetoothBatteryView : SBStatusBarContentView
{
}

- (id)init;
- (void)start;
- (void)stop;
- (void)batteryLevelChanged;
- (void)drawRect:(struct CGRect)fp8;

@end

@interface SBMediaController : NSObject
{
    int _manualVolumeChangeCount;
    NSDictionary *_nowPlayingInfo;
}

+ (id)sharedInstance;
- (id)init;
- (void)dealloc;
- (void)setNowPlayingInfo:(id)fp8;
- (BOOL)hasTrack;
- (BOOL)isFirstTrack;
- (BOOL)isLastTrack;
- (BOOL)isPlaying;
- (BOOL)isMovie;
- (id)nowPlayingArtist;
- (id)nowPlayingTitle;
- (id)nowPlayingAlbum;
- (BOOL)changeTrack:(int)fp8;
- (BOOL)beginSeek:(int)fp8;
- (BOOL)endSeek:(int)fp8;
- (BOOL)togglePlayPause;
- (float)volume;
- (void)setVolume:(float)fp8;
- (void)handleVolumeEvent:(struct __GSEvent *)fp8;
- (void)_registerForAVSystemControllerNotifications;
- (void)_unregisterForAVSystemControllerNotifications;
- (void)_serverConnectionDied:(id)fp8;
- (void)musicPlayerDied:(id)fp8;
- (void)_systemVolumeChanged:(id)fp8;
- (BOOL)_performIAPCommand:(int)fp8 status:(int)fp12;

@end

@interface SBActivationView : UIView
{
    UIImageView *_backgroundView;
    SBStatusBarBatteryView *_batteryView;
}

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

@end

@interface SBWeatherApplicationIcon : SBApplicationIcon
{
}

- (id)initWithApplication:(id)fp8;
- (void)dealloc;
- (void)resetIcon;
- (BOOL)showFahrenheit;
- (id)icon;

@end

@interface SBSMSApplication : SBApplication
{
}

- (id)pathForDefaultImage:(char *)fp8;

@end

@interface SBVODController : NSObject
{
    NSMutableArray *_alarms;
    NSMutableSet *_alarmsToFire;
    NSMutableSet *_alarmsToFireWhenMovieEnds;
    NSTimer *_timer;
    NSTimer *_movieTimeoutTimer;
    unsigned int _reloadingForBoot:1;
}

+ (id)sharedInstance;
- (id)init;
- (void)dealloc;
- (void)didWakeFromSleep;
- (void)reloadAlarms:(BOOL)fp8;
- (void)iTunesSyncRequestedStart;
- (void)iTunesSyncHasCompleted:(int)fp8;
- (void)_alarmFired:(id)fp8;
- (void)_presentAlarmAlerts:(id)fp8;
- (void)_presentAlarmsExpiringWithinTimeInterval:(double)fp8;
- (void)_scheduleTimer;
- (BOOL)_alarmIsExpired:(id)fp8 hints:(id)fp12;
- (id)_expiredAlarmsPath;
- (void)_noteExpiredAlarms:(id)fp8;
- (void)_movieEndTimeout:(id)fp8;
- (void)_nowPlayingInfoChanged;

@end

@interface SBVODAlertItem : SBAlertItem
{
    SBVODAlarm *_alarm;
}

+ (id)activeAlertForAlarm:(id)fp8;
- (void)dealloc;
- (void)setAlarm:(id)fp8;
- (void)configure:(BOOL)fp8 requirePasscodeForActions:(BOOL)fp12;
- (BOOL)unlocksScreen;
- (void)alertSheet:(id)fp8 buttonClicked:(int)fp12;
- (void)screenWillUndim;
- (void)willActivate;
- (void)willDeactivateForReason:(int)fp8;
- (void)_updateText;

@end

@interface SBBookmarkIcon : SBIcon
{
    NSBundle *_bundle;
    NSString *_displayName;
}

- (id)initWithBookmarkBundle:(id)fp8;
- (void)dealloc;
- (BOOL)allowsCloseBox;
- (id)bundle;
- (id)icon;
- (id)displayName;
- (id)displayIdentifier;
- (id)tags;
- (void)launch;
- (void)completeUninstall;

@end

@interface SBEditIcon : SBApplicationIcon
{
}

- (void)noteEditingStateChanged;
- (id)icon;
- (BOOL)allowsCloseBox;
- (void)completeUninstall;
- (id)_automationID;
- (id)displayIdentifier;
- (id)tags;
- (void)showAlertIfNeeded;
- (void)mouseDown:(struct __GSEvent *)fp8;
- (void)mouseDragged:(struct __GSEvent *)fp8;
- (float)grabDuration;
- (void)mouseUp:(struct __GSEvent *)fp8;

@end

@interface SBIconLabel : UIControl
{
    NSString *_label;
    unsigned int _inDock:1;
    unsigned int _ellipsesText:1;
    unsigned int _kerningAllowed:1;
    unsigned int _textMightOverlap:1;
}

+ (void)initialize;
+ (void)preheatStylizedStrings;
- (id)initWithSize:(struct CGSize)fp8 label:(id)fp16;
- (void)dealloc;
- (void)setInDock:(BOOL)fp8;
- (void)setEllipsesText:(BOOL)fp8;
- (void)setKerningAllowed:(BOOL)fp8;
- (void)drawRect:(struct CGRect)fp8;

@end

@interface SBIcon : UIControl
{
    UIImage *_icon;
    UIImage *_topRimmedIcon;
    UIImageView *_image;
    UIImageView *_reflection;
    SBIconBadge *_badge;
    SBIconLabel *_label;
    UIPushButton *_closeBox;
    unsigned int _drawsLabel:1;
    unsigned int _isHidden:1;
    unsigned int _isRevealable:1;
    unsigned int _inDock:1;
    unsigned int _isGrabbed:1;
    unsigned int _isGrabbing:1;
    unsigned int _isJittering:1;
    unsigned int _allowJitter:1;
    int _keyFrameIndex;
    struct CGPoint _unjitterPoint;
    struct CGPoint _grabPoint;
    NSTimer *_grabTimer;
}

+ (struct CGSize)defaultIconSize;
+ (void)resetJitterPoints;
+ (id)_jitterPositionAnimation;
+ (id)_jitterTransformAnimation;
- (id)initWithDefaultSize;
- (void)dealloc;
- (BOOL)shouldListInCapabilities;
- (void)resetIconImage;
- (BOOL)ignoresMouseEvents;
- (void)showIconAnimationDidStop:(id)fp8 didFinish:(id)fp12 icon:(id)fp16;
- (void)setIsHidden:(BOOL)fp8 animate:(BOOL)fp12;
- (BOOL)isHidden;
- (void)setIsRevealable:(BOOL)fp8;
- (BOOL)isRevealable;
- (id)subviews;
- (id)displayName;
- (id)displayIdentifier;
- (id)tags;
- (BOOL)launchEnabled;
- (void)setDisplayedIcon:(id)fp8;
- (id)icon;
- (id)topRimmedIcon;
- (id)hilightedIcon;
- (id)reflectedIcon:(BOOL)fp8;
- (void)layout;
- (void)updateLabelOrigin;
- (void)setDrawsLabel:(BOOL)fp8;
- (void)updateLabelKerning;
- (void)setBadge:(id)fp8;
- (id)_automationID;
- (BOOL)shouldTrack;
- (BOOL)pointMostlyInside:(struct CGPoint)fp8 forEvent:(struct __GSEvent *)fp16;
- (void)setHighlighted:(BOOL)fp8;
- (void)setInDock:(BOOL)fp8;
- (void)setOrigin:(struct CGPoint)fp8;
- (void)startJitteringAnimation;
- (void)stopJitteringAnimation;
- (void)setAllowJitter:(BOOL)fp8;
- (BOOL)allowJitter;
- (void)jitter;
- (void)unjitter;
- (void)setIconPosition:(struct CGPoint)fp8;
- (float)grabDuration;
- (void)setIsGrabbed:(BOOL)fp8;
- (void)grabbedIcon;
- (void)cancelGrabTimer;
- (void)mouseCancelInIcon:(id)fp8;
- (BOOL)cancelMouseTracking;
- (void)mouseDown:(struct __GSEvent *)fp8;
- (void)mouseDragged:(struct __GSEvent *)fp8;
- (void)mouseUp:(struct __GSEvent *)fp8;
- (id)dictionaryRepresentation;
- (void)launch;
- (BOOL)pointInside:(struct CGPoint)fp8 forEvent:(struct __GSEvent *)fp16;
- (BOOL)allowsCloseBox;
- (void)hideCloseBoxAnimationDidStop:(id)fp8 didFinish:(id)fp12 closeBox:(id)fp16;
- (void)setIsShowingCloseBox:(BOOL)fp8;
- (BOOL)isShowingCloseBox;
- (void)closeBoxClicked:(id)fp8;
- (void)completeUninstall;
- (id)description;

@end

@interface SBIconBadge : UIView
{
    NSString *_badge;
    struct CGSize _badgeContentSize;
}

- (id)initWithBadge:(id)fp8;
- (void)dealloc;
- (void)drawRect:(struct CGRect)fp8;

@end

@interface SBJitterPicker : SBAlertItem
{
    UISliderControl *_jitterDistanceSlider;
    UISliderControl *_jitterDurationSlider;
    UISliderControl *_jitterRotationSlider;
}

- (void)jitterDistanceChanged:(id)fp8;
- (void)jitterDurationChanged:(id)fp8;
- (void)jitterRotationChanged:(id)fp8;
- (void)configure:(BOOL)fp8 requirePasscodeForActions:(BOOL)fp12;
- (id)alertSheet;
- (void)alertSheet:(id)fp8 buttonClicked:(int)fp12;

@end

@interface SBJitterAlertSheet : UIAlertSheet
{
}

- (void)layout;

@end

@interface SBVODAlarm : NSObject
{
    NSString *_title;
    NSString *_path;
    NSDictionary *_rentalInfo;
    unsigned int _loadingRentalInfo:1;
    unsigned int _watched:1;
}

+ (void)cancelPendingLoads;
+ (void)_rentalInfoThread;
- (id)initWithDictionary:(id)fp8;
- (void)dealloc;
- (int)compare:(id)fp8;
- (id)expirationDate;
- (BOOL)hasLoaded;
- (BOOL)isExpired;
- (BOOL)rentalHasBeenWatched;
- (BOOL)hasFireDateSinceDate:(id)fp8;
- (id)nextFireDate;
- (id)path;
- (id)title;
- (id)_dateWithStartDate:(id)fp8 duration:(id)fp12;
- (id)_rentalInfo;
- (void)_setRentalInfo:(id)fp8;

@end

@interface SBDeleteIconAlertItem : SBAlertItem
{
    SBIcon *_icon;
}

- (id)initWithIcon:(id)fp8;
- (void)dealloc;
- (void)alertSheet:(id)fp8 buttonClicked:(int)fp12;
- (void)configure:(BOOL)fp8 requirePasscodeForActions:(BOOL)fp12;
- (BOOL)shouldShowInLockScreen;
- (BOOL)dismissOnLock;

@end

@interface SBTouchPageIndicator : UIPageIndicator
{
    id _delegate;
}

- (void)setDelegate:(id)fp8;
- (void)mouseUp:(struct __GSEvent *)fp8;

@end

