mailnews/base/public/nsICopyMsgStreamListener.idl
author Gervase Markham <gerv@gerv.net>
Wed, 30 May 2012 17:48:24 +0100
changeset 12286 84ac3c71109811da751f0ef2d72108075938f094
parent 0 e4f4569d451a5e0d12a6aa33ebd916f979dd8faa
permissions -rw-r--r--
Bug 757018 - upgrade license to MPL 2.

/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/* 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"
#include "nsIMsgFolder.idl"
#include "nsICopyMessageListener.idl"

[scriptable, uuid(7741DAEC-2125-11d3-8A90-0060B0FC04D2)]

interface nsICopyMessageStreamListener: nsISupports
{
  void Init(in nsIMsgFolder srcFolder, in nsICopyMessageListener destination, in nsISupports listenerData);
  void StartMessage();
  void EndMessage(in nsMsgKey key);
  void EndCopy(in nsISupports url, in nsresult aStatus);
};