nsIMsgThread

IID:df64af90-e2da-11d2-8d6c-00805f8a6617
Inherits From:nsISupports

Properties

PRUint32 flags

PRUint32 newestMsgDate

readonly PRUint32 numChildren

readonly PRUint32 numUnreadChildren

char* subject

nsMsgKey threadKey


Methods

void AddChild ( nsIMsgDBHdr child , nsIMsgDBHdr inReplyTo , PRBool threadInThread , nsIDBChangeAnnouncer announcer ) nsISimpleEnumerator EnumerateMessages ( nsMsgKey parent ) nsIMsgDBHdr GetChild ( nsMsgKey msgKey ) nsIMsgDBHdr GetChildAt ( PRInt32 index ) nsIMsgDBHdr GetChildHdrAt ( PRInt32 index ) nsMsgKey GetChildKeyAt ( PRInt32 index ) nsIMsgDBHdr GetFirstUnreadChild ( ) nsIMsgDBHdr GetRootHdr ( out PRInt32 index ) void MarkChildRead ( PRBool bRead ) void RemoveChildAt ( PRInt32 index ) void RemoveChildHdr ( nsIMsgDBHdr child , nsIDBChangeAnnouncer announcer )

void AddChild ( nsIMsgDBHdr child , nsIMsgDBHdr inReplyTo , PRBool threadInThread , nsIDBChangeAnnouncer announcer )

Arguments:
child
inReplyTo
threadInThread
announcer

nsISimpleEnumerator EnumerateMessages ( nsMsgKey parent )

Arguments:
parent

nsIMsgDBHdr GetChild ( nsMsgKey msgKey )

Arguments:
msgKey

nsIMsgDBHdr GetChildAt ( PRInt32 index )

Arguments:
index

nsIMsgDBHdr GetChildHdrAt ( PRInt32 index )

Arguments:
index

nsMsgKey GetChildKeyAt ( PRInt32 index )

Arguments:
index

nsIMsgDBHdr GetFirstUnreadChild ( )


nsIMsgDBHdr GetRootHdr ( out PRInt32 index )

Arguments:
index

void MarkChildRead ( PRBool bRead )

Arguments:
bRead

void RemoveChildAt ( PRInt32 index )

Arguments:
index

void RemoveChildHdr ( nsIMsgDBHdr child , nsIDBChangeAnnouncer announcer )

Arguments:
child
announcer

References

This interface is passed as an argument to the following methods:

nsIMsgDatabase.MarkThreadIgnored, nsIMsgDatabase.MarkThreadRead, nsIMsgDatabase.MarkThreadWatched, nsIMsgFolder.markThreadRead

This interface is returned from the following methods:

nsIMsgDatabase.GetThreadContainingMsgHdr

Reference documentation is generated from Mozilla's source.

Add a note User Contributed Notes
No comments available

Copyright © 1999 - 2005 XULPlanet.com