nsIMsgNewsFolder

IID:02699533-7ba8-4e78-94dc-a20374fb2711
Inherits From:nsISupports

This interface is implemented by the following components:


Properties

char* groupPassword

char* groupUsername

readonly char* newsrcLine

readonly nsINntpIncomingServer nntpServer

readonly char* optionLines

readonly ACString rawName

RawName is an 8-bit string to represent the name of a newsgroup used by a news server. It's offered for the convenience of callers so that they don't have to convert unicodeName to the server-side name when communicating with a news server. It's US-ASCII except for some 'stand-alone' Chinese news servers that use GB2312 for newsgroup names violating RFC 1036. For those servers, it's GB2312. However, it can be any other single and multibyte encoding in principle. The encoding of this string is stored in nsINntpIncomingServer because that's a server-wide property.

PRBool saveArticleOffline

readonly AString unicodeName

readonly char* unsubscribedNewsgroupLines


Methods

nsIMsgFolder addNewsgroup ( AUTF8String newsgroupName , char* setStr ) void cancelComplete ( ) void cancelFailed ( ) void forgetGroupPassword ( ) void forgetGroupUsername ( ) char* getGroupPasswordWithUI ( PRUnichar* promptString , PRUnichar* promptTitle , nsIMsgWindow msgWindow ) char* getGroupUsernameWithUI ( PRUnichar* promptString , PRUnichar* promptTitle , nsIMsgWindow msgWindow ) char* getMessageIdForKey ( nsMsgKey key ) void getNextNMessages ( nsIMsgWindow msgWindow ) void notifyDownloadedLine ( char* line , nsMsgKey key ) void removeMessage ( nsMsgKey key ) void SetNewsrcHasChanged ( PRBool newsrcHasChanged ) void setReadSetFromStr ( char* setStr ) void updateSummaryFromNNTPInfo ( PRInt32 oldest , PRInt32 youngest , PRInt32 total )

nsIMsgFolder addNewsgroup ( AUTF8String newsgroupName , char* setStr )

Arguments:
newsgroupName
setStr

void cancelComplete ( )


void cancelFailed ( )


void forgetGroupPassword ( )


void forgetGroupUsername ( )


char* getGroupPasswordWithUI ( PRUnichar* promptString , PRUnichar* promptTitle , nsIMsgWindow msgWindow )

Arguments:
promptString
promptTitle
msgWindow

char* getGroupUsernameWithUI ( PRUnichar* promptString , PRUnichar* promptTitle , nsIMsgWindow msgWindow )

Arguments:
promptString
promptTitle
msgWindow

char* getMessageIdForKey ( nsMsgKey key )

Arguments:
key

void getNextNMessages ( nsIMsgWindow msgWindow )

Arguments:
msgWindow

void notifyDownloadedLine ( char* line , nsMsgKey key )

Arguments:
line
key

void removeMessage ( nsMsgKey key )

Arguments:
key

void SetNewsrcHasChanged ( PRBool newsrcHasChanged )

Arguments:
newsrcHasChanged

void setReadSetFromStr ( char* setStr )

Arguments:
setStr

void updateSummaryFromNNTPInfo ( PRInt32 oldest , PRInt32 youngest , PRInt32 total )

Arguments:
oldest
youngest
total

References

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

nsINNTPArticleList.initialize, nsINNTPNewsgroupList.initialize, nsINntpIncomingServer.displaySubscribedGroup

This interface is returned from the following methods:

nsINntpIncomingServer.findGroup

Reference documentation is generated from Mozilla's source.

Add a note User Contributed Notes
No comments available

Copyright © 1999 - 2005 XULPlanet.com