diff options
Diffstat (limited to 'mailnews/base/src/nsMsgAccountManager.h')
-rw-r--r-- | mailnews/base/src/nsMsgAccountManager.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/mailnews/base/src/nsMsgAccountManager.h b/mailnews/base/src/nsMsgAccountManager.h index d5a116e57..11d19590b 100644 --- a/mailnews/base/src/nsMsgAccountManager.h +++ b/mailnews/base/src/nsMsgAccountManager.h @@ -142,6 +142,16 @@ private: nsresult GetLocalFoldersPrettyName(nsString &localFoldersName); + /** + * Check if the given account can be the set as the default account. + */ + nsresult CheckDefaultAccount(nsIMsgAccount* aAccount, bool &aCanBeDefault); + + /** + * Find a new account that can serve as default. + */ + nsresult AutosetDefaultAccount(); + // sets the pref for the default server nsresult setDefaultAccountPref(nsIMsgAccount *aDefaultAccount); |