pjs/mailnews/base/public/nsIMsgThread.idl

49 строки
1.7 KiB
Plaintext
Исходник Обычный вид История

/* -*- Mode: IDL; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*-
*
* The contents of this file are subject to the Netscape Public License
* Version 1.0 (the "NPL"); you may not use this file except in
* compliance with the NPL. You may obtain a copy of the NPL at
* http://www.mozilla.org/NPL/
*
* Software distributed under the NPL is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
* for the specific language governing rights and limitations under the
* NPL.
*
* The Initial Developer of this code under the NPL is Netscape
* Communications Corporation. Portions created by Netscape are
1999-06-30 23:45:03 +04:00
* Copyright (C) 1998-1999 Netscape Communications Corporation. All Rights
* Reserved.
*/
#include "nsISupports.idl"
#include "nsIEnumerator.idl"
1999-06-12 02:07:08 +04:00
#include "MailNewsTypes2.idl"
interface nsIMsgDBHdr;
interface nsIMsgHdr;
1999-07-22 01:49:46 +04:00
interface nsIDBChangeAnnouncer;
1999-04-25 00:33:39 +04:00
[scriptable, uuid(df64af90-e2da-11d2-8d6c-00805f8a6617)]
interface nsIMsgThread : nsISupports {
attribute nsMsgKey threadKey;
attribute unsigned long flags;
1999-06-30 23:45:03 +04:00
attribute string subject;
readonly attribute unsigned long numChildren;
readonly attribute unsigned long numUnreadChildren;
1999-07-22 01:49:46 +04:00
void AddChild(in nsIMsgDBHdr child, in nsIMsgDBHdr inReplyTo, in boolean threadInThread, in nsIDBChangeAnnouncer announcer);
1999-04-25 00:33:39 +04:00
nsIMsgDBHdr GetChildAt(in long index);
nsIMsgDBHdr GetChild(in nsMsgKey msgKey);
nsIMsgDBHdr GetChildHdrAt(in long index);
1999-07-13 22:48:25 +04:00
nsIMsgDBHdr GetRootHdr(out long index);
void RemoveChildAt(in long index);
1999-07-22 01:49:46 +04:00
void RemoveChildHdr(in nsIMsgDBHdr child, in nsIDBChangeAnnouncer announcer);
void MarkChildRead(in boolean bRead);
nsISimpleEnumerator EnumerateMessages(in nsMsgKey parent);
};