From 7bf69f564498c542a110702a66100862d0286fbd Mon Sep 17 00:00:00 2001 From: "mscott%netscape.com" Date: Sun, 31 Jan 1999 06:30:32 +0000 Subject: [PATCH] Removing the delete operator from the interface. The IDL compiler will no longer generate these. So the next time the header files were generated, the calls would have been removed anyway.... --- mailnews/news/public/nsINNTPArticleList.h | 3 --- .../news/public/nsINNTPCategoryContainer.h | 1 - mailnews/news/public/nsINNTPHost.h | 4 +--- mailnews/news/public/nsINNTPNewsgroup.h | 19 +++++++++---------- mailnews/news/public/nsINNTPNewsgroupList.h | 3 --- 5 files changed, 10 insertions(+), 20 deletions(-) diff --git a/mailnews/news/public/nsINNTPArticleList.h b/mailnews/news/public/nsINNTPArticleList.h index 37cf979eeca9..c6a84341a093 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 61b6887074c9..0def9bc2d193 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 b596b96a98de..3e17d6841a09 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 5a146c21fa06..392c7df093df 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 d144de62996e..c45200403ac0 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;