mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-02 10:00:54 +00:00
update nsIMsgNewsHost to deal with newsgroups directly rather than as group names
This commit is contained in:
parent
56f3e646ec
commit
20dae8317b
@ -6,6 +6,7 @@
|
||||
#define __nsIMsgNewsHost_h__
|
||||
|
||||
#include "nsISupports.h" /* interface nsISupports */
|
||||
#include "nsIMsgNewsgroup.h" /* interface nsIMsgNewsgroup */
|
||||
|
||||
/* starting interface nsIMsgNewsHost */
|
||||
|
||||
@ -77,14 +78,14 @@ class nsIMsgNewsHost : public nsISupports {
|
||||
/* void DisplaySubscribedGroup(in string groupname, in first_message, in last_message, in total_messages, in boolean visit_now); */
|
||||
NS_IMETHOD DisplaySubscribedGroup(const char *groupname, PRInt32 first_message, PRInt32 last_message, PRInt32 total_messages, PRBool visit_now) = 0;
|
||||
|
||||
/* string GetFirstGroupNeedingExtraInfo(); */
|
||||
NS_IMETHOD GetFirstGroupNeedingExtraInfo(char **_retval) = 0;
|
||||
/* nsIMsgNewsgroup GetFirstGroupNeedingExtraInfo(); */
|
||||
NS_IMETHOD GetFirstGroupNeedingExtraInfo(nsIMsgNewsgroup **_retval) = 0;
|
||||
|
||||
/* void SetGroupNeedsExtraInfo(in string groupname, in boolean needsExtraInfo); */
|
||||
NS_IMETHOD SetGroupNeedsExtraInfo(const char *groupname, PRBool needsExtraInfo) = 0;
|
||||
|
||||
/* void GetNewsGroupAndNumberOfID(in string message_id, out string groupname, out message_number); */
|
||||
NS_IMETHOD GetNewsGroupAndNumberOfID(const char *message_id, char **groupname, PRInt32 *message_number) = 0;
|
||||
/* void GetNewsGroupAndNumberOfID(in string message_id, out nsIMsgNewsgroup group, out unsigned message_number); */
|
||||
NS_IMETHOD GetNewsGroupAndNumberOfID(const char *message_id, nsIMsgNewsgroup **group, PRUint32 *message_number) = 0;
|
||||
|
||||
/* void AddPrettyName(in string groupName, in string prettyName); */
|
||||
NS_IMETHOD AddPrettyName(const char *groupName, const char *prettyName) = 0;
|
||||
|
@ -16,6 +16,7 @@
|
||||
* Reserved.
|
||||
*/
|
||||
#include "nsISupports.idl"
|
||||
#include "nsIMsgNewsgroup.idl"
|
||||
|
||||
[object, uuid(2F5041B0-939E-11d2-B7EA-00805F05FFA5)]
|
||||
interface nsIMsgNewsHost : nsISupports {
|
||||
@ -77,7 +78,7 @@ interface nsIMsgNewsHost : nsISupports {
|
||||
in long total_messages,
|
||||
in boolean visit_now);
|
||||
|
||||
string GetFirstGroupNeedingExtraInfo();
|
||||
nsIMsgNewsgroup GetFirstGroupNeedingExtraInfo();
|
||||
void SetGroupNeedsExtraInfo(in string groupname, in boolean needsExtraInfo);
|
||||
|
||||
|
||||
@ -87,8 +88,8 @@ interface nsIMsgNewsHost : nsISupports {
|
||||
thead or message pane, this routine will fail.
|
||||
*/
|
||||
void GetNewsGroupAndNumberOfID(in string message_id,
|
||||
out string groupname,
|
||||
out long message_number);
|
||||
out nsIMsgNewsgroup group,
|
||||
out unsigned long message_number);
|
||||
|
||||
|
||||
void AddPrettyName(in string groupName, in string prettyName);
|
||||
|
Loading…
Reference in New Issue
Block a user