Bug #5938 --> displayMessage needs to allow us to pass in a charset override.

Bug #5938 --> add get/set charset over-ride to I18N urls.
This commit is contained in:
mscott%netscape.com 2000-05-15 22:40:01 +00:00
parent 9cba2d98dc
commit f05e5d2a14
2 changed files with 13 additions and 10 deletions

View File

@ -110,5 +110,5 @@ interface nsIMsgI18NUrl : nsISupports {
readonly attribute wstring folderCharset;
// the charsetOverRide is a charset the user may have specified via the menu for
// a particular message
// attribute wstring charsetOverRide;
attribute wstring charsetOverRide;
};

View File

@ -64,18 +64,21 @@ interface nsIMsgMessageService : nsISupports {
[noscript] void CopyMessages(in nsMsgKeyArrayPtr keys, in nsIMsgFolder srcFolder, in nsIStreamListener aCopyListener, in boolean aMoveMessage,
in nsIUrlListener aUrlListener, out nsIURI aURL);
/////////////////////////////////////////////////////////////////////
// DisplayMessage: When you want a message displayed....
// aMessageURI is a uri representing the message to display.
// aDisplayConsumer is (for now) a nsIWebshell which we'll use to load
// the message into.
// It would be nice if we can figure this out for ourselves in the
// protocol but we can't do that right now.
///////////////////////////////////////////////////////////////////
/////////////////////////////////////////////////////////////////////
// DisplayMessage: When you want a message displayed....
// aMessageURI is a uri representing the message to display.
// aDisplayConsumer is (for now) a nsIWebshell which we'll use to load
// the message into.
// aCharsetOverride (optional) character set over ride to force the message to
// use
//
///////////////////////////////////////////////////////////////////
void DisplayMessage(in string aMessageURI, in nsISupports aDisplayConsumer,
void DisplayMessage(in string aMessageURI,
in nsISupports aDisplayConsumer,
in nsIMsgWindow aMsgWindow,
in nsIUrlListener aUrlListener,
in wstring aCharsetOverride,
out nsIURI aURL);
/////////////////////////////////////////////////////////////////////