mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-03 10:33:33 +00:00
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:
parent
9cba2d98dc
commit
f05e5d2a14
@ -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;
|
||||
};
|
||||
|
@ -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);
|
||||
|
||||
/////////////////////////////////////////////////////////////////////
|
||||
|
Loading…
Reference in New Issue
Block a user