1999-09-03 04:57:30 +00:00
|
|
|
/* -*- Mode: IDL; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*-
|
|
|
|
*
|
1999-11-06 03:43:54 +00:00
|
|
|
* The contents of this file are subject to the Netscape Public
|
|
|
|
* License Version 1.1 (the "License"); you may not use this file
|
|
|
|
* except in compliance with the License. You may obtain a copy of
|
|
|
|
* the License at http://www.mozilla.org/NPL/
|
1999-09-03 04:57:30 +00:00
|
|
|
*
|
1999-11-06 03:43:54 +00:00
|
|
|
* Software distributed under the License is distributed on an "AS
|
|
|
|
* IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
|
|
|
|
* implied. See the License for the specific language governing
|
|
|
|
* rights and limitations under the License.
|
1999-09-03 04:57:30 +00:00
|
|
|
*
|
1999-11-06 03:43:54 +00:00
|
|
|
* The Original Code is mozilla.org code.
|
|
|
|
*
|
|
|
|
* The Initial Developer of the Original Code is Netscape
|
1999-09-03 04:57:30 +00:00
|
|
|
* Communications Corporation. Portions created by Netscape are
|
1999-11-06 03:43:54 +00:00
|
|
|
* Copyright (C) 1998 Netscape Communications Corporation. All
|
|
|
|
* Rights Reserved.
|
|
|
|
*
|
|
|
|
* Contributor(s):
|
1999-09-03 04:57:30 +00:00
|
|
|
*/
|
|
|
|
|
|
|
|
#include "nsISupports.idl"
|
|
|
|
|
|
|
|
interface nsIUrlListener;
|
|
|
|
interface nsIURI;
|
|
|
|
interface nsIImapUrl;
|
|
|
|
interface nsIEventQueue;
|
|
|
|
interface nsIImapProtocol;
|
|
|
|
interface nsISupportsArray;
|
1999-09-16 23:30:46 +00:00
|
|
|
interface nsIMsgFolder;
|
1999-09-03 04:57:30 +00:00
|
|
|
|
|
|
|
[scriptable, uuid(3d2e7e38-f9d8-11d2-af8f-001083002da8)]
|
|
|
|
interface nsIImapIncomingServer : nsISupports {
|
|
|
|
|
|
|
|
attribute long maximumConnectionsNumber;
|
|
|
|
attribute long timeOutLimits;
|
|
|
|
attribute string adminUrl;
|
|
|
|
attribute long capabilityPref;
|
|
|
|
attribute boolean cleanupInboxOnExit;
|
|
|
|
attribute long deleteModel;
|
|
|
|
attribute boolean dualUseFolders;
|
|
|
|
attribute boolean emptyTrashOnExit;
|
|
|
|
attribute long emptyTrashThreshhold;
|
|
|
|
attribute string personalNamespace;
|
|
|
|
attribute string publicNamespace;
|
|
|
|
attribute string otherUsersNamespace;
|
|
|
|
attribute boolean offlineDownload;
|
|
|
|
attribute boolean overrideNamespaces;
|
|
|
|
attribute boolean usingSubscription;
|
1999-09-05 22:32:41 +00:00
|
|
|
attribute string manageMailAccountUrl;
|
1999-09-16 00:08:02 +00:00
|
|
|
attribute boolean fetchByChunks;
|
|
|
|
attribute boolean mimePartsOnDemand;
|
2000-01-08 01:36:05 +00:00
|
|
|
attribute boolean isAOLServer;
|
1999-09-12 05:13:51 +00:00
|
|
|
void GetImapConnectionAndLoadUrl(in nsIEventQueue aClientEventQueue,
|
1999-09-03 07:22:10 +00:00
|
|
|
in nsIImapUrl aImapUrl,
|
|
|
|
in nsISupports aConsumer);
|
1999-09-03 04:57:30 +00:00
|
|
|
|
1999-09-03 07:22:10 +00:00
|
|
|
void RemoveConnection(in nsIImapProtocol aImapConnection);
|
1999-09-05 00:04:56 +00:00
|
|
|
void ResetNamespaceReferences();
|
1999-11-11 00:04:45 +00:00
|
|
|
void PseudoInterruptMsgLoad(in nsIImapUrl aImapUrl, out boolean interrupted);
|
1999-12-03 05:59:57 +00:00
|
|
|
void ResetConnection(in string folderName);
|
1999-09-03 04:57:30 +00:00
|
|
|
};
|