change RemoveGroup a bit so we can remove by name and by newsgropu

git-svn-id: svn://10.0.0.236/trunk@17923 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
alecf%netscape.com 1999-01-16 05:54:02 +00:00
parent 9a8dd89fb4
commit 0e1ebde9db
2 changed files with 6 additions and 4 deletions

View File

@ -136,7 +136,10 @@ class nsINNTPHost {
NS_IMETHOD AddGroup(const char *groupname, nsINNTPNewsgroup **_retval) = 0;
/* <IDL> */
NS_IMETHOD RemoveGroup(const char *groupName) = 0;
NS_IMETHOD RemoveGroupByName(const char *groupName) = 0;
/* <IDL> */
NS_IMETHOD RemoveGroup(const nsINNTPNewsgroup *group) = 0;
/* <IDL> */
NS_IMETHOD GetDbDirName(char * *aDbDirName) = 0;

View File

@ -130,9 +130,8 @@ interface nsINNTPHost {
nsINNTPNewsgroup FindGroup(in string name);
nsINNTPNewsgroup AddGroup(in string groupname
/* , msg_GroupRecord *inGroupRecord */ );
void RemoveGroup(in string groupName);
/* I thought COM allowed us to override methods.. */
/* void RemoveGroup(in nsINNTPNewsgroup group); */
void RemoveGroupByName(in string groupName);
void RemoveGroup(in nsINNTPNewsgroup group);
/* Name of directory to store newsgroup
databases in. This needs to have