зеркало из https://github.com/mozilla/gecko-dev.git
newsgroups keep track of thier pretty names
newsgroups don't keep track of flags (that's a job for nsIMsgFolder)
This commit is contained in:
Родитель
66386b80af
Коммит
eef01e3c92
|
@ -30,6 +30,10 @@ class nsINNTPNewsgroup : public nsISupports {
|
|||
NS_IMETHOD GetName(char * *aName) = 0;
|
||||
NS_IMETHOD SetName(char * aName) = 0;
|
||||
|
||||
/* <IDL> */
|
||||
NS_IMETHOD GetPrettyName(char * *aPrettyName) = 0;
|
||||
NS_IMETHOD SetPrettyName(char * aPrettyName) = 0;
|
||||
|
||||
/* <IDL> */
|
||||
NS_IMETHOD GetPassword(char * *aPassword) = 0;
|
||||
NS_IMETHOD SetPassword(char * aPassword) = 0;
|
||||
|
@ -49,12 +53,6 @@ class nsINNTPNewsgroup : public nsISupports {
|
|||
NS_IMETHOD IsCategory(PRBool *aIsCategory) = 0;
|
||||
NS_IMETHOD SetCategory(PRBool aCategory) = 0;
|
||||
|
||||
/* <IDL> */
|
||||
NS_IMETHOD GetFlag(PRInt32 flag, PRBool *_retval) = 0;
|
||||
|
||||
/* <IDL> */
|
||||
NS_IMETHOD SetFlag(PRInt32 flag) = 0;
|
||||
|
||||
/* <IDL> */
|
||||
NS_IMETHOD IsSubscribed(PRBool *aIsSubscribed) = 0;
|
||||
NS_IMETHOD SetSubscribed(PRBool aSubscribed) = 0;
|
||||
|
|
|
@ -30,6 +30,7 @@
|
|||
interface nsINNTPNewsgroup : nsISupports {
|
||||
|
||||
attribute string name;
|
||||
attribute string prettyName;
|
||||
|
||||
attribute string password;
|
||||
attribute string username;
|
||||
|
@ -41,11 +42,9 @@ interface nsINNTPNewsgroup : nsISupports {
|
|||
|
||||
attribute boolean category;
|
||||
|
||||
boolean GetFlag(in long flag);
|
||||
void SetFlag(in long flag);
|
||||
|
||||
attribute boolean subscribed;
|
||||
attribute boolean wantNewTotals;
|
||||
|
||||
};
|
||||
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче