00001
00002
00003
00004
00005
00006
00007 #import "NSObject.h"
00008
00009 @class ComposeBodyField, ComposeRecipientView, ComposeSubjectView, GenericAttachmentStore, MFError, MailComposeView, MailCompositionContext, MailDelivery, MailboxUid, MutableMessageHeaders, NSArray, NSString, NSTimer, OutgoingMessage;
00010
00011 @interface MailComposeController : NSObject
00012 {
00013 id _delegate;
00014 MailComposeView *_view;
00015 ComposeRecipientView *_toField;
00016 ComposeRecipientView *_ccField;
00017 ComposeSubjectView *_subjectField;
00018 ComposeBodyField *_bodyField;
00019 struct CGSize _size;
00020 MailCompositionContext *_compositionContext;
00021 unsigned int _showKeyboardImmediately:1;
00022 unsigned int _isDirty:1;
00023 unsigned int _shouldAutosaveWithSuspendInfo:1;
00024 unsigned int _suspendedPickingTo:1;
00025 unsigned int _suspendedPickingCC:1;
00026 unsigned int _suspendedToWasSelected:1;
00027 unsigned int _suspendedCCWasSelected:1;
00028 unsigned int _suspendedSubjectWasSelected:1;
00029 unsigned int _suspendedBodyWasSelected:1;
00030 unsigned int _initialAttachmentCount:10;
00031 unsigned int _stillLoading:1;
00032 NSString *_lastDraftMessageID;
00033 MailboxUid *_lastDraftMailboxUid;
00034 GenericAttachmentStore *_attachmentStore;
00035 MailDelivery *_delivery;
00036 OutgoingMessage *_message;
00037 NSString *_sendingEmailAddress;
00038 NSArray *_toAddresses;
00039 NSArray *_ccAddresses;
00040 NSString *_subject;
00041 id _content;
00042 MutableMessageHeaders *_savedHeaders;
00043 BOOL _keyboardWasVisible;
00044 struct _NSRange _selectedRange;
00045 int _resolution;
00046 NSTimer *_autosaveTimer;
00047 MFError *_error;
00048 }
00049
00050 + (void)initialize;
00051 + (BOOL)isSetupForDelivery;
00052 + (id)_defaultAccount;
00053 + (id)dotMacUsernames;
00054 + (id)defaultSignature;
00055 + (id)signature;
00056 + (id)_autosavePath;
00057 + (BOOL)hasAutosavedMessage;
00058 + (void)removeAutosavedMessage;
00059 - (void)initializeUI;
00060 - (void)tearDownUI;
00061 - (id)topView;
00062 - (id)bottomView;
00063 - (id)initForContentSize:(struct CGSize)fp8;
00064 - (id)initForContentSize:(struct CGSize)fp8 showKeyboardImmediately:(BOOL)fp16;
00065 - (id)init;
00066 - (void)_pickInitialFirstResponder;
00067 - (int)composeType;
00068 - (void)setCompositionContext:(id)fp8;
00069 - (void)_setupForDraft:(id)fp8;
00070 - (void)_setupForReplyToMessage:(id)fp8;
00071 - (void)_setupForReplyAllToMessage:(id)fp8;
00072 - (void)_setupForForwardOfMessage:(id)fp8;
00073 - (void)_setupForAutosavedMessage:(id)fp8;
00074 - (void)_setupForExistingNewMessage:(id)fp8 headers:(id)fp12;
00075 - (void)_setupForMessageWithURL:(id)fp8;
00076 - (void)_quoteReplyMessage:(id)fp8 content:(id)fp12;
00077 - (void)_quoteForwardedMessage:(id)fp8 content:(id)fp12;
00078 - (void)_quoteBody:(id)fp8;
00079 - (void)_loadAttachments:(id)fp8;
00080 - (void)_loadingContextDidLoad:(id)fp8;
00081 - (BOOL)_shouldPrependBlankLineForAttachments;
00082 - (void)setQuotedContent:(id)fp8 includeAttachments:(BOOL)fp12;
00083 - (void)setDelegate:(id)fp8;
00084 - (id)view;
00085 - (void)dealloc;
00086 - (void)setPercentDone:(double)fp8;
00087 - (id)sendingEmailAddress;
00088 - (void)setSendingEmailAddress:(id)fp8;
00089 - (void)setupForURL:(id)fp8;
00090 - (void)_focusGained:(id)fp8;
00091 - (void)_bodyFieldDidBeginEditing:(id)fp8;
00092 - (void)suspend;
00093 - (void)resumeWithSize:(struct CGSize)fp8;
00094 - (void)resume;
00095 - (void)_textChanged:(id)fp8;
00096 - (void)_bodyTextChanged:(id)fp8;
00097 - (void)_close;
00098 - (void)close:(id)fp8;
00099 - (void)emptyContent;
00100 - (id)navigationBarTitle;
00101 - (void)setContent:(id)fp8;
00102 - (void)prependQuotedMarkup:(id)fp8;
00103 - (void)prependPreamble:(id)fp8;
00104 - (void)_addSignature:(BOOL)fp8;
00105 - (void)_addSignature;
00106 - (void)setSubject:(id)fp8;
00107 - (void)setToRecipients:(id)fp8;
00108 - (void)setCcRecipients:(id)fp8;
00109 - (void)setSendingEmailAddress:(id)fp8 addIfNotPresent:(BOOL)fp12;
00110 - (void)_tryAddSenderToCcRecipients;
00111 - (void)setDraftMessageID:(id)fp8 mailbox:(id)fp12;
00112 - (id)attachments;
00113 - (struct CGRect)rectOfAttachment:(id)fp8;
00114 - (void)setContentVisible:(BOOL)fp8;
00115 - (void)addAttachment:(id)fp8;
00116 - (id)markupForInlineAttachment:(id)fp8 willBeIncluded:(BOOL)fp12;
00117 - (void)addInlineAttachmentAtPath:(id)fp8 includeDirectoryContents:(BOOL)fp12 deleteWhenFinished:(BOOL)fp16;
00118 - (void)insertInlineAttachment:(id)fp8;
00119 - (void)addInlineAttachmentWithData:(id)fp8 preferredFilename:(id)fp12 mimeType:(id)fp16;
00120 - (void)attachmentsRemoved:(id)fp8;
00121 - (void)_inlinedAttachmentFinishedLoading:(id)fp8;
00122 - (void)attachmentFinishedLoading:(id)fp8;
00123 - (void)recoverAutosavedMessage;
00124 - (void)_reallyAutosaveImmediately:(id)fp8;
00125 - (void)scheduleAutosaveAfterDelay:(float)fp8;
00126 - (void)autosaveImmediately;
00127 - (void)cancelAutosave;
00128 - (id)_autosavedMessage;
00129 - (void)composeSubjectViewTextFieldDidResignFirstResponder:(id)fp8;
00130 - (id)headersUseSuspendInfo:(BOOL)fp8;
00131 - (id)messageUseSuspendInfo:(BOOL)fp8 endingEditing:(BOOL)fp12;
00132 - (id)messageUseSuspendInfo:(BOOL)fp8;
00133 - (id)message;
00134 - (id)messageEndingEditing:(BOOL)fp8;
00135 - (id)_lastDraftWithLibrary:(id)fp8;
00136 - (void)_removeLastDraftWithStore:(id)fp8;
00137 - (void)markMessageAsReplied:(id)fp8;
00138 - (void)markMessageAsForwarded:(id)fp8;
00139 - (void)_setUpDeliveryObject;
00140 - (void)send:(id)fp8;
00141 - (id)addressesForField:(int)fp8;
00142 - (void)addAddress:(id)fp8 field:(int)fp12;
00143 - (void)setAddresses:(id)fp8 field:(int)fp12;
00144 - (void)removeAddressAtIndex:(int)fp8 field:(int)fp12;
00145 - (int)resolution;
00146 - (BOOL)needsDelivery;
00147 - (BOOL)deliverMessage;
00148 - (id)error;
00149 - (id)errorTitle;
00150 - (id)errorDescription;
00151 - (void)setRecipientsKeyboardType:(int)fp8;
00152 - (void)composeHeaderViewDidChangeValue:(id)fp8;
00153 - (void)composeHeaderViewDidConfirmValue:(id)fp8;
00154 - (void)alertSheet:(id)fp8 buttonClicked:(int)fp12;
00155
00156 @end
00157