mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-01 06:35:42 +00:00
67 lines
2.3 KiB
C++
67 lines
2.3 KiB
C++
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*-
|
|
*
|
|
* 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/
|
|
*
|
|
* 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.
|
|
*
|
|
* The Original Code is mozilla.org code.
|
|
*
|
|
* The Initial Developer of the Original Code is Netscape
|
|
* Communications Corporation. Portions created by Netscape are
|
|
* Copyright (C) 1998 Netscape Communications Corporation. All
|
|
* Rights Reserved.
|
|
*
|
|
* Contributor(s):
|
|
*/
|
|
#ifndef nsIImapMailFolderSink_h__
|
|
#define nsIImapMailFolderSink_h__
|
|
|
|
#include "nscore.h"
|
|
#include "nsISupports.h"
|
|
#include "nsImapCore.h"
|
|
#include "nsIImapProtocol.h"
|
|
|
|
/* 3b2dd7e0-e72c-11d2-ab7b-00805f8ac968 */
|
|
|
|
#define NS_IIMAPMAILFOLDERSINK_IID \
|
|
{ 0x3b2dd7e0, 0xe72c, 0x11d2, \
|
|
{ 0xab, 0x7b, 0x00, 0x80, 0x5f, 0x8a, 0xc9, 0x68 } }
|
|
|
|
class nsIImapMailFolderSink : public nsISupports
|
|
{
|
|
public:
|
|
static const nsIID& GetIID()
|
|
{
|
|
static nsIID iid = NS_IIMAPMAILFOLDERSINK_IID;
|
|
return iid;
|
|
}
|
|
|
|
// Tell mail master about the newly selected mailbox
|
|
NS_IMETHOD UpdateImapMailboxInfo(nsIImapProtocol* aProtocol,
|
|
mailbox_spec* aSpec) = 0;
|
|
NS_IMETHOD UpdateImapMailboxStatus(nsIImapProtocol* aProtocol,
|
|
mailbox_spec* aSpec) = 0;
|
|
NS_IMETHOD ChildDiscoverySucceeded(nsIImapProtocol* aProtocol) = 0;
|
|
NS_IMETHOD PromptUserForSubscribeUpdatePath(nsIImapProtocol* aProtocol,
|
|
PRBool* aBool) = 0;
|
|
NS_IMETHOD SetupHeaderParseStream(nsIImapProtocol* aProtocol,
|
|
StreamInfo* aStreamInfo) = 0;
|
|
|
|
NS_IMETHOD ParseAdoptedHeaderLine(nsIImapProtocol* aProtocol,
|
|
msg_line_info* aMsgLineInfo) = 0;
|
|
|
|
NS_IMETHOD NormalEndHeaderParseStream(nsIImapProtocol* aProtocol) = 0;
|
|
|
|
NS_IMETHOD AbortHeaderParseStream(nsIImapProtocol* aProtocol) = 0;
|
|
|
|
|
|
};
|
|
|
|
#endif
|