00001
00002
00003
00004
00005
00006
00007 #import "NSObject.h"
00008
00009 @class NSMutableDictionary;
00010
00011 @interface Account : NSObject
00012 {
00013 NSMutableDictionary *_info;
00014 unsigned int _isOffline:1;
00015 unsigned int _autosynchronizingEnabled:1;
00016 unsigned int _isActive:2;
00017 }
00018
00019 + (BOOL)_shouldUseKeychain;
00020 + (void)initialize;
00021 + (BOOL)haveAccountsBeenConfigured;
00022 + (BOOL)isPredefinedAccountType;
00023 + (id)predefinedValueForKey:(id)fp8;
00024 + (id)readAccountsUsingKey:(id)fp8;
00025 + (void)saveAccounts:(id)fp8 usingKey:(id)fp12;
00026 + (void)saveAccountInfoToDefaults;
00027 + (id)createAccountWithDictionary:(id)fp8;
00028 + (id)accountTypeString;
00029 + (id)displayedAccountTypeString;
00030 + (id)myFullName;
00031 + (id)accountInfoValueForKey:(id)fp8 value:(id)fp12;
00032 + (BOOL)allObjectsInArrayAreOffline:(id)fp8;
00033 + (BOOL)isSSLEditable;
00034 + (id)saslProfileName;
00035 - (id)init;
00036 - (void)dealloc;
00037 - (void)willSleep:(id)fp8;
00038 - (void)setAutosynchronizingEnabled:(BOOL)fp8;
00039 - (void)_queueAccountInfoDidChange;
00040 - (id)accountInfo;
00041 - (void)_setAccountInfo:(id)fp8;
00042 - (void)setAccountInfo:(id)fp8;
00043 - (void)setValueInAccountInfo:(id)fp8 forKey:(id)fp12;
00044 - (void)removeValueInAccountInfoForKey:(id)fp8;
00045 - (id)valueInAccountInfoForKey:(id)fp8;
00046 - (id)defaultsDictionary;
00047 - (BOOL)isActive;
00048 - (void)setIsActive:(BOOL)fp8;
00049 - (BOOL)isInactivatedInsteadOfBeingDeleted;
00050 - (void)setInactivatedInsteadOfBeingDeleted:(BOOL)fp8;
00051 - (BOOL)canGoOffline;
00052 - (BOOL)isOffline;
00053 - (void)setIsOffline:(BOOL)fp8;
00054 - (id)displayName;
00055 - (void)setDisplayName:(id)fp8;
00056 - (id)username;
00057 - (void)setUsername:(id)fp8;
00058 - (id)hostname;
00059 - (void)setHostname:(id)fp8;
00060 - (void)setPasswordInKeychain:(id)fp8;
00061 - (void)_removePasswordInKeychain;
00062 - (void)setTemporaryPassword:(id)fp8;
00063 - (void)setPassword:(id)fp8;
00064 - (id)passwordFromStoredUserInfo;
00065 - (id)passwordFromKeychain;
00066 - (id)password;
00067 - (id)promptUserForPasswordWithMessage:(id)fp8;
00068 - (BOOL)storesPassword;
00069 - (BOOL)needsCredentials;
00070 - (BOOL)acquireCredentialsWithPassword:(id)fp8;
00071 - (id)promptUserIfNeededForPasswordWithMessage:(id)fp8;
00072 - (unsigned int)portNumber;
00073 - (unsigned int)defaultPortNumber;
00074 - (unsigned int)defaultSecurePortNumber;
00075 - (unsigned int)keychainPortNumber;
00076 - (void)setPortNumber:(unsigned int)fp8;
00077 - (BOOL)isCommonPortNumber:(unsigned int)fp8;
00078 - (id)serviceName;
00079 - (id)secureServiceName;
00080 - (long)dataContextIdentifier;
00081 - (void)releaseAllConnections;
00082 - (void)releaseAllForcedConnections;
00083 - (void)validateConnections;
00084 - (BOOL)usesSSL;
00085 - (void)setUsesSSL:(BOOL)fp8;
00086 - (void)setTryDirectSSL:(BOOL)fp8;
00087 - (id)domain;
00088 - (void)setDomain:(id)fp8;
00089 - (void)accountInfoDidChange;
00090 - (id)preferredAuthScheme;
00091 - (void)setPreferredAuthScheme:(id)fp8;
00092 - (Class)connectionClass;
00093 - (BOOL)requiresAuthentication;
00094 - (id)authenticatedConnection;
00095 - (id)defaultConnectionSettings;
00096 - (void)applySettingsAsDefault:(id)fp8;
00097 - (id)alternateConnectionSettings;
00098 - (id)insecureConnectionSettings;
00099 - (id)secureConnectionSettings;
00100 - (BOOL)_shouldTryDirectSSLConnectionOnPort:(unsigned int)fp8;
00101 - (id)customTitleForError:(id)fp8 authScheme:(id)fp12 defaultTitle:(id)fp16;
00102 - (id)customTitleForAuthenticationError:(id)fp8 authScheme:(id)fp12 defaultTitle:(id)fp16;
00103 - (id)customDescriptionForError:(id)fp8 authScheme:(id)fp12 defaultDescription:(id)fp16;
00104 - (BOOL)isPasswordMissing;
00105 - (void)reportAuthenticationError:(id)fp8 authScheme:(id)fp12;
00106 - (BOOL)_connectAndAuthenticate:(id)fp8;
00107 - (id)uniqueId;
00108 - (id)nameForMailboxUid:(id)fp8;
00109 - (void)setUserApprovedCertificateDigest:(id)fp8;
00110 - (id)userApprovedCertificateDigest;
00111 - (BOOL)shouldEnableAfterError:(id)fp8;
00112 - (BOOL)enableAccount;
00113
00114 @end
00115