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

struct CGColor;

struct CGDisplayList;

struct CGPDFPage;

struct CGPoint {
    float x;
    float y;
};

struct CGRect {
    struct CGPoint _field1;
    struct CGSize _field2;
};

struct CGSize {
    float _field1;
    float _field2;
};

struct __GSEvent;

struct __GSFont;

typedef struct {
    struct CGRect _field1;
    struct CGRect _field2;
    struct CGRect _field3;
} CDAnonymousStruct1;

/*
 * File: Applications/MobileTimer.app/MobileTimer
 */

@protocol Clock
- (void)updateTime;
- (void)updateSweepBack;
@end

@protocol UIButtonBarItem
- (id)buttonBarTitle;
- (id)buttonBarImage;
- (id)buttonBarSelectedImage;
@end

@interface AppController : UIApplication
{
    UIWindow *_window;
    UIButtonBarController *_buttonBarController;
}

+ (id)backgroundRowImage;
+ (struct CGColor *)darkGrayBackgroundColor;
+ (struct CGColor *)mediumGrayLabelColor;
+ (CDAnonymousStruct1)buttonSlices;
+ (id)greenButtonImage;
+ (id)greenButtonPressedImage;
+ (id)redButtonImage;
+ (id)redButtonPressedImage;
- (void)applicationDidFinishLaunching:(id)fp8;
- (void)dealloc;
- (id)window;
- (BOOL)applicationSuspend:(struct __GSEvent *)fp8 settings:(id)fp12;

@end

@interface AnalogClockView : UIView <Clock>
{
    UIImageView *_background;
    HandView *_hourHand;
    HandView *_minsHand;
    HandView *_secsHand;
    BOOL _evening;
    float _seconds;
    int _sweepIndex;
    NSTimeZone *_timeZone;
}

+ (void)_updateTimes;
+ (void)_sweepBack;
+ (void)stopAllClocks;
+ (void)startAllClocks;
+ (void)registerClock:(id)fp8;
+ (void)unregisterClock:(id)fp8;
+ (struct CGSize)defaultSize;
- (id)initWithFrame:(struct CGRect)fp8;
- (void)dealloc;
- (void)updateSweepBack;
- (void)_setEvening:(BOOL)fp8;
- (void)updateTime;
- (void)setTimeZone:(id)fp8;
- (id)timeZone;

@end

@interface HandView : UIView
{
    NSString *_name;
    NSString *_pmname;
    NSBundle *_bundle;
    struct CGPoint _offset;
    float _handAngle;
    BOOL _evening;
    struct CGPoint _center;
    struct CGPoint _imageCenter;
}

- (struct CGPDFPage *)_loadImage:(id)fp8 inBundle:(id)fp12;
- (struct CGDisplayList *)_displayList:(id)fp8 inBundle:(id)fp12;
- (id)initWithPDFFile:(id)fp8 inBundle:(id)fp12;
- (void)dealloc;
- (void)setOffset:(struct CGPoint)fp8;
- (void)setHandAngle:(float)fp8;
- (float)handAngle;
- (void)setEvening:(BOOL)fp8;
- (void)drawRect:(struct CGRect)fp8;

@end

@interface AlarmViewController : TableViewController
{
    unsigned int _alarmsCount;
    int _alarmIndexToEdit;
}

- (id)init;
- (void)dealloc;
- (id)view;
- (id)navigationTitle;
- (void)editingDidChange:(BOOL)fp8 animate:(BOOL)fp12;
- (id)noItemsText;
- (float)itemsTableRowHeight;
- (void)_updateAlarmsCount;
- (int)numberOfItems;
- (id)addViewController;
- (void)showAddView;
- (void)showEditViewForIndex:(int)fp8;
- (void)dismissAddView:(id)fp8;
- (void)addAlarmViewAlarmAdded:(id)fp8;
- (BOOL)table:(id)fp8 canSelectRow:(int)fp12;
- (BOOL)table:(id)fp8 canDeleteRow:(int)fp12;
- (BOOL)table:(id)fp8 showDisclosureForRow:(int)fp12;
- (void)table:(id)fp8 deleteRow:(int)fp12;
- (id)table:(id)fp8 cellForRow:(int)fp12 column:(id)fp16 reusing:(id)fp20;
- (void)tableSelectionDidChange:(id)fp8;
- (id)buttonBarTitle;
- (id)buttonBarImage;
- (id)buttonBarSelectedImage;
- (id)defaultPNGName;

@end

@interface StopWatchViewController : UIViewController
{
    LapTimeView *_laptimeView;
    LapControl *_lapControl;
    LapTimeList *_laptimeList;
    NSTimer *_timer;
    NSDate *_startTime;
    double _offset;
    double _currentInterval;
    NSMutableArray *_laps;
    BOOL _timerRunning;
}

- (id)init;
- (void)dealloc;
- (id)view;
- (void)viewDidDisplayWithAnimation:(BOOL)fp8;
- (void)viewWillHideWithAnimation:(BOOL)fp8;
- (void)_savePrefs;
- (void)_loadPrefs;
- (void)_startTimer;
- (void)_stopTimer;
- (void)startLapTimer:(id)fp8;
- (void)_tick:(id)fp8;
- (void)pauseLapTimer:(id)fp8;
- (void)lapLapTimer:(id)fp8;
- (void)resetLapTimer:(id)fp8;
- (void)resumeLapTimer:(id)fp8;
- (int)numberOfRowsInTable:(id)fp8;
- (id)table:(id)fp8 cellForRow:(int)fp12 column:(id)fp16;
- (id)buttonBarTitle;
- (id)buttonBarImage;
- (id)buttonBarSelectedImage;
- (id)defaultPNGName;

@end

@interface TimerViewController : UIViewController
{
    UIDatePicker *_timePicker;
    TimeView *_timeView;
    SoundPicker *_soundPicker;
    UIPreferencesTable *_settingsTable;
    UISegmentedControl *_segmentControl;
    UIThreePartButton *_startButton;
    BOOL _isRunning;
    NSString *_soundIdentifier;
    NSTimer *_timer;
    double _time;
    ABRingtoneManager *_ringtoneManager;
}

- (void)_slideUpSoundPicker;
- (void)_updateButton;
- (void)_startTimer;
- (void)_stopTimer;
- (void)_updateTimeView:(id)fp8;
- (void)_readDataFromSpringBoard;
- (void)_writeDataToSpringBoard;
- (id)init;
- (void)dealloc;
- (id)view;
- (void)viewWillHideWithAnimation:(BOOL)fp8;
- (int)numberOfGroupsInPreferencesTable:(id)fp8;
- (BOOL)preferencesTable:(id)fp8 isRadioGroup:(int)fp12;
- (int)preferencesTable:(id)fp8 numberOfRowsInGroup:(int)fp12;
- (id)preferencesTable:(id)fp8 cellForGroup:(int)fp12;
- (id)preferencesTable:(id)fp8 cellForRow:(int)fp12 inGroup:(int)fp16;
- (void)tableSelectionDidChange:(id)fp8;
- (void)toggleButton:(id)fp8;
- (void)soundPicker:(id)fp8 selectedSoundWithIdentifier:(id)fp12;
- (void)dismissSoundPicker:(id)fp8;
- (void)animationDidStop:(id)fp8;
- (id)buttonBarTitle;
- (id)buttonBarImage;
- (id)buttonBarSelectedImage;
- (id)defaultPNGName;

@end

@interface TimerPreferenceCell : UIPreferencesTableCell
{
    BOOL _drawsLozenge;
}

- (void)setBackgroundColor:(struct CGColor *)fp8;
- (void)setDrawsLozenge:(BOOL)fp8;
- (struct CGRect)contentBounds;
- (float)disclosureRightMargin;
- (void)drawBackgroundInRect:(struct CGRect)fp8 withFade:(float)fp24;
- (void)updateHighlightColors;
- (id)titleTextLabel;
- (id)valueTextLabel;
- (id)disclosureImage;

@end

@interface WorldClockViewController : TableViewController <UIButtonBarItem>
{
    UIImageView *_worldMapView;
    NSMutableDictionary *_cachedCells;
    NSMutableArray *_citiesToShow;
}

- (void)_savePrefs;
- (id)_defaultCityName;
- (id)init;
- (void)dealloc;
- (void)viewDidDisplayWithAnimation:(BOOL)fp8;
- (void)viewWillHideWithAnimation:(BOOL)fp8;
- (void)_positionWorldMap;
- (id)view;
- (void)viewWillDisplayWithAnimation:(BOOL)fp8;
- (id)navigationTitle;
- (void)editingDidChange:(BOOL)fp8 animate:(BOOL)fp12;
- (id)noItemsText;
- (struct CGRect)noItemsLabelRect;
- (float)itemsTableRowHeight;
- (int)numberOfItems;
- (void)showAddView;
- (void)alertSheet:(id)fp8 buttonClicked:(int)fp12;
- (id)addViewController;
- (void)addClockView:(id)fp8 addCity:(id)fp12;
- (void)tableWillBeginMovingRow:(id)fp8;
- (void)tableDidFinishMovingRow:(id)fp8;
- (void)scrollerWillStartDragging:(id)fp8;
- (void)scrollerDidEndDragging:(id)fp8 willSmoothScroll:(BOOL)fp12;
- (void)scrollerDidEndSmoothScrolling:(id)fp8;
- (void)table:(id)fp8 deleteRow:(int)fp12;
- (void)table:(id)fp8 movedRow:(int)fp12 toRow:(int)fp16;
- (id)table:(id)fp8 cellForRow:(int)fp12 column:(id)fp16;
- (id)_cellForCity:(id)fp8;
- (id)buttonBarTitle;
- (id)buttonBarImage;
- (id)buttonBarSelectedImage;
- (id)defaultPNGName;

@end

@interface WorldClockCell : UITableCell
{
    NSArray *_city;
    AnalogClockView *_clockView;
    UITextLabel *_cityLabel;
    DigitalClock *_digitalClock;
}

+ (float)defaultHeight;
- (id)initWithFrame:(struct CGRect)fp8;
- (void)dealloc;
- (void)_installTimeViews;
- (void)layoutSubviews;
- (void)setCity:(id)fp8;
- (id)city;
- (void)drawBackgroundInRect:(struct CGRect)fp8 withFade:(float)fp24;

@end

@interface DigitalClock : UIView <Clock>
{
    DigitalClockLabel *_timeLabel;
    UITextLabel *_dayLabel;
    NSTimeZone *_timeZone;
}

- (id)initWithFrame:(struct CGRect)fp8;
- (void)dealloc;
- (void)updateTime;
- (void)updateSweepBack;
- (void)setTimeZone:(id)fp8;
- (id)timeZone;
- (void)setTimeHour:(unsigned int)fp8 minute:(unsigned int)fp12;

@end

@interface AddClockView : UIView
{
    id _addClockDelegate;
    UINavigationBar *_sheetNavBar;
    UISearchField *_searchField;
    UICompletionTable *_completionTable;
    UITextLabel *_noResultsFoundLabel;
    NSArray *_cities;
}

- (id)init;
- (id)initWithFrame:(struct CGRect)fp8;
- (void)dealloc;
- (void)drawRect:(struct CGRect)fp8;
- (void)setAddClockDelegate:(id)fp8;
- (id)addClockDelegate;
- (void)navigationBar:(id)fp8 buttonClicked:(int)fp12;
- (void)_showNoResultsFound:(BOOL)fp8;
- (void)textValueChanged:(id)fp8;
- (unsigned int)numberOfCompletionsInTable:(id)fp8;
- (id)table:(id)fp8 completionAtIndex:(unsigned int)fp12;
- (void)table:(id)fp8 didSelectCompletionAtIndex:(unsigned int)fp12;

@end

@interface LapTimeView : UIView
{
    double _timeValue;
    UITextLabel *_timeView;
    BOOL _showingHours;
}

+ (id)backgroundImage;
+ (float)defaultHeight;
- (float)textYOffset;
- (float)currentTextHeight;
- (BOOL)showSubseconds;
- (id)initWithFrame:(struct CGRect)fp8;
- (void)_updateTime;
- (void)setTime:(double)fp8;
- (double)time;
- (void)drawRect:(struct CGRect)fp8;

@end

@interface LapTimeList : UITable
{
}

- (id)initWithFrame:(struct CGRect)fp8;
- (void)selectRow:(int)fp8 byExtendingSelection:(BOOL)fp12 withFade:(BOOL)fp16;
- (void)drawExtraSeparator:(struct CGRect)fp8;

@end

@interface LapControl : UIView
{
    int _mode;
    LapControlButton *_startButton;
    LapControlButton *_pauseButton;
    LapControlButton *_lapButton;
    LapControlButton *_resetButton;
    LapControlButton *_resumeButton;
    id _target;
}

+ (float)defaultHeight;
- (id)initWithFrame:(struct CGRect)fp8;
- (void)dealloc;
- (void)_removeCurrentMode;
- (void)_startMode;
- (void)_pauseMode;
- (void)_resumeMode;
- (void)setMode:(int)fp8;
- (int)mode;
- (void)setTarget:(id)fp8;
- (void)_start:(id)fp8;
- (void)_pause:(id)fp8;
- (void)_lap:(id)fp8;
- (void)_reset:(id)fp8;
- (void)_resume:(id)fp8;

@end

@interface LapControlButton : UIThreePartButton
{
}

- (void)drawTitleAtPoint:(struct CGPoint)fp8 width:(float)fp16;
- (void)stopTracking;

@end

@interface LapTableCell : UITableCell
{
    int _lap;
    double _time;
}

- (id)initWithFrame:(struct CGRect)fp8;
- (void)setLap:(int)fp8;
- (void)setTime:(double)fp8;
- (id)backgroundRowImage;
- (void)drawBackgroundInRect:(struct CGRect)fp8 withFade:(float)fp24;
- (void)drawContentInRect:(struct CGRect)fp8 selected:(BOOL)fp24;
- (void)drawSeparatorInRect:(struct CGRect)fp8;

@end

@interface AlarmCell : UITableCell
{
    unsigned int _index;
    unsigned int _hour;
    unsigned int _minute;
    unsigned char _alarmActive;
    unsigned int _daySetting;
    NSString *_alarmTitle;
    DigitalClockLabel *_clockLabel;
    UITextLabel *_repeatLabel;
    UITextLabel *_alarmLabel;
    UISwitchControl *_switchControl;
}

+ (float)defaultHeight;
- (id)initWithFrame:(struct CGRect)fp8;
- (void)dealloc;
- (void)setSelected:(BOOL)fp8 withFade:(BOOL)fp12;
- (void)drawBackgroundInRect:(struct CGRect)fp8 withFade:(float)fp24;
- (void)_alarmInfoDidUpdate;
- (void)_updateAlarmInfoFromSpringBoard;
- (void)setAlarmIndex:(unsigned int)fp8;
- (void)backgroundUpdateAlarmInfo;
- (void)layoutSubviews;
- (unsigned int)alarmIndex;
- (void)_alarmActiveChanged:(id)fp8;

@end

@interface AddAlarmViewController : UIViewController
{
    id _addClockDelegate;
    EditAlarmView *_editAlarmView;
    int _editingAlarmAtIndex;
    int _editingAlarmSetting;
}

- (id)initAlarmIndex:(int)fp8;
- (void)dealloc;
- (void)setAddAlarmDelegate:(id)fp8;
- (id)addAlarmDelegate;
- (id)view;
- (id)navigationTitle;
- (id)shortNavigationTitle;
- (id)titleForNavigationButton:(int)fp8;
- (int)styleForNavigationButton:(int)fp8;
- (BOOL)clickedNavigationButton:(int)fp8;
- (void)_doneButtonClicked;
- (void)viewWillDisplayWithAnimation:(BOOL)fp8;
- (void)editAlarmSetting:(id)fp8 setting:(int)fp12;

@end

@interface EditAlarmView : UIView
{
    UIDatePicker *_timePicker;
    UIPreferencesTable *_settingsTable;
    int _editingAlarmAtIndex;
    id _delegate;
    BOOL _changed;
    unsigned int _alarmHour;
    unsigned int _alarmMinute;
    unsigned char _active;
    unsigned char _repeats;
    unsigned int _daySetting;
    unsigned char _allowsSnooze;
    NSString *_alarmSound;
    NSString *_alarmTitle;
    ABRingtoneManager *_ringtoneManager;
}

- (void)_setDefaultAlarmValues;
- (id)initWithFrame:(struct CGRect)fp8;
- (void)dealloc;
- (void)setAlarmEditingDelegate:(id)fp8;
- (id)alarmEditingDelegate;
- (void)clearSelection;
- (void)editAlarmAtIndex:(int)fp8;
- (int)numberOfGroupsInPreferencesTable:(id)fp8;
- (int)preferencesTable:(id)fp8 numberOfRowsInGroup:(int)fp12;
- (id)preferencesTable:(id)fp8 titleForGroup:(int)fp12;
- (id)preferencesTable:(id)fp8 cellForRow:(int)fp12 inGroup:(int)fp16;
- (void)setAlarmHour:(unsigned int)fp8;
- (unsigned int)alarmHour;
- (void)setAlarmMinute:(unsigned int)fp8;
- (unsigned int)alarmMinute;
- (void)setActive:(BOOL)fp8;
- (BOOL)active;
- (void)setRepeats:(BOOL)fp8;
- (BOOL)repeats;
- (void)setDaySetting:(unsigned int)fp8;
- (unsigned int)daySetting;
- (void)setAllowsSnooze:(BOOL)fp8;
- (BOOL)allowsSnooze;
- (void)setAlarmSound:(id)fp8;
- (id)alarmSound;
- (void)setAlarmTitle:(id)fp8;
- (id)alarmTitle;
- (void)datePickerChanged:(id)fp8;
- (void)_snoozeControlChanged:(id)fp8;
- (void)tableSelectionDidChange:(id)fp8;

@end

@interface EditAlarmSettingView : UIView
{
    int _setting;
    EditAlarmView *_alarmView;
    UIView *_editingView;
    unsigned int _repeatMask;
    UIKeyboard *_keyboard;
}

- (id)initWithFrame:(struct CGRect)fp8;
- (void)dealloc;
- (void)editSetting:(int)fp8 inAlarmView:(id)fp12;
- (id)title;
- (void)ringtonePicker:(id)fp8 selectedRingtoneWithIdentifier:(id)fp12;
- (int)numberOfGroupsInPreferencesTable:(id)fp8;
- (BOOL)preferencesTable:(id)fp8 isRadioGroup:(int)fp12;
- (int)preferencesTable:(id)fp8 numberOfRowsInGroup:(int)fp12;
- (unsigned int)maskForRow:(int)fp8;
- (id)preferencesTable:(id)fp8 cellForRow:(int)fp12 inGroup:(int)fp16;
- (void)tableSelectionDidChange:(id)fp8;
- (void)textValueChanged:(id)fp8;

@end

@interface SoundPicker : UIView
{
    UINavigationBar *_navigationBar;
    ABRingtonePicker *_ringtonePicker;
    id _delegate;
}

- (id)initWithFrame:(struct CGRect)fp8;
- (void)setSelectedSoundIdentifier:(id)fp8;
- (id)selectedSoundIdentifier;
- (void)navigationBar:(id)fp8 buttonClicked:(int)fp12;
- (void)setDelegate:(id)fp8;
- (id)delegate;

@end

@interface TimeView : LapTimeView
{
}

+ (id)backgroundImage;
+ (float)defaultHeight;
- (float)textYOffset;
- (BOOL)showSubseconds;

@end

@interface TableViewController : UIViewController
{
    UIImageView *_backgroundView;
    UITextLabel *_noItemsLabel;
    UITable *_itemsTable;
}

- (void)dealloc;
- (id)noItemsText;
- (struct CGRect)noItemsLabelRect;
- (float)itemsTableRowHeight;
- (int)numberOfItems;
- (id)addViewController;
- (void)showAddView;
- (void)dismissAddView:(id)fp8;
- (void)slideAddViewDidStop:(id)fp8 finished:(id)fp12 context:(void *)fp16;
- (void)numberOfItemsDidChange;
- (id)view;
- (void)viewDidDisplayWithAnimation:(BOOL)fp8;
- (void)viewDidHideWithAnimation:(BOOL)fp8;
- (id)navigationTitle;
- (id)imageForNavigationButton:(int)fp8;
- (BOOL)clickedNavigationButton:(int)fp8;
- (int)editButton;
- (void)editingDidChange:(BOOL)fp8 animate:(BOOL)fp12;
- (int)numberOfRowsInTable:(id)fp8;
- (void)table:(id)fp8 deleteRow:(int)fp12;

@end

@interface AddClockViewController : UIViewController
{
}

- (id)view;

@end

@interface DigitalClockLabel : UIDateLabel
{
}

- (id)initWithFrame:(struct CGRect)fp8;
- (void)setHour:(int)fp8 minute:(int)fp12;
- (struct __GSFont *)font;
- (struct __GSFont *)timeDesignatorFont;

@end

