more changes to nsIMsgFolder for functions we need to have once the real

nsIMsgFolder arrives
This commit is contained in:
alecf%netscape.com 1999-01-25 23:38:09 +00:00
Родитель 9bb5d8a906
Коммит 37a18ca839
2 изменённых файлов: 31 добавлений и 1 удалений

Просмотреть файл

@ -36,6 +36,27 @@ class nsIMsgFolder : public nsISupports {
/* <IDL> */
NS_IMETHOD FindParentOf(const nsIMsgFolder *childFolder, nsIMsgFolder **_retval) = 0;
/* <IDL> */
NS_IMETHOD AddSubfolder(const nsIMsgFolder *newSubfolder) = 0;
/* <IDL> */
NS_IMETHOD AddSubfolderIfUnique(const nsIMsgFolder *newSubfolder) = 0;
/* <IDL> */
NS_IMETHOD RemoveSubfolder(const nsIMsgFolder *folder) = 0;
/* <IDL> */
NS_IMETHOD ReplaceSubfolder(const nsIMsgFolder *oldFolder, const nsIMsgFolder *newFolder) = 0;
/* <IDL> */
NS_IMETHOD SetFlag(PRInt32 flag) = 0;
/* <IDL> */
NS_IMETHOD ClearFlag(PRInt32 flag) = 0;
/* <IDL> */
NS_IMETHOD GetFlag(PRInt32 flag, PRBool *_retval) = 0;
};
#endif /* __gen_nsIMsgFolder_h__ */

Просмотреть файл

@ -31,7 +31,16 @@ interface nsIMsgFolder : nsISupports {
attribute long depth;
nsISupportsArray GetSubFolders();
nsIMsgFolder FindParentOf(in nsIMsgFolder childFolder);
void AddSubfolder(in nsIMsgFolder newSubfolder);
void AddSubfolderIfUnique(in nsIMsgFolder newSubfolder);
void RemoveSubfolder(in nsIMsgFolder folder);
void ReplaceSubfolder(in nsIMsgFolder oldFolder,
in nsIMsgFolder newFolder);
void SetFlag(in long flag);
void ClearFlag(in long flag);
boolean GetFlag(in long flag);
};