/*
 *     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 CPRecord;

struct _NSRange {
    unsigned int location;
    unsigned int length;
};

struct _NSZone;

struct __CFDictionary;

struct __GSEvent;

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

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

@interface ComposeRecipient : NSObject
{
    int _identifier;
    int _uid;
    NSString *_address;
}

+ (id)recipientWithAddress:(id)fp8;
+ (id)recipientWithRecord:(struct CPRecord *)fp8 identifier:(int)fp12;
+ (id)_abFindAddressForRecord:(struct CPRecord *)fp8 identifier:(int)fp12;
+ (struct CPRecord *)_abFindRecordForAddress:(id)fp8 identifier:(int *)fp12 uniqueID:(int *)fp16;
+ (int)_recipientABProperty;
- (id)initWithRecord:(struct CPRecord *)fp8 identifier:(int)fp12 address:(id)fp16;
- (struct CPRecord *)record;
- (id)address;
- (id)commentedAddress;
- (id)label;
- (void)setAddress:(id)fp8;
- (int)identifier;
- (id)copyWithZone:(struct _NSZone *)fp8;
- (void)dealloc;
- (id)displayString;
- (id)uncommentedAddress;

@end

@interface ComposeRecipientAtom : AtomView
{
    ComposeRecipient *_recipient;
    ComposeRecipientAtom *_opaqueTextSubview;
    UITextTraits *_traits;
}

- (id)initWithFrame:(struct CGRect)fp8 recipient:(id)fp24;
- (void)dealloc;
- (id)title;
- (void)setDelegate:(id)fp8;
- (void)mouseUp:(struct __GSEvent *)fp8;
- (void)deleteBackward;
- (BOOL)canBecomeFirstResponder;
- (int)becomeFirstResponder;
- (id)textTraits;
- (void)takeTraitsFrom:(id)fp8;
- (BOOL)canResignFirstResponder;
- (BOOL)resignFirstResponder;
- (void)setAlpha:(float)fp8;

@end

@interface ComposeRecipientView : ComposeHeaderView
{
    NSMutableArray *_recipients;
    NSMutableDictionary *_atoms;
    ComposeRecipientAtom *_opaqueTextAtom;
    UIPushButton *_addButton;
    BOOL _editable;
    BOOL _picking;
    BOOL _becomingFirstResponder;
    BOOL _ignoreFirstResponderChanges;
    BOOL _resigningFirstResponder;
    BOOL _allowsDuplicateEntries;
    int _property;
    int _maxRecipients;
    UITextField *_textField;
}

- (id)initWithFrame:(struct CGRect)fp8;
- (void)setAllowsDuplicateEntries:(BOOL)fp8;
- (void)setLabel:(id)fp8;
- (BOOL)editable;
- (void)setEditable:(BOOL)fp8;
- (void)clearText;
- (void)setProperty:(int)fp8;
- (id)addresses;
- (void)setAddresses:(id)fp8;
- (void)addRecipient:(id)fp8;
- (void)addAddress:(id)fp8;
- (void)addRecord:(struct CPRecord *)fp8 identifier:(int)fp12;
- (void)removeAddressAtIndex:(int)fp8;
- (id)inactiveModeText;
- (BOOL)_addable;
- (void)setMaxRecipients:(int)fp8;
- (int)maxRecipients;
- (void)reflow;
- (void)addButtonClicked:(id)fp8;
- (BOOL)peoplePicker:(id)fp8 shouldShowCardForPerson:(struct CPRecord *)fp12;
- (void)peoplePicker:(id)fp8 selectedPerson:(struct CPRecord *)fp12 property:(int)fp16 identifier:(int)fp20;
- (void)peoplePicker:(id)fp8 enteredOtherValue:(void *)fp12 forProperty:(int)fp16;
- (void)peoplePickerDidEndPicking:(id)fp8;
- (BOOL)textFieldShouldBecomeFirstResponder:(id)fp8;
- (void)textFieldDidBecomeFirstResponder:(id)fp8;
- (void)textFieldDidResignFirstResponder:(id)fp8;
- (void)composeRecipientAtomWillBecomeFirstResponder:(id)fp8;
- (void)composeRecipientAtomDidBecomeFirstResponder:(id)fp8;
- (void)composeRecipientAtomDidResignFirstResponder:(id)fp8;
- (void)composeRecipientAtomDeleteClicked:(id)fp8;
- (id)text;
- (unsigned int)becomeFirstResponder;
- (BOOL)canBecomeFirstResponder;
- (void)textChanged:(id)fp8;
- (BOOL)keyboardInput:(id)fp8 shouldInsertText:(id)fp12 isMarkedText:(BOOL)fp16;
- (BOOL)keyboardInputShouldDelete:(id)fp8;
- (float)offsetForRowWithTextField;
- (id)fadeInAnimationsWithDuration:(float)fp8;
- (void)cancelAnimations;
- (void)showAtoms;
- (void)animator:(id)fp8 startAnimation:(id)fp12;
- (void)animator:(id)fp8 stopAnimation:(id)fp12;
- (void)setIgnoreFirstResponderChanges:(BOOL)fp8;
- (void)dealloc;
- (id)recipients;

@end

@interface AddContactButton : UIPushButton
{
}

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

@end

@interface RecipientTextField : UITextField
{
}

- (unsigned int)becomeFirstResponder;

@end

@interface ComposeHeaderView : UIView
{
    NSString *_label;
    HeaderLabelView *_labelView;
    id _delegate;
}

+ (float)defaultHeight;
- (id)initWithFrame:(struct CGRect)fp8;
- (void)setLabel:(id)fp8;
- (float)maxLabelX;
- (void)mouseUp:(struct __GSEvent *)fp8;
- (void)setDelegate:(id)fp8;
- (void)dealloc;

@end

@interface HeaderLabelView : UIView
{
    NSString *_label;
}

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

@end

@interface ComposeHeaderView (SyntheticEvents)
- (id)_automationID;
@end

@interface MailComposeView : UITransitionView
{
    UIView *_contentView;
    UINavigationBar *_navBar;
    ComposeBodyField *_bodyField;
    UIView *_headerView;
    UITextView *_bodyScroller;
    UIKeyboard *_keyboard;
    ComposeActivityProgressView *_activityProgressLayer;
    UIButtonBar *_keyboardButtonBar;
    ComposeRecipientView *_toField;
    ComposeRecipientView *_ccField;
    ComposeSubjectView *_subjectField;
    UIView *_separators[3];
    UIView *_shadowView;
    ABPeoplePicker *_peoplePicker;
    float _finalToHeight;
    float _finalCCHeight;
    float _offsetBeforeSearch;
    id _sendTarget;
    SEL _sendAction;
    id _closeTarget;
    SEL _closeAction;
    BOOL _closeEnabled;
    BOOL _sendEnabled;
    unsigned int _scheduledDeferedProgressMonitoring:1;
    unsigned int _toHeightChanging:1;
    unsigned int _ccHeightChanging:1;
    unsigned int _pinToBottomOfHeaderView:1;
    unsigned int _changingRecipients:1;
    unsigned int _isLoading:1;
    ComposeRecipientView *_activeRecipientView;
    NSMutableArray *_searchResults;
    UITable *_searchResultsTable;
    NSMutableDictionary *_recipientsByAddress;
    UIResponder *_firstResponderBeforeSheet;
    BOOL _animationDisabled;
}

- (void)composeHeaderAnimationDidAdvance:(id)fp8;
- (id)initWithFrame:(struct CGRect)fp8;
- (id)navigationBar;
- (id)keyboard;
- (id)retain;
- (void)release;
- (void)dealloc;
- (void)setAutoresizingMask:(unsigned int)fp8;
- (BOOL)endEditing:(BOOL)fp8;
- (BOOL)allowSend;
- (BOOL)isLoading;
- (void)setIsLoading:(BOOL)fp8;
- (id)hitTest:(struct CGPoint)fp8 forEvent:(struct __GSEvent *)fp16;
- (void)setAddresses:(id)fp8 inField:(int)fp12;
- (id)toField;
- (id)ccField;
- (id)subjectField;
- (id)bodyField;
- (void)adjustScrollerContentSize;
- (void)composeBodyFieldFrameChanged:(id)fp8;
- (void)composeBodyFieldDidFinishLoadForFrame:(id)fp8;
- (void)navigationBar:(id)fp8 buttonClicked:(int)fp12;
- (void)resetKeyboard;
- (void)setKeyboardVisible:(BOOL)fp8 animate:(BOOL)fp12;
- (void)_keyboardAnimationCompleted;
- (BOOL)isKeyboardVisible;
- (void)setAnimationDisabled:(BOOL)fp8;
- (void)scrollerDidScroll:(id)fp8;
- (void)setNavigationBarTitle:(id)fp8;
- (void)setSendTarget:(id)fp8 action:(SEL)fp12;
- (void)setCloseTarget:(id)fp8 action:(SEL)fp12;
- (void)_sendButtonClicked:(id)fp8;
- (void)_closeButtonClicked:(id)fp8;
- (void)setSendEnabled:(BOOL)fp8 closeEnabled:(BOOL)fp12 withDuration:(double)fp16;
- (void)setSendEnabled:(BOOL)fp8;
- (void)_saveFirstResponder;
- (void)_restoreFirstResponder;
- (void)displayAlertSheet:(id)fp8;
- (void)_postSheetKeyboardFadeInFinished;
- (void)dismissAlertSheet:(id)fp8 animate:(BOOL)fp12 willClose:(BOOL)fp16;
- (void)setEnabled:(BOOL)fp8 changingUI:(BOOL)fp12;
- (int)activeAddressField;
- (void)composeRecipientView:(id)fp8 didChangeSize:(struct CGSize)fp12;
- (id)composeRecipientView:(id)fp8 composeRecipientForAddress:(id)fp12;
- (id)composeRecipientView:(id)fp8 composeRecipientForRecord:(struct CPRecord *)fp12 identifier:(int)fp16;
- (void)_removeMembersWithIndices:(id)fp8 fromArray:(id)fp12;
- (void)composeRecipientView:(id)fp8 textDidChange:(id)fp12;
- (void)composeRecipientViewDidFinishEnteringRecipient:(id)fp8;
- (void)composeRecipientView:(id)fp8 requestDeleteRecipientAtIndex:(int)fp12;
- (void)removeFromSuperview;
- (void)composeRecipientViewRequestAddRecipient:(id)fp8;
- (void)composeRecipientViewDidFinishPickingRecipient:(id)fp8;
- (int)numberOfRowsInTable:(id)fp8;
- (id)table:(id)fp8 cellForRow:(int)fp12 column:(id)fp16 reusing:(id)fp20;
- (void)tableSelectionDidChange:(id)fp8;

@end

@interface ComposeHeaderAnimation : UIFrameAnimation
{
}

- (void)setProgress:(float)fp8;

@end

@interface ComposeIndeterminateActivityProgressView : ComposeActivityProgressView
{
    UIProgressIndicator *_progressIndicator;
}

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

@end

@interface ComposeDeterminateActivityProgressView : ComposeActivityProgressView
{
    UIProgressBar *_progressBar;
}

- (id)initWithFrame:(struct CGRect)fp8;
- (void)dealloc;
- (void)setProgress:(double)fp8;
- (void)update;
- (void)beginMonitoring;
- (void)endMonitoring;

@end

@interface ComposeActivityProgressView : UIView
{
    MonitoredInvocation *_monitoredInvocation;
    unsigned int _monitoringActive:1;
}

- (id)initWithFrame:(struct CGRect)fp8;
- (void)drawRect:(struct CGRect)fp8;
- (id)hitTest:(struct CGPoint)fp8 forEvent:(struct __GSEvent *)fp16;
- (void)setMonitoredInvocation:(id)fp8;
- (void)beginMonitoring;
- (void)doStopMonitoring;
- (void)endMonitoring;

@end

@interface ComposeBodyField : UIWebView
{
    DOMHTMLElement *_body;
    DOMHTMLDocument *_document;
    DOMHTMLElement *_blockquote;
    struct CGSize _originalSize;
    struct CGSize _layoutSize;
    unsigned int _isDirty:1;
    unsigned int _forwardingNotification:1;
    unsigned int _replaceAttachments:1;
    unsigned int _isLoading:1;
    NSMutableArray *_contentToAppend;
    struct _NSRange _rangeToSelect;
    GenericAttachmentStore *_attachmentStore;
}

- (float)contentWidth;
- (id)initWithFrame:(struct CGRect)fp8;
- (void)dealloc;
- (void)setDirty:(BOOL)fp8;
- (BOOL)isDirty;
- (void)ensureSelection;
- (struct _NSRange)selectedRange;
- (void)setSelectedRange:(struct _NSRange)fp8;
- (void)setLayoutInterval:(double)fp8;
- (void)replaceImages;
- (void)webView:(id)fp8 didFinishLoadForFrame:(id)fp12;
- (void)setAttachmentStore:(id)fp8;
- (void)setReplaceAttachmentsWithFilename:(BOOL)fp8;
- (void)webViewDidChange:(id)fp8;
- (void)_finishedLoadingURLRequest:(id)fp8 success:(BOOL)fp12;
- (void)webView:(id)fp8 resource:(id)fp12 didFinishLoadingFromDataSource:(id)fp16;
- (void)webView:(id)fp8 resource:(id)fp12 didFailLoadingWithError:(id)fp16 fromDataSource:(id)fp20;
- (id)webView:(id)fp8 identifierForInitialRequest:(id)fp12 fromDataSource:(id)fp16;
- (BOOL)webView:(id)fp8 shouldDeleteDOMRange:(id)fp12;
- (BOOL)webView:(id)fp8 shouldInsertText:(id)fp12 replacingDOMRange:(id)fp16 givenAction:(int)fp20;
- (void)setPinHeight:(float)fp8;
- (void)setFrame:(struct CGRect)fp8;
- (BOOL)endEditing:(BOOL)fp8;
- (void)setLoading:(BOOL)fp8;
- (void)setMarkupString:(id)fp8;
- (void)addMarkupString:(id)fp8 quote:(BOOL)fp12 baseURL:(id)fp16 emptyFirst:(BOOL)fp20 prepended:(BOOL)fp24;
- (void)prependMarkupString:(id)fp8 quote:(BOOL)fp12 baseURL:(id)fp16 emptyFirst:(BOOL)fp20;
- (void)appendMarkupString:(id)fp8 quote:(BOOL)fp12;
- (void)setMarkupString:(id)fp8 baseURL:(id)fp12 quote:(BOOL)fp16;
- (void)appendQuotedMarkupString:(id)fp8 baseURL:(id)fp12;
- (void)prependString:(id)fp8;
- (void)prependMarkupString:(id)fp8 quote:(BOOL)fp12;
- (BOOL)containsRichText;
- (id)plainTextAlternative;
- (id)plainTextContentWithAttachmentSource:(id)fp8;
- (void)htmlString:(id *)fp8 otherHtmlStringsAndAttachments:(id *)fp12 withAttachmentSource:(id)fp16;
- (void)webViewDidBeginEditing:(id)fp8;
- (void)webViewDidEndEditing:(id)fp8;
- (id)htmlString;
- (struct CGRect)rectOfElementWithID:(id)fp8;

@end

@interface ComposeSubjectView : ComposeHeaderView
{
    UITextField *_textField;
    unsigned int _delegateRespondsToTextChange:1;
}

- (id)initWithFrame:(struct CGRect)fp8;
- (int)becomeFirstResponder;
- (void)textFieldDidResignFirstResponder:(id)fp8;
- (id)text;
- (void)setText:(id)fp8;
- (void)setDelegate:(id)fp8;
- (void)textChanged:(id)fp8;
- (BOOL)keyboardInput:(id)fp8 shouldInsertText:(id)fp12 isMarkedText:(BOOL)fp16;
- (id)keyboardInputOverlayContainer:(id)fp8;
- (BOOL)endEditing:(BOOL)fp8;
- (void)dealloc;

@end

@interface DOMDocument (MailExtras)
- (id)body;
- (id)head;
@end

@interface DOMRange (MailExtras)
- (id)stringValue;
- (BOOL)isEquivalentToCollapsedRange;
- (id)attachmentURLs;
@end

@interface DOMNode (MailExtras)
- (BOOL)containsRichText;
- (int)quoteLevelDelta;
- (BOOL)isQuoteOrWithinQuote;
- (id)commonAncestorWithNode:(id)fp8;
- (void)recursivelyRemoveMailAttributes;
- (void)fixParagraphsAndQuotesFromMicrosoftNodesToRemove:(id)fp8;
- (void)fixParagraphsAndQuotesFromMicrosoft;
- (void)addStringsAndTextNodesToDictionary:(struct __CFDictionary *)fp8;
@end

@interface DOMElement (MailExtras)
+ (BOOL)isRichTextStyle:(id)fp8;
- (BOOL)isRichTextElementType;
- (BOOL)isRichTextElement;
- (int)quoteLevelDelta;
- (void)recursivelyRemoveMailAttributes;
@end

@interface GenericAttachmentStore : WebAttachmentSource
{
    NSMutableDictionary *_attachmentsByURL;
    int _priority;
}

- (void)dealloc;
- (void)addAttachment:(id)fp8;
- (void)removeAttachmentsForURLs:(id)fp8;
- (id)attachmentForURL:(id)fp8;
- (id)attachments;
- (void)setPriority:(int)fp8;
- (int)priority;

@end

@interface WebKitMainThread : NSObject
{
    struct __CFDictionary *_visibleDict;
    NSLock *_visibleDictLock;
}

+ (id)sharedInstance;
- (id)init;
- (void)dealloc;
- (void)_mainThreadPopulateDictForMimeType:(id)fp8;
- (int)dictValueForMimeType:(id)fp8;

@end

@interface MessageFileWrapper (WebKitAdditions)
- (BOOL)isDisplayableByWebKit;
- (BOOL)isMedia;
- (float)minimumZoomFontSize;
@end

@interface MessageTextAttachment (DisplayableTest)
- (BOOL)isRestrictedMimeType:(id)fp8;
- (id)iconName;
- (BOOL)isDisplayableInsidePlugin;
- (BOOL)isDisplayableInline;
@end

@interface RecipientTableCell : UITableCell
{
    ComposeRecipient *_recipient;
}

+ (id)cellForRecipient:(id)fp8;
+ (float)height;
- (id)recipient;
- (void)setRecipient:(id)fp8;
- (void)drawContentInRect:(struct CGRect)fp8 selected:(BOOL)fp24;
- (void)dealloc;

@end

@interface MailComposeController : NSObject
{
    id _delegate;
    MailComposeView *_view;
    ComposeRecipientView *_toField;
    ComposeRecipientView *_ccField;
    ComposeSubjectView *_subjectField;
    ComposeBodyField *_bodyField;
    struct CGSize _size;
    MailCompositionContext *_compositionContext;
    unsigned int _showKeyboardImmediately:1;
    unsigned int _isDirty:1;
    unsigned int _shouldAutosaveWithSuspendInfo:1;
    unsigned int _suspendedPickingTo:1;
    unsigned int _suspendedPickingCC:1;
    unsigned int _suspendedToWasSelected:1;
    unsigned int _suspendedCCWasSelected:1;
    unsigned int _suspendedSubjectWasSelected:1;
    unsigned int _suspendedBodyWasSelected:1;
    unsigned int _initialAttachmentCount:10;
    unsigned int _stillLoading:1;
    NSString *_lastDraftMessageID;
    MailboxUid *_lastDraftMailboxUid;
    GenericAttachmentStore *_attachmentStore;
    MailDelivery *_delivery;
    OutgoingMessage *_message;
    NSString *_sendingEmailAddress;
    NSArray *_toAddresses;
    NSArray *_ccAddresses;
    NSString *_subject;
    id _content;
    MutableMessageHeaders *_savedHeaders;
    BOOL _keyboardWasVisible;
    struct _NSRange _selectedRange;
    int _resolution;
    NSTimer *_autosaveTimer;
    MFError *_error;
}

+ (void)initialize;
+ (BOOL)isSetupForDelivery;
+ (id)_defaultAccount;
+ (id)dotMacUsernames;
+ (id)defaultSignature;
+ (id)signature;
+ (id)_autosavePath;
+ (BOOL)hasAutosavedMessage;
+ (void)removeAutosavedMessage;
- (void)initializeUI;
- (void)tearDownUI;
- (id)topView;
- (id)bottomView;
- (id)initForContentSize:(struct CGSize)fp8;
- (id)initForContentSize:(struct CGSize)fp8 showKeyboardImmediately:(BOOL)fp16;
- (id)init;
- (void)_pickInitialFirstResponder;
- (int)composeType;
- (void)setCompositionContext:(id)fp8;
- (void)_setupForDraft:(id)fp8;
- (void)_setupForReplyToMessage:(id)fp8;
- (void)_setupForReplyAllToMessage:(id)fp8;
- (void)_setupForForwardOfMessage:(id)fp8;
- (void)_setupForAutosavedMessage:(id)fp8;
- (void)_setupForExistingNewMessage:(id)fp8 headers:(id)fp12;
- (void)_setupForMessageWithURL:(id)fp8;
- (void)_quoteReplyMessage:(id)fp8 content:(id)fp12;
- (void)_quoteForwardedMessage:(id)fp8 content:(id)fp12;
- (void)_quoteBody:(id)fp8;
- (void)_loadAttachments:(id)fp8;
- (void)_loadingContextDidLoad:(id)fp8;
- (BOOL)_shouldPrependBlankLineForAttachments;
- (void)setQuotedContent:(id)fp8 includeAttachments:(BOOL)fp12;
- (void)setDelegate:(id)fp8;
- (id)view;
- (void)dealloc;
- (void)setPercentDone:(double)fp8;
- (id)sendingEmailAddress;
- (void)setSendingEmailAddress:(id)fp8;
- (void)setupForURL:(id)fp8;
- (void)_focusGained:(id)fp8;
- (void)_bodyFieldDidBeginEditing:(id)fp8;
- (void)suspend;
- (void)resumeWithSize:(struct CGSize)fp8;
- (void)resume;
- (void)_textChanged:(id)fp8;
- (void)_bodyTextChanged:(id)fp8;
- (void)_close;
- (void)close:(id)fp8;
- (void)emptyContent;
- (id)navigationBarTitle;
- (void)setContent:(id)fp8;
- (void)prependQuotedMarkup:(id)fp8;
- (void)prependPreamble:(id)fp8;
- (void)_addSignature:(BOOL)fp8;
- (void)_addSignature;
- (void)setSubject:(id)fp8;
- (void)setToRecipients:(id)fp8;
- (void)setCcRecipients:(id)fp8;
- (void)setSendingEmailAddress:(id)fp8 addIfNotPresent:(BOOL)fp12;
- (void)_tryAddSenderToCcRecipients;
- (void)setDraftMessageID:(id)fp8 mailbox:(id)fp12;
- (id)attachments;
- (struct CGRect)rectOfAttachment:(id)fp8;
- (void)setContentVisible:(BOOL)fp8;
- (void)addAttachment:(id)fp8;
- (id)markupForInlineAttachment:(id)fp8 willBeIncluded:(BOOL)fp12;
- (void)addInlineAttachmentAtPath:(id)fp8 includeDirectoryContents:(BOOL)fp12 deleteWhenFinished:(BOOL)fp16;
- (void)insertInlineAttachment:(id)fp8;
- (void)addInlineAttachmentWithData:(id)fp8 preferredFilename:(id)fp12 mimeType:(id)fp16;
- (void)attachmentsRemoved:(id)fp8;
- (void)_inlinedAttachmentFinishedLoading:(id)fp8;
- (void)attachmentFinishedLoading:(id)fp8;
- (void)recoverAutosavedMessage;
- (void)_reallyAutosaveImmediately:(id)fp8;
- (void)scheduleAutosaveAfterDelay:(float)fp8;
- (void)autosaveImmediately;
- (void)cancelAutosave;
- (id)_autosavedMessage;
- (void)composeSubjectViewTextFieldDidResignFirstResponder:(id)fp8;
- (id)headersUseSuspendInfo:(BOOL)fp8;
- (id)messageUseSuspendInfo:(BOOL)fp8 endingEditing:(BOOL)fp12;
- (id)messageUseSuspendInfo:(BOOL)fp8;
- (id)message;
- (id)messageEndingEditing:(BOOL)fp8;
- (id)_lastDraftWithLibrary:(id)fp8;
- (void)_removeLastDraftWithStore:(id)fp8;
- (void)markMessageAsReplied:(id)fp8;
- (void)markMessageAsForwarded:(id)fp8;
- (void)_setUpDeliveryObject;
- (void)send:(id)fp8;
- (id)addressesForField:(int)fp8;
- (void)addAddress:(id)fp8 field:(int)fp12;
- (void)setAddresses:(id)fp8 field:(int)fp12;
- (void)removeAddressAtIndex:(int)fp8 field:(int)fp12;
- (int)resolution;
- (BOOL)needsDelivery;
- (BOOL)deliverMessage;
- (id)error;
- (id)errorTitle;
- (id)errorDescription;
- (void)setRecipientsKeyboardType:(int)fp8;
- (void)composeHeaderViewDidChangeValue:(id)fp8;
- (void)composeHeaderViewDidConfirmValue:(id)fp8;
- (void)alertSheet:(id)fp8 buttonClicked:(int)fp12;

@end

@interface AttachmentImageGenerator : UIView
{
    struct CGSize _textSize;
    NSString *_displayString;
    UIImage *_image;
}

+ (id)pngDataForAttachment:(id)fp8 dimensions:(struct CGSize *)fp12;
+ (void)imageData:(id *)fp8 mimeType:(id *)fp12 dimensions:(struct CGSize *)fp16 forAttachment:(id)fp20;
- (id)initWithAttachment:(id)fp8;
- (void)dealloc;
- (void)drawRect:(struct CGRect)fp8;

@end

@interface MailInlineTextAttachment : MessageTextAttachment
{
    NSData *_cachedImageData;
    NSString *_cachedMimeType;
    struct CGSize _cachedImageSize;
    float _constrainedWidth;
    unsigned int _numBytes;
    unsigned int _isBeingLoaded:1;
    unsigned int _cachedDataIsPlaceholder:1;
    unsigned int _shouldNotLoadFully:1;
}

- (void)inlineDisplayData:(id *)fp8 mimeType:(id *)fp12;
- (void)_generateInlineData;
- (void)_setDataDerivedImage:(id)fp8;
- (unsigned int)approximateSize;
- (BOOL)shouldDownloadAttachmentOnDisplay;
- (void)setConstrainedWidth:(float)fp8;
- (float)constrainedWidth;
- (struct CGSize)imageDimensions;
- (void)setFileWrapper:(id)fp8;
- (void)_setImageDimensions:(struct CGSize)fp8;
- (void)_setImageDimensionsFromData:(id)fp8;
- (void)setupForComposition;
- (id)initWithWrapper:(id)fp8 shouldDownload:(BOOL)fp12;
- (id)initWithMimeTextAttachment:(id)fp8 shouldDownload:(BOOL)fp12;
- (BOOL)allowDownload;
- (void)dealloc;

@end

@interface MessageTextAttachment (ComposeMarkup)
- (id)markupStringForComposition:(BOOL)fp8 prependBlankLine:(BOOL)fp12;
@end

@interface MessageWebLayer : UIWebView
{
}

- (id)initWithFrame:(struct CGRect)fp8 visibleSize:(struct CGSize)fp24;
- (void)defaultMouseDragged:(struct __GSEvent *)fp8;
- (void)webView:(id)fp8 decidePolicyForNewWindowAction:(id)fp12 request:(id)fp16 newFrameName:(id)fp20 decisionListener:(id)fp24;
- (void)webView:(id)fp8 decidePolicyForNavigationAction:(id)fp12 request:(id)fp16 frame:(id)fp20 decisionListener:(id)fp24;
- (void)notifyDelegateToLoad:(id)fp8 client:(id)fp12;
- (void)notifyDelegateToDisplayInSeparateView:(id)fp8;
- (void)loadHTMLString:(id)fp8 baseURL:(id)fp12;
- (void)_sendDelegateSizeDidChange;
- (void)setFrame:(struct CGRect)fp8;
- (void)appendMarkupString:(id)fp8 baseURL:(id)fp12;
- (void)_updateImageURL:(id)fp8 withURL:(id)fp12 width:(id)fp16;
- (void)updateImageURL:(id)fp8 withURL:(id)fp12 width:(float)fp16;
- (void)_updateInlinePluginWithContentID:(id)fp8 htmlRepresentation:(id)fp12;
- (void)updateInlinePluginWithContentID:(id)fp8 htmlRepresentation:(id)fp12;
- (id)webView:(id)fp8 identifierForInitialRequest:(id)fp12 fromDataSource:(id)fp16;
- (id)webView:(id)fp8 resource:(id)fp12 willSendRequest:(id)fp16 redirectResponse:(id)fp20 fromDataSource:(id)fp24;
- (void)webView:(id)fp8 resource:(id)fp12 didFinishLoadingFromDataSource:(id)fp16;
- (void)webView:(id)fp8 resource:(id)fp12 didFailLoadingWithError:(id)fp16 fromDataSource:(id)fp20;
- (void)webView:(id)fp8 didStartProvisionalLoadForFrame:(id)fp12;
- (void)adjustSizeBasedOnMainFrame:(id)fp8;
- (void)webView:(id)fp8 didFinishLoadForFrame:(id)fp12;
- (void)fixParagraphsAndQuotesFromMicrosoft;
- (void)setSuperviewBackgroundColor:(id)fp8;
- (void)_urlifyMessage:(id)fp8;
- (void)_replaceURLifiedPieces:(id)fp8;
- (void)_webthread_webView:(id)fp8 didFinishLoadForFrame:(id)fp12;

@end

@interface WebPreferences (MailAdditions)
+ (id)standardMailWebPreferences:(BOOL)fp8;
@end

@interface SMSComposeRecipient : ComposeRecipient
{
}

+ (int)_recipientABProperty;
+ (struct CPRecord *)_abFindRecordForAddress:(id)fp8 identifier:(int *)fp12 uniqueID:(int *)fp16;
- (id)_unformattedAddress;
- (BOOL)isEqual:(id)fp8;
- (id)address;
- (id)displayString;
- (id)uncommentedAddress;

@end

@interface MailComposeRecipient : ComposeRecipient
{
}

+ (int)_recipientABProperty;
+ (struct CPRecord *)_abFindRecordForAddress:(id)fp8 identifier:(int *)fp12 uniqueID:(int *)fp16;
- (id)displayString;
- (id)uncommentedAddress;

@end

@interface SoundController : NSObject
{
}

+ (BOOL)_shouldPlaySound:(id)fp8;
+ (void)preheatSounds;
+ (void)playNewMailSound;
+ (void)playSentMailSound;
- (id)init;
- (void)dealloc;

@end

@interface SearchShadowView : UIView
{
}

+ (float)defaultHeight;
- (id)initWithFrame:(struct CGRect)fp8;
- (void)drawRect:(struct CGRect)fp8;

@end

@interface AtomView : UIDefaultKeyboardInput
{
    NSString *_title;
    id _delegate;
    unsigned int _selected:1;
    unsigned int _drawBackground:1;
    unsigned int _drawText:1;
    unsigned int _needsCentering:1;
    unsigned int _showsDisclosure:1;
    float _width;
}

+ (id)backgroundImageWithDisclosure:(BOOL)fp8 selected:(BOOL)fp12;
+ (CDAnonymousStruct1)backgroundImageSlicesWithDisclosure:(BOOL)fp8;
+ (float)defaultHeight;
+ (float)horizontalPadding;
- (id)initWithFrame:(struct CGRect)fp8;
- (void)dealloc;
- (id)title;
- (void)setTitle:(id)fp8;
- (float)preferredWidth;
- (void)setShowsDisclosure:(BOOL)fp8;
- (BOOL)selected;
- (void)setSelected:(BOOL)fp8;
- (void)drawRect:(struct CGRect)fp8;
- (void)setDrawText:(BOOL)fp8;
- (void)setDrawBackground:(BOOL)fp8;

@end

@interface MailCompositionContext : NSObject
{
    int _composeType;
    Message *_originalMessage;
    NSString *_sendingAddress;
    NSURL *_url;
    id _originalContent;
    MessageViewingContext *_loadingContext;
    unsigned int _loadRest:1;
    unsigned int _includeAttachments:1;
}

- (id)initWithComposeType:(int)fp8;
- (id)initWithComposeType:(int)fp8 originalMessage:(id)fp12;
- (id)initReplyToMessage:(id)fp8;
- (id)initReplyAllToMessage:(id)fp8;
- (id)initForwardOfMessage:(id)fp8;
- (id)initDraftRestoreOfMessage:(id)fp8;
- (id)initNewMessageWithURL:(id)fp8;
- (void)dealloc;
- (id)loadingContext;
- (void)setLoadingContext:(id)fp8;
- (id)originalMessage;
- (id)url;
- (id)originalContent;
- (void)setOriginalContent:(id)fp8;
- (id)sendingAddress;
- (void)setSendingAddress:(id)fp8;
- (int)composeType;
- (BOOL)loadRest;
- (void)setLoadRest:(BOOL)fp8;
- (BOOL)includeAttachments;
- (void)setIncludeAttachments:(BOOL)fp8;

@end

@interface MessageViewingContext : NSObject
{
    Message *_message;
    MessageBody *_body;
    id _content;
    unsigned int _contentOffset;
    id _delegate;
    ActivityMonitor *_loadTask;
    unsigned int _loadIncrement;
    unsigned int _hasNoContent:1;
    unsigned int _isOutgoingMessage:1;
}

- (id)initWithMessage:(id)fp8;
- (void)dealloc;
- (BOOL)hasLoaded;
- (BOOL)isPartial;
- (void)cancelLoad;
- (void)setLoadTask:(id)fp8;
- (id)loadTask;
- (void)setDelegate:(id)fp8;
- (void)setContent:(id)fp8;
- (id)content;
- (BOOL)hasNoContent;
- (id)message;
- (BOOL)isOutgoingMessage;
- (void)setOutgoingMessage:(BOOL)fp8;
- (void)setContentOffset:(unsigned int)fp8;
- (unsigned int)contentOffset;
- (id)messageBody;
- (void)setMessageBody:(id)fp8;
- (void)_loadAttachments:(id)fp8;
- (void)loadAsPlainText:(BOOL)fp8 asHTML:(BOOL)fp12;
- (void)loadFull;
- (void)loadWithPriority:(int)fp8;
- (void)load;
- (void)loadAttachment:(id)fp8 pluginClient:(id)fp12;
- (void)loadMore;
- (void)_notifyInitialLoadComplete;
- (void)_notifyAttachmentComplete:(id)fp8;
- (void)_notifyCompletelyComplete;

@end

