Revision control

Copy as Markdown

Other Tools

/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
#include "nsISupports.idl"
interface nsIMsgFolder;
interface nsIMsgWindow;
interface nsIUrlListener;
// Interface to kick off various IMAP operations.
// A little misnamed. nsImapOfflineDownloader also presents this interface.
[scriptable, uuid(ffb683c5-f2c5-490a-b569-2f6b0de0a241)]
interface nsIImapOfflineSync : nsISupports {
// isPseudoOffline is used only when performing message copies between IMAP
// folders on the same server. An "offline" copy is performed first to
// instantly copy the messages, then nsImapOfflineSync is used to perform the
// corresponding IMAP operations.
void init(in nsIMsgWindow window,
in nsIUrlListener listener,
in nsIMsgFolder folder,
in boolean isPseudoOffline);
void processNextOperation();
};