diff --git a/mailnews/news/public/nsINNTPArticleList.h b/mailnews/news/public/nsINNTPArticleList.h index 37cf979eeca..c6a84341a09 100644 --- a/mailnews/news/public/nsINNTPArticleList.h +++ b/mailnews/news/public/nsINNTPArticleList.h @@ -20,9 +20,6 @@ { 0xB7, 0xEB, 0x00, 0x80, 0x5F, 0x05, 0xFF, 0xA5 }} class nsINNTPArticleList : public nsISupports { - private: - void operator delete(void *); // NOT TO BE IMPLEMENTED - public: static const nsIID& IID() { static nsIID iid = NS_INNTPARTICLELIST_IID; diff --git a/mailnews/news/public/nsINNTPCategoryContainer.h b/mailnews/news/public/nsINNTPCategoryContainer.h index 61b6887074c..0def9bc2d19 100644 --- a/mailnews/news/public/nsINNTPCategoryContainer.h +++ b/mailnews/news/public/nsINNTPCategoryContainer.h @@ -19,7 +19,6 @@ class nsINNTPCategoryContainer : public nsISupports { private: - void operator delete(void *); // NOT TO BE IMPLEMENTED public: static const nsIID& IID() { diff --git a/mailnews/news/public/nsINNTPHost.h b/mailnews/news/public/nsINNTPHost.h index b596b96a98d..3e17d6841a0 100644 --- a/mailnews/news/public/nsINNTPHost.h +++ b/mailnews/news/public/nsINNTPHost.h @@ -20,9 +20,7 @@ class nsINNTPHost : public nsISupports { private: - void operator delete(void *); // NOT TO BE IMPLEMENTED - - public: + public: static const nsIID& IID() { static nsIID iid = NS_INNTPHOST_IID; return iid; diff --git a/mailnews/news/public/nsINNTPNewsgroup.h b/mailnews/news/public/nsINNTPNewsgroup.h index 5a146c21fa0..392c7df093d 100644 --- a/mailnews/news/public/nsINNTPNewsgroup.h +++ b/mailnews/news/public/nsINNTPNewsgroup.h @@ -19,7 +19,6 @@ class nsINNTPNewsgroup : public nsISupports { private: - void operator delete(void *); // NOT TO BE IMPLEMENTED public: static const nsIID& IID() { @@ -28,42 +27,42 @@ class nsINNTPNewsgroup : public nsISupports { } /* */ - NS_IMETHOD GetName(char * *aName) = 0; + NS_IMETHOD GetName(char * *aName) const = 0; NS_IMETHOD SetName(char * aName) = 0; /* */ - NS_IMETHOD GetPrettyName(char * *aPrettyName) = 0; + NS_IMETHOD GetPrettyName(char * *aPrettyName) const = 0; NS_IMETHOD SetPrettyName(char * aPrettyName) = 0; /* */ - NS_IMETHOD GetPassword(char * *aPassword) = 0; + NS_IMETHOD GetPassword(char * *aPassword) const = 0; NS_IMETHOD SetPassword(char * aPassword) = 0; /* */ - NS_IMETHOD GetUsername(char * *aUsername) = 0; + NS_IMETHOD GetUsername(char * *aUsername) const = 0; NS_IMETHOD SetUsername(char * aUsername) = 0; /* */ - NS_IMETHOD GetNeedsExtraInfo(PRBool *aNeedsExtraInfo) = 0; + NS_IMETHOD GetNeedsExtraInfo(PRBool *aNeedsExtraInfo) const = 0; NS_IMETHOD SetNeedsExtraInfo(PRBool aNeedsExtraInfo) = 0; /* */ NS_IMETHOD IsOfflineArticle(PRInt32 num, PRBool *_retval) = 0; /* */ - NS_IMETHOD GetCategory(PRBool *aCategory) = 0; + NS_IMETHOD GetCategory(PRBool *aCategory) const = 0; NS_IMETHOD SetCategory(PRBool aCategory) = 0; /* */ - NS_IMETHOD GetSubscribed(PRBool *aSubscribed) = 0; + NS_IMETHOD GetSubscribed(PRBool *aSubscribed) const = 0; NS_IMETHOD SetSubscribed(PRBool aSubscribed) = 0; /* */ - NS_IMETHOD GetWantNewTotals(PRBool *aWantNewTotals) = 0; + NS_IMETHOD GetWantNewTotals(PRBool *aWantNewTotals) const = 0; NS_IMETHOD SetWantNewTotals(PRBool aWantNewTotals) = 0; /* */ - NS_IMETHOD GetNewsgroupList(nsINNTPNewsgroupList * *aNewsgroupList) = 0; + NS_IMETHOD GetNewsgroupList(nsINNTPNewsgroupList * *aNewsgroupList) const = 0; NS_IMETHOD SetNewsgroupList(nsINNTPNewsgroupList * aNewsgroupList) = 0; /* */ diff --git a/mailnews/news/public/nsINNTPNewsgroupList.h b/mailnews/news/public/nsINNTPNewsgroupList.h index d144de62996..c45200403ac 100644 --- a/mailnews/news/public/nsINNTPNewsgroupList.h +++ b/mailnews/news/public/nsINNTPNewsgroupList.h @@ -17,9 +17,6 @@ { 0xB7, 0xEA, 0x00, 0x80, 0x5F, 0x05, 0xFF, 0xA5 }} class nsINNTPNewsgroupList : public nsISupports { - private: - void operator delete(void *); // NOT TO BE IMPLEMENTED - public: static const nsIID& IID() { static nsIID iid = NS_INNTPNEWSGROUPLIST_IID;