зеркало из https://github.com/mozilla/gecko-dev.git
(not part of the build yet) more porting from 4.5 to 5.0; added missing host info methods
This commit is contained in:
Родитель
dd683cee79
Коммит
22acd0af11
|
@ -58,6 +58,25 @@ public:
|
|||
NS_IMETHOD GetPasswordVerifiedOnline(const char *hostname, const char *userName, PRBool &result) = 0;
|
||||
NS_IMETHOD SetPasswordVerifiedOnline(const char *hostName, const char *userName) = 0;
|
||||
|
||||
// OnlineDir
|
||||
NS_IMETHOD GetOnlineDirForHost(const char *hostName, const char *userName,
|
||||
nsString &result) = 0;
|
||||
NS_IMETHOD SetOnlineDirForHost(const char *hostName, const char *userName,
|
||||
const char *onlineDir) = 0;
|
||||
|
||||
// Delete is move to trash folder
|
||||
NS_IMETHOD GetDeleteIsMoveToTrashForHost(const char *hostName, const char
|
||||
*userName, PRBool &result) = 0;
|
||||
NS_IMETHOD SetDeleteIsMoveToTrashForHost(const char *hostName, const char
|
||||
*userName, PRBool isMoveToTrash)
|
||||
= 0;
|
||||
|
||||
// Get namespaces
|
||||
NS_IMETHOD GetGotNamespacesForHost(const char *hostName, const char
|
||||
*userName, PRBool &result) = 0;
|
||||
NS_IMETHOD SetGotNamespacesForHost(const char *hostName, const char
|
||||
*userName, PRBool gotNamespaces) = 0;
|
||||
|
||||
// Folders
|
||||
NS_IMETHOD SetHaveWeEverDiscoveredFoldersForHost(const char *hostname, const char *userName, PRBool discovered) = 0;
|
||||
NS_IMETHOD GetHaveWeEverDiscoveredFoldersForHost(const char *hostname, const char *userName, PRBool &result) = 0;
|
||||
|
|
|
@ -45,13 +45,13 @@ public:
|
|||
NS_IMETHOD SetMailAccountUrl(nsIImapProtocol* aProtocol,
|
||||
const char* hostName) = 0;
|
||||
NS_IMETHOD ClearFolderRights(nsIImapProtocol* aProtocol,
|
||||
TIMAPACLRightsInfo* aclRights) = 0;
|
||||
nsIMAPACLRightsInfo* aclRights) = 0;
|
||||
NS_IMETHOD AddFolderRights(nsIImapProtocol* aProtocol,
|
||||
TIMAPACLRightsInfo* aclRights) = 0;
|
||||
nsIMAPACLRightsInfo* aclRights) = 0;
|
||||
NS_IMETHOD RefreshFolderRights(nsIImapProtocol* aProtocol,
|
||||
TIMAPACLRightsInfo* aclRights) = 0;
|
||||
nsIMAPACLRightsInfo* aclRights) = 0;
|
||||
NS_IMETHOD FolderNeedsACLInitialized(nsIImapProtocol* aProtocol,
|
||||
TIMAPACLRightsInfo* aclRights) = 0;
|
||||
nsIMAPACLRightsInfo* aclRights) = 0;
|
||||
NS_IMETHOD SetFolderAdminURL(nsIImapProtocol* aProtocol,
|
||||
FolderQueryInfo* aInfo) = 0;
|
||||
};
|
||||
|
|
|
@ -132,7 +132,7 @@ public:
|
|||
NS_IMETHOD SetImapAction(nsImapAction aImapAction) = 0;
|
||||
|
||||
NS_IMETHOD GetImapPartToFetch(char **resultPart) const = 0;
|
||||
NS_IMETHOD AllocateCannonicalPath(const char *serverPath, char onlineDelimiter, char **allocatedPath ) const = 0;
|
||||
NS_IMETHOD AllocateCanonicalPath(const char *serverPath, char onlineDelimiter, char **allocatedPath ) const = 0;
|
||||
|
||||
NS_IMETHOD CreateListOfMessageIdsString(char **result) const = 0;
|
||||
};
|
||||
|
|
Загрузка…
Ссылка в новой задаче