00001
00002
00003
00004
00005
00006
00007 #import <Message/LibraryStore.h>
00008
00009 @class IMAPCommandPipeline, IMAPDownloadCache, IMAPMailboxSyncEngine, NSString;
00010
00011 @interface LibraryIMAPStore : LibraryStore
00012 {
00013 unsigned int _supportsCustomPermanentFlags:1;
00014 unsigned int _supportsJunkFlag:1;
00015 unsigned int _supportsDollarJunkFlag:1;
00016 unsigned int _supportsNotJunkFlag:1;
00017 unsigned int _supportsDollarNotJunkFlag:1;
00018 unsigned int _supportsForwardedFlag:1;
00019 unsigned int _supportsDollarForwardedFlag:1;
00020 unsigned int _updatingCache:1;
00021 unsigned int _updateMetadata:1;
00022 unsigned int _readyToDealloc:1;
00023 unsigned int _didSynchronizeOldMessages:1;
00024 unsigned int _recentsExist:1;
00025 unsigned int _settingServerCount:1;
00026 unsigned int _reserved:16;
00027 NSString *_mailboxName;
00028 IMAPDownloadCache *_downloadCache;
00029 IMAPCommandPipeline *_fetchPipeline;
00030 IMAPMailboxSyncEngine *_syncEngine;
00031 unsigned int _serverDeletedCount;
00032 unsigned int _serverUidNext;
00033 NSString *_selectedUID;
00034 unsigned int _currentFetchUid;
00035 NSString *_relativePath;
00036 id _downloadDelegate;
00037 }
00038
00039 - (id)initWithMailboxUid:(id)fp8 readOnly:(BOOL)fp12;
00040 - (void)dealloc;
00041 - (id)willBeReleased;
00042 - (void)_invalidate;
00043 - (void)focusedMessageDidChange:(id)fp8;
00044 - (int)_fetchMessagesWithArguments:(id)fp8 idRange:(id)fp12 onConnection:(id)fp16 synchronize:(BOOL)fp20 limit:(unsigned int)fp24 topUIDToCompact:(unsigned int)fp28 topKnownUID:(unsigned int)fp32 success:(char *)fp36 examinedRange:(struct _NSRange *)fp40 fetchableUIDsFound:(unsigned int *)fp44 preserveUID:(int *)fp48;
00045 - (void)updateDeletedCountWithNotDeletedCount:(unsigned int)fp8;
00046 - (void)updateDeletedCount;
00047 - (int)fetchNumMessages:(unsigned int)fp8 preservingUID:(id)fp12 beforeUID:(unsigned int)fp16 synchronize:(BOOL)fp20;
00048 - (void)syncOlderMessages;
00049 - (int)syncMessagesInIMAPRange:(CDAnonymousStruct4)fp8 withConnection:(id)fp16 compactingExpungedMessagesToUid:(unsigned int)fp20;
00050 - (int)fetchNewMessagesAndSynchronizeOldMessages:(BOOL)fp8;
00051 - (void)synchronize;
00052 - (int)checkNewMail;
00053 - (int)fetchSynchronously;
00054 - (BOOL)canRebuild;
00055 - (void)removeAllLocalMessages;
00056 - (id)mailboxName;
00057 - (void)setMailboxUidValidity:(unsigned int)fp8;
00058 - (BOOL)canCompact;
00059 - (void)doCompact;
00060 - (void)deleteMessagesOlderThanNumberOfDays:(int)fp8 compact:(BOOL)fp12;
00061 - (BOOL)allowsAppend;
00062 - (void)_addOfflineTransferMessages:(id)fp8;
00063 - (BOOL)_doUidCopy:(CDAnonymousStruct1 *)fp8 toStore:(id)fp12 newMessages:(id)fp16;
00064 - (int)_doAppend:(CDAnonymousStruct1 *)fp8;
00065 - (int)appendMessages:(id)fp8 unsuccessfulOnes:(id)fp12 newMessageIDs:(id)fp16 newMessages:(id)fp20 flagsToSet:(id)fp24 customIMAPFlagsToSet:(id)fp28;
00066 - (int)appendMessages:(id)fp8 unsuccessfulOnes:(id)fp12 newMessageIDs:(id)fp16 newMessages:(id)fp20 flagsToSet:(id)fp24;
00067 - (id)createDictionaryForLocalFlags:(unsigned long)fp8 serverFlags:(unsigned long)fp12 existingDictionary:(id)fp16;
00068 - (void)_synchronouslySetFlags:(id)fp8 clearFlags:(id)fp12 forMessages:(id)fp16 originalChanges:(id)fp20;
00069 - (void)_setFlagsFromDictionary:(id)fp8 forMessages:(id)fp12;
00070 - (void)addFlagChanges:(id)fp8 forMessages:(id)fp12;
00071 - (id)setFlagsFromDictionary:(id)fp8 forMessages:(id)fp12;
00072 - (id)willSetFlagsFromDictionary:(id)fp8 forMessages:(id)fp12;
00073 - (void)setFlagsCancelled:(id)fp8 forMessages:(id)fp12;
00074 - (BOOL)setPreferredEncoding:(unsigned long)fp8 forMessage:(id)fp12;
00075 - (id)_cachedBodyForMessage:(id)fp8 valueIfNotPresent:(id)fp12;
00076 - (id)_cachedHeadersForMessage:(id)fp8 valueIfNotPresent:(id)fp12;
00077 - (id)_cachedHeaderDataForMessage:(id)fp8 valueIfNotPresent:(id)fp12;
00078 - (id)_dataForMessage:(id)fp8 readHeadersOnly:(BOOL)fp12;
00079 - (id)_createDataFromMimePart:(id)fp8 threshold:(unsigned int)fp12 downloadIfNecessary:(BOOL)fp16;
00080 - (id)_fetchDataForMimePart:(id)fp8 keepInMemory:(BOOL)fp12 writeToDisk:(BOOL)fp16 range:(struct _NSRange)fp20 isComplete:(char *)fp28;
00081 - (id)dataForMimePart:(id)fp8 inRange:(struct _NSRange)fp12 isComplete:(char *)fp20 downloadIfNecessary:(BOOL)fp24 didDownload:(char *)fp28;
00082 - (id)dataForMimePart:(id)fp8 inRange:(struct _NSRange)fp12;
00083 - (id)dataForMimePart:(id)fp8;
00084 - (void)setData:(id)fp8 forMimePart:(id)fp12 isComplete:(BOOL)fp16;
00085 - (id)fullBodyDataForMessage:(id)fp8 andHeaderDataIfReadilyAvailable:(id *)fp12 isComplete:(char *)fp16 downloadIfNecessary:(BOOL)fp20 usePartDatas:(BOOL)fp24;
00086 - (id)fullBodyDataForMessage:(id)fp8 andHeaderDataIfReadilyAvailable:(id *)fp12 isComplete:(char *)fp16 downloadIfNecessary:(BOOL)fp20;
00087 - (id)_downloadForMessageBodyData:(id)fp8;
00088 - (id)_performBodyDataDownload:(id)fp8 usingConnection:(id)fp12 isPartial:(char *)fp16;
00089 - (BOOL)shouldRetryEmptyBodyDownloadForMessage:(id)fp8;
00090 - (id)_fetchBodyDataForMessage:(id)fp8 andHeaderDataIfReadilyAvailable:(id *)fp12 downloadIfNecessary:(BOOL)fp16 partial:(char *)fp20;
00091 - (id)_fetchBodyDataForMessage:(id)fp8 andHeaderDataIfReadilyAvailable:(id *)fp12 downloadIfNecessary:(BOOL)fp16;
00092 - (id)bodyDataForMessage:(id)fp8 isComplete:(char *)fp12 downloadIfNecessary:(BOOL)fp16;
00093 - (id)_fetchHeaderDataForMessage:(id)fp8 downloadIfNecessary:(BOOL)fp12;
00094 - (id)connectionWithOptions:(int)fp8;
00095 - (id)connectionCreateIfNeeded:(BOOL)fp8;
00096 - (id)connection;
00097 - (id)lockedConnection:(char *)fp8;
00098 - (BOOL)_changedFlagsForMessage:(id)fp8 fetchResponse:(id)fp12 newFlags:(unsigned int *)fp16;
00099 - (void)connection:(id)fp8 didReceiveResponse:(id)fp12 forCommand:(CDAnonymousStruct8 *)fp16;
00100 - (void)startSynchronization;
00101 - (id)_uidsForMessages:(id)fp8;
00102 - (BOOL)connection:(id)fp8 shouldHandleUntaggedResponse:(id)fp12 forCommand:(CDAnonymousStruct8 *)fp16;
00103 - (void)connectionDidDisconnect:(id)fp8;
00104 - (void)_retrieveNewMessagesForCheckingNewMail:(BOOL)fp8;
00105 - (void)forceResync;
00106 - (BOOL)hasValidCacheFileForMessage:(id)fp8;
00107 - (void)setUid:(unsigned long)fp8 forMessageWithTemporaryUid:(unsigned long)fp12;
00108 - (id)addMessages:(id)fp8 newMessagesByOldMessage:(id)fp12;
00109 - (id)deletedMessages;
00110 - (void)_handleFlagsChangedForMessages:(id)fp8 oldFlagsByMessage:(id)fp12;
00111 - (void)_setFlagsForMessages:(id)fp8 mask:(unsigned long)fp12;
00112 - (void)_setFlagsAndColorForMessages:(id)fp8;
00113 - (id)fetchPipeline;
00114 - (id)downloadCache;
00115 - (id)offlineCache;
00116 - (id)offlineCacheIfOffline;
00117 - (BOOL)canPerformOfflineAppend;
00118 - (void)close;
00119 - (id)messageForRemoteID:(id)fp8;
00120 - (BOOL)hasMoreMessages:(unsigned int)fp8;
00121 - (void)setServerMessageCount:(unsigned int)fp8;
00122 - (unsigned int)serverMessageCount;
00123 - (unsigned int)serverUnreadCount;
00124 - (id)relativePath;
00125 - (void)setDownloadDelegate:(id)fp8;
00126 - (void)connection:(id)fp8 didBeginBodyLoad:(id)fp12;
00127 - (void)connection:(id)fp8 didLoadMoreBodyData:(id)fp12;
00128 - (void)connection:(id)fp8 didFinishLoadingBodyData:(id)fp12;
00129
00130 @end
00131