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

struct CGPoint {
    float _field1;
    float _field2;
};

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

struct CGSize {
    float width;
    float height;
};

struct _NSZone;

/*
 * File: System/Library/PreferenceBundles/MobileMailSettings.bundle/MobileMailSettings
 */

@protocol MailViewParentController <NSObject>
- (void)pop;
- (void)setTransitionReplacesTopItem:(BOOL)fp8;
- (void)transitionToViewForController:(id)fp8 context:(id)fp12;
- (void)dismissAlertSheetAnimating:(BOOL)fp8;
- (void)displayAlertSheet:(id)fp8 buttonBar:(id)fp12;
- (void)displayAlertSheet:(id)fp8;
- (id)navigationBar;
@end

@protocol NSObject
- (BOOL)isEqual:(id)fp8;
- (unsigned int)hash;
- (Class)superclass;
- (Class)class;
- (id)self;
- (struct _NSZone *)zone;
- (id)performSelector:(SEL)fp8;
- (id)performSelector:(SEL)fp8 withObject:(id)fp12;
- (id)performSelector:(SEL)fp8 withObject:(id)fp12 withObject:(id)fp16;
- (BOOL)isProxy;
- (BOOL)isKindOfClass:(Class)fp8;
- (BOOL)isMemberOfClass:(Class)fp8;
- (BOOL)conformsToProtocol:(id)fp8;
- (BOOL)respondsToSelector:(SEL)fp8;
- (id)retain;
- (oneway void)release;
- (id)autorelease;
- (unsigned int)retainCount;
- (id)description;
@end

@protocol SafeObserverProtocol
- (id)willBeReleased;
@end

@interface MailSettingsController : PSListController
{
}

+ (void)updateAutoFetchFileForSetting:(BOOL)fp8;
+ (void)updateAutoFetchFile;
- (id)table:(id)fp8 cellForRow:(int)fp12 column:(id)fp16;
- (void)deleteFinished:(id)fp8;
- (void)unlockMailAccounts;
- (BOOL)lockMailAccounts;
- (id)specifiers;
- (void)reloadMailAccounts;
- (void)dealloc;

@end

@interface UIApplication (MailPSSpecifiers)
- (void)_loadAccountsReloadingIfNecessary:(BOOL)fp8;
- (id)accountSpecifiers;
- (id)PSSpecifiers;
- (id)accountValuesForSpecifier:(id)fp8;
- (id)accountTitlesForSpecifier:(id)fp8;
- (id)autoFetchString:(id)fp8;
- (void)setAutoFetchString:(id)fp8 withSpecifier:(id)fp12;
- (id)recentMessageCount:(id)fp8;
- (id)setRecentMessageCount:(id)fp8 withSpecifier:(id)fp12;
- (id)linesOfPreview:(id)fp8;
- (id)setLinesOfPreview:(id)fp8 withSpecifier:(id)fp12;
- (id)fontSize:(id)fp8;
- (id)setFontSize:(id)fp8 withSpecifier:(id)fp12;
- (void)setCCSelf:(id)fp8 withSpecifier:(id)fp12;
- (id)ccSelf:(id)fp8;
- (void)setConfirmDelete:(id)fp8 withSpecifier:(id)fp12;
- (id)confirmDelete:(id)fp8;
- (void)setShowToCC:(id)fp8 withSpecifier:(id)fp12;
- (id)showToCC:(id)fp8;
- (void)setCurrentSignature:(id)fp8 withSpecifier:(id)fp12;
- (id)currentSignature:(id)fp8;
- (void)setDefaultSendingAccount:(id)fp8 withSpecifier:(id)fp12;
- (id)defaultSendingAccount:(id)fp8;
- (void)setGenericPreference:(id)fp8 withSpecifier:(id)fp12;
- (id)genericPreference:(id)fp8;
@end

@interface DeliveryAccount (PSSpecifiers)
+ (Class)accountValidatorClass;
+ (BOOL)validateValue:(id)fp8 forPSSpecifier:(id)fp12;
- (id)portNumberString;
- (void)setPortNumberString:(id)fp8;
@end

@interface POPAccount (PSSpecifiers)
+ (id)advancedSpecifiers;
@end

@interface IMAPAccount (PSSpecifiers)
+ (id)advancedSpecifiersWithOptions:(unsigned int)fp8;
+ (id)advancedSpecifiers;
+ (BOOL)validateValue:(id)fp8 forPSSpecifier:(id)fp12;
- (id)advancedSpecifiers;
- (id)offlineViewingString:(id)fp8;
- (void)setOfflineViewingString:(id)fp8 withSpecifier:(id)fp12;
@end

@interface MailAccount (PSSpecifiers)
+ (id)emailAddressHostPart;
+ (Class)accountValidatorClass;
+ (id)accountTypeSpecifiers;
+ (id)copyShortFormForHost:(id)fp8 descriptionPlaceholder:(id)fp12 usingSuffix:(BOOL)fp16;
+ (id)primarySpecifiers;
+ (id)advancedSpecifiersWithOptions:(unsigned int)fp8;
+ (id)advancedSpecifiers;
+ (id)detailedSpecifiers;
+ (id)firstSetupSpecifiers;
+ (id)accountTypePSSpecifier;
+ (id)accountClassNames;
+ (BOOL)validateValue:(id)fp8 forPSSpecifier:(id)fp12;
+ (id)bestGuessValueForUsername:(id)fp8 derivedFromPreferenceValueSpecifiers:(id)fp12;
+ (id)bestGuessValueForHostname:(id)fp8 derivedFromPreferenceValueSpecifiers:(id)fp12;
+ (id)bestGuessValueForFullUserName:(id)fp8 derivedFromPreferenceValueSpecifiers:(id)fp12;
+ (id)bestGuessValueForPSSpecifier:(id)fp8 derivedFromPreferenceValueSpecifiers:(id)fp12;
- (id)primarySpecifiers;
- (id)advancedSpecifiers;
- (id)detailedSpecifiers;
- (id)emailAddressesString;
- (void)setEmailAddressesString:(id)fp8;
- (id)portNumberString;
- (void)setPortNumberString:(id)fp8;
@end

@interface AOLAccount (Preferences)
+ (id)primarySpecifiers;
+ (id)firstSetupSpecifiers;
@end

@interface GmailAccount (Preferences)
+ (id)primarySpecifiers;
+ (id)firstSetupSpecifiers;
@end

@interface YahooAccount (Preferences)
+ (id)advancedSpecifiers;
+ (id)primarySpecifiers;
+ (id)firstSetupSpecifiers;
@end

@interface iToolsAccount (PSSpecifiers)
+ (id)primarySpecifiers;
+ (id)firstSetupSpecifiers;
@end

@interface AccountValidator (PSSpecifiers)
+ (SEL)autoDiscoverSelectorForPSSpecifier:(id)fp8;
+ (BOOL)canAutoDiscoverValueForPSSpecifier:(id)fp8 accountClass:(Class)fp12;
- (id)autoDiscoveredValueForPSSpecifier:(id)fp8;
@end

@interface AccountPSDetailController : PSListController
{
    NSMutableDictionary *_accountValues;
    NSMutableDictionary *_outgoingAccountValues;
    MailAccount *_account;
    MailAccount *_candidateIncomingAccount;
    ConnectionSettings *_originalConnectionSettings;
    NSString *_chosenType;
    AccountValidator *_accountValidator;
    UIResponder *_lastFirstResponder;
    UIProgressIndicator *_proggy;
    NSString *_placeHolder;
    UIProgressHUD *_hud;
    UITextField *_passwordField;
    NSString *_lastPassword;
    NSTimer *_idleJiggleTimer;
    float _accountValidationStartTime;
    unsigned int _validating:1;
    unsigned int _attemptedValidation:1;
    unsigned int _validatedIncoming:1;
    unsigned int _valueAutoDiscoveryDisabled:1;
    unsigned int _doneClicked:1;
    unsigned int _hasChanged:1;
    unsigned int _haveTriedAutovalidation:1;
    unsigned int _showingExchangeDetail:1;
}

+ (void)initialize;
- (id)createDeleteCellWithTableSize:(struct CGSize)fp8;
- (id)preferencesTable:(id)fp8 cellForRow:(int)fp12 inGroup:(int)fp16;
- (void)reallyDeleteAccount;
- (void)deleteAccount;
- (void)setSpecifiers:(id)fp8;
- (id)_exchangeDetailSpecifiers;
- (id)specifiers;
- (void)resetSpecifierTargets;
- (void)doneButtonClicked:(id)fp8;
- (Class)accountClass;
- (id)account;
- (void)viewWillBecomeVisible:(void *)fp8;
- (void)_displaySaveAccountAnywaysAlertSheet;
- (void)_didFinishSaveAccountAnywaysSheetWithTag:(int)fp8;
- (void)alertSheet:(id)fp8 buttonClicked:(int)fp12;
- (void)_hideSpinny;
- (void)_showSpinny;
- (BOOL)_isRunningFromMobileMailApp;
- (void)_preventSleepAndDimming:(BOOL)fp8;
- (void)_jiggleIdleTimer;
- (int)validateAccounts;
- (void)_addIncomingAccount;
- (void)addCurrentAccounts;
- (void)accountValidator:(id)fp8 finishedValidationOfAccount:(id)fp12 usedSSL:(BOOL)fp16;
- (void)finishedAccountSetup;
- (void)_cancelAccountValidation;
- (id)_validationFailurePromptForAccount:(id)fp8;
- (void)_hideAccountValidationProgressUIWithPrompt:(id)fp8;
- (void)setViewsEnabled:(BOOL)fp8;
- (void)setCellsChecked:(BOOL)fp8;
- (void)_setExchangeDetailsVisible:(BOOL)fp8;
- (void)setChosenType:(id)fp8 withSpecifier:(id)fp12;
- (id)chosenType:(id)fp8;
- (BOOL)haveEnoughValues;
- (void)updateDoneButton;
- (id)table:(id)fp8 cellForRow:(int)fp12 column:(id)fp16;
- (void)propertyValueChanged:(id)fp8;
- (void)didBeginEditing:(id)fp8;
- (void)didEndEditing:(id)fp8;
- (void)didEndEditingOnReturn:(id)fp8;
- (void)acquireCredentials:(id)fp8;
- (void)finishedAcquiringCredentials:(id)fp8;
- (void)hideHUD;
- (void)setAccountProperty:(id)fp8 withSpecifier:(id)fp12;
- (void)_setIncomingAccountProperty:(id)fp8 forKey:(id)fp12;
- (void)setOutgoingHostName:(id)fp8 withSpecifier:(id)fp12;
- (id)outgoingHostName:(id)fp8;
- (void)_mailAccountNameChanged;
- (void)_sendPreferencesChangedNotificationForKey:(id)fp8;
- (void)_tryUpdatingDescriptionFromValue:(id)fp8 forKey:(id)fp12;
- (void)_setOutgoingAccountProperty:(id)fp8 forKey:(id)fp12;
- (id)accountPropertyWithSpecifier:(id)fp8;
- (id)_outgoingAccountPropertyForKey:(id)fp8;
- (id)_incomingAccountPropertyForKey:(id)fp8;
- (void)dealloc;
- (void)cancelButtonClicked:(id)fp8;
- (void)suspend;
- (id)pendingAccountSettings;

@end

@interface AccountPSSetupController : PSSetupController
{
    unsigned int _allowCancel:1;
    unsigned int _didAlreadyPopController:1;
    unsigned int _shouldArchivePendingAccountSettings:1;
}

+ (id)_archivedAccountSettingsPath;
- (void)viewWillBecomeVisible:(void *)fp8;
- (void)_restoreArchivedAccountSettingsForSpecifier:(id)fp8;
- (void)suspend;
- (void)_archivePendingAccountSettings;
- (void)updateNavButtons;
- (void)navigationBar:(id)fp8 buttonClicked:(int)fp12;
- (id)navigationTitle;
- (void)setAllowCancel:(BOOL)fp8;
- (void)reloadMailAccounts;
- (void)finishedAccountSetup;
- (void)didFinishTransition;

@end

@interface SignatureEditingPane : PSListController
{
}

- (id)specifiers;
- (void)suspend;
- (void)viewWillBecomeVisible:(void *)fp8;
- (void)viewDidBecomeVisible;
- (void)navigationBarButtonClicked:(int)fp8;
- (id)table:(id)fp8 cellForRow:(int)fp12 column:(id)fp16;
- (float)preferencesTable:(id)fp8 heightForRow:(int)fp12 inGroup:(int)fp16 withProposedHeight:(float)fp20;
- (id)_signature:(id)fp8;
- (void)_setSignature:(id)fp8 withSpecifier:(id)fp12;

@end

@interface PreferenceValueSpecifier : NSObject
{
    PSSpecifier *specifier;
    id value;
}

@end

@interface CertValidationContext : NSObject
{
    NSData *_certData;
    Account *_account;
}

- (void)setCertData:(id)fp8;
- (void)setAccount:(id)fp8;
- (id)certData;
- (id)account;
- (void)dealloc;

@end

@interface AccountTypePSListController : PSListController
{
    BOOL _allowCancel;
}

- (id)specifiers;
- (void)doneButtonClicked:(id)fp8;
- (void)setAllowCancel:(BOOL)fp8;
- (float)preferencesTable:(id)fp8 heightForRow:(int)fp12 inGroup:(int)fp16 withProposedHeight:(float)fp20;
- (id)preferencesTable:(id)fp8 cellForRow:(int)fp12 inGroup:(int)fp16;
- (void)reloadMailAccounts;
- (void)finishedAccountSetup;

@end

@interface PSListController (NastyHacks)
- (void)removeController:(id)fp8;
- (void)addController:(id)fp8;
@end

@interface MailboxListViewLayer : UIView
{
    UITable *_outlineLayer;
    unsigned int _isPrefsStyle;
}

- (id)initWithSize:(struct CGSize)fp8 preferenceStyle:(BOOL)fp16;
- (void)dealloc;
- (id)outlineLayer;

@end

@interface MailboxListViewingContext : NSObject
{
    MailAccount *_account;
    id _mailboxSelectionTarget;
    int _pickingForType;
    unsigned int _disableNonGenericMailboxes:1;
}

- (void)setAccount:(id)fp8;
- (void)setDisableNonGenericMailboxes:(BOOL)fp8;
- (void)setSelectionTarget:(id)fp8;
- (void)setType:(int)fp8;
- (id)account;
- (BOOL)disableNonGenericMailboxes;
- (id)selectionTarget;
- (int)type;
- (void)dealloc;

@end

@interface MailboxListViewController : MailViewController
{
    UITable *_outlineLayer;
    NSArray *_sortedMailboxes;
    MailAccount *_account;
    MailboxUid *_currentMailbox;
    int _pickingForType;
    struct CGSize _size;
    unsigned int _showsDisclosure:1;
    unsigned int _loadingMailboxes:1;
    unsigned int _hasButtonBar:1;
    unsigned int _isPrefsStyle:1;
    NSMutableSet *_disabledMailboxes;
    NSMutableSet *_disabledMailboxTypes;
    unsigned int _disableNonGenericMailboxes:1;
    id _mailboxSelectionTarget;
    double _lastCheckedOutbox;
    BOOL _queuedOutboxCheck;
}

+ (BOOL)displaysButtonBar;
- (void)updateBarButtons;
- (void)initializeUI;
- (id)initForContentSize:(struct CGSize)fp8 withButtonBar:(BOOL)fp16 preferenceStyle:(BOOL)fp20;
- (id)initForContentSize:(struct CGSize)fp8;
- (void)clearAccount;
- (void)viewWillBecomeVisible:(id)fp8;
- (void)viewWillRedisplay;
- (void)_setStatusBarDisplaysAccountType:(BOOL)fp8;
- (void)dealloc;
- (BOOL)suspend;
- (BOOL)resume:(id)fp8;
- (id)navigationTitle;
- (void)setCurrentMailbox:(id)fp8;
- (id)_prefsSelectedMailbox;
- (id)selectedMailbox;
- (void)openMailbox:(id)fp8;
- (void)_updateSelection;
- (void)_loadMailboxes;
- (struct CGRect)rectOfMailbox:(id)fp8;
- (id)cellForMailbox:(id)fp8;
- (void)setShowsDisclosure:(BOOL)fp8;
- (void)disableMailboxes:(id)fp8;
- (void)disableMailboxTypes:(id)fp8;
- (void)mailboxListingChanged:(id)fp8;
- (void)_reloadIfOutboxChanged:(id)fp8;
- (void)_queueReloadIfOutboxChanged:(id)fp8;
- (void)messageStoreChanged:(id)fp8;
- (int)numberOfRowsInTable:(id)fp8;
- (BOOL)table:(id)fp8 showDisclosureForRow:(int)fp12;
- (id)table:(id)fp8 cellForRow:(int)fp12 column:(id)fp16;
- (void)tableSelectionDidChange:(id)fp8;
- (int)numberOfGroupsInPreferencesTable:(id)fp8;
- (int)preferencesTable:(id)fp8 numberOfRowsInGroup:(int)fp12;
- (id)preferencesTable:(id)fp8 cellForRow:(int)fp12 inGroup:(int)fp16;
- (id)preferencesTable:(id)fp8 titleForGroup:(int)fp12;

@end

@interface MailboxPrefsTableCell : UIPreferencesTableCell
{
    MailboxUid *_mailbox;
    int _type;
    UITextLabel *_mailboxText;
    UIImageView *_mailboxIcon;
    unsigned int _level;
    unsigned int _disabled:1;
}

- (id)initWithSize:(struct CGSize)fp8 mailboxType:(int)fp16;
- (id)initWithSize:(struct CGSize)fp8 mailbox:(id)fp16;
- (void)dealloc;
- (void)setEnabled:(BOOL)fp8;
- (void)setChecked:(BOOL)fp8;
- (void)updateHighlightColors;
- (void)layoutSubviews;

@end

@interface MailboxTableCell : UITableCell <SafeObserverProtocol>
{
    MailboxUid *_mailbox;
    int _type;
    UnreadBubble *_unreadBubble;
    unsigned int _retainCount;
    unsigned int _level;
    unsigned int _disabled:1;
    unsigned int _showUnreadCount:1;
}

+ (float)offsetForLevel:(int)fp8;
- (id)initWithSize:(struct CGSize)fp8 mailbox:(id)fp16;
- (void)dealloc;
- (BOOL)isEnabled;
- (void)setEnabled:(BOOL)fp8;
- (void)updateHighlightColors;
- (void)_updateUnreadBubble;
- (struct CGRect)_rectOfIcon:(id)fp8;
- (void)drawContentInRect:(struct CGRect)fp8 selected:(BOOL)fp24;
- (id)_automationID;
- (id)willBeReleased;
- (id)retain;
- (void)release;
- (unsigned int)retainCount;

@end

@interface MailViewController : NSObject <MailViewParentController>
{
    UIView *_layer;
    id _parentController;
    float _degreesRotated;
    struct {
        unsigned int suspended:1;
    } _flags;
}

+ (BOOL)displaysButtonBar;
+ (BOOL)isOverlay;
+ (BOOL)canRotateToOrientation:(int)fp8;
- (id)initForContentSize:(struct CGSize)fp8;
- (void)dealloc;
- (id)layer;
- (id)buttonBar;
- (id)navigationBar;
- (void)viewWillBecomeVisible:(id)fp8;
- (void)viewWillRedisplay;
- (void)viewTransitionCompleted;
- (void)overlayWasDismissed;
- (id)navigationTitle;
- (id)navigationItem;
- (BOOL)leftNavigationButtonShowsAsBackArrow;
- (id)leftNavigationButtonTitle;
- (id)rightNavigationButtonTitle;
- (void)updateBarButtons;
- (void)composeButtonClicked:(id)fp8;
- (id)customDefaultPNGName;
- (BOOL)shouldSnapshot;
- (BOOL)suspend;
- (BOOL)resume:(id)fp8;
- (void)significantTimeChange;
- (void)setParentController:(id)fp8;
- (void)pop;
- (void)setTransitionReplacesTopItem:(BOOL)fp8;
- (void)transitionToViewForController:(id)fp8 context:(id)fp12;
- (void)dismissAlertSheetAnimating:(BOOL)fp8;
- (void)displayAlertSheet:(id)fp8 buttonBar:(id)fp12;
- (void)displayAlertSheet:(id)fp8;
- (void)emptyCaches;
- (struct CGSize)size;
- (id)topView;
- (id)bottomView;
- (void)halfRotateToOrientation:(int)fp8;
- (void)willRotateToOrientation:(int)fp8;
- (void)didLayoutForOrientation:(int)fp8;
- (void)didRotateToOrientation:(int)fp8;
- (void)animateFirstHalfOfRotationForOrientation:(int)fp8;

@end

@interface UnreadBubble : UIView
{
    BOOL _isSelected;
    unsigned int _unreadCount;
    struct CGSize _textSize;
}

- (id)initWithFrame:(struct CGRect)fp8;
- (void)_sizeToFit;
- (void)setUnreadCount:(unsigned int)fp8;
- (void)setIsSelected:(BOOL)fp8;
- (void)drawRect:(struct CGRect)fp8;

@end

@interface MailboxUid (Utilities)
+ (id)iconFromBundle:(id)fp8 forType:(int)fp12;
- (id)iconFromBundle:(id)fp8;
- (int)level;
@end

@interface MailAccount (MailboxSorting)
- (void)_putMailboxesRootedAt:(id)fp8 intoArray:(id)fp12;
- (id)allMailboxUidsSortedWithSpecialsAtTop;
@end

@interface AccountPSAdvancedController : PSListController
{
    MailAccount *_account;
    NSArray *_knownSchemes;
}

- (void)dealloc;
- (void)resetSpecifierTargets;
- (id)specifiers;
- (id)authSchemesForAccount;
- (id)authSchemeValuesForSpecifier:(id)fp8;
- (id)authSchemeTitlesForSpecifier:(id)fp8;
- (id)authSchemeByName:(id)fp8;
- (void)setAuthSchemeByName:(id)fp8 withSpecifier:(id)fp12 forOutgoing:(BOOL)fp16;
- (void)setDeleteIntervalString:(id)fp8 withSpecifier:(id)fp12;
- (id)deleteIntervalString;
- (id)portNumberStringForOutgoing:(BOOL)fp8;
- (void)setAccountProperty:(id)fp8 withSpecifier:(id)fp12;
- (id)accountPropertyWithSpecifier:(id)fp8;
- (id)_mailbox:(id)fp8;
- (id)account;
- (void)_pickerWillDismissWithMailbox:(id)fp8 forType:(id)fp12;
- (id)usePushProperty:(id)fp8;

@end

@interface MailboxBehaviorMailboxController : PSDetailController
{
}

- (id)navigationTitle;
- (void)_saveChanges;

@end

@interface MailboxBehaviorMailboxPicker : PSEditingPane
{
    AccountPSAdvancedController *_target;
    MailboxListViewController *_mailboxListController;
    int _pickingForType;
}

- (id)initWithFrame:(struct CGRect)fp8;
- (void)setPreferenceSpecifier:(id)fp8;
- (void)dealloc;
- (void)displayOnView:(id)fp8;
- (void)_dismiss;
- (void)mailboxList:(id)fp8 didSelectMailbox:(id)fp12;
- (void)selectedLocally:(id)fp8;

@end

@interface HTMLParser : NSObject
{
}

+ (id)plainTextFromHTML:(id)fp8;
+ (id)plainTextFromHTMLSnippet:(id)fp8;

@end

@interface UIKeyboard (MailUtils)
- (void)fadeIn;
- (void)fadeOut;
- (void)_fadeKeyboardToAlpha:(float)fp8;
@end

