mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-10 15:33:23 +00:00
update interfaces slightly to include nsISupports and use it
This commit is contained in:
parent
03feba0770
commit
bc1fd1596d
@ -1,11 +1,12 @@
|
||||
#include "nsISupports.idl"
|
||||
|
||||
/* this interface is basically for the old ListNewsGroupState class
|
||||
* (the implementation of this class probably wants to also implement
|
||||
* or contain ChangeListener so that it can react to OnAnnouncerGoingAway()
|
||||
* to destroy the DBView)
|
||||
*/
|
||||
[object, uuid({E628ED19-9452-11d2-B7EA-00805F05FFA5})]
|
||||
interface nsIMsgNewsArticleList {
|
||||
[object, uuid(E628ED19-9452-11d2-B7EA-00805F05FFA5)]
|
||||
interface nsIMsgNewsArticleList : nsISupports {
|
||||
|
||||
/* These calls are used by libnet to determine which articles it ought to
|
||||
get in a big newsgroup. */
|
||||
|
@ -1,5 +1,7 @@
|
||||
#include "nsISupports.idl"
|
||||
|
||||
[object, uuid(2F5041B0-939E-11d2-B7EA-00805F05FFA5)]
|
||||
interface nsIMsgHostNews {
|
||||
interface nsIMsgHostNews : nsISupports {
|
||||
|
||||
attribute boolean supportsExtensions;
|
||||
void AddExtension(in string extension);
|
||||
|
@ -1,6 +1,8 @@
|
||||
|
||||
#include "nsISupports.idl"
|
||||
|
||||
[object, uuid(E628ED10-9452-11d2-B7EA-00805F05FFA5)]
|
||||
interface nsINetNewsgroup {
|
||||
interface nsINetNewsgroup : nsISupports {
|
||||
|
||||
attribute string prettyName;
|
||||
|
||||
|
@ -1,5 +1,8 @@
|
||||
#include "nsISupports.idl"
|
||||
|
||||
|
||||
[object, uuid(E628ED19-9452-11d2-B7EA-00805F05FFA5)]
|
||||
interface nsIMsgListNewsgroupState {
|
||||
interface nsIMsgXOVERParser : nsISupports {
|
||||
|
||||
/* The NNTP module of netlib calls these to feed XOVER data to the message
|
||||
library, in response to a news:group.name URL having been opened.
|
||||
@ -16,10 +19,10 @@ interface nsIMsgListNewsgroupState {
|
||||
in long first_message, in long last_message,
|
||||
in long oldest_message, in long newest_message);
|
||||
|
||||
void Process(in string line);
|
||||
void Process(in string line, out long status);
|
||||
void ProcessNonXOVER(in string line);
|
||||
void Reset();
|
||||
void Finish(in long status);
|
||||
void Finish(in long status, out long newstatus);
|
||||
void ClearState();
|
||||
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user