remove use of master in constructor

This commit is contained in:
bienvenu%netscape.com 1999-04-02 03:25:59 +00:00
Родитель 82b8f7af04
Коммит 7d90882f74
1 изменённых файлов: 5 добавлений и 4 удалений

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

@ -21,17 +21,18 @@
class nsImapMailDatabase : public nsMailDatabase class nsImapMailDatabase : public nsMailDatabase
{ {
public: public:
nsImapMailDatabase(); // OK, it's dumb that this should require a fileSpec, since there is no file
// for the folder. This is mainly because we're deriving from nsMailDatabase;
// Perhaps we shouldn't...
nsImapMailDatabase(nsFileSpec& folder);
virtual ~nsImapMailDatabase(); virtual ~nsImapMailDatabase();
static nsresult Open(const char * dbName, PRBool create, static nsresult Open(nsFileSpec &dbFileSpec, PRBool create,
nsImapMailDatabase** pMessageDB, nsImapMailDatabase** pMessageDB,
MSG_Master* mailMaster,
PRBool *dbWasCreated); PRBool *dbWasCreated);
virtual nsresult SetSummaryValid(PRBool valid = TRUE); virtual nsresult SetSummaryValid(PRBool valid = TRUE);
virtual MSG_FolderInfo *GetFolderInfo();
protected: protected:
// IMAP does not set local file flags, override does nothing // IMAP does not set local file flags, override does nothing
virtual void UpdateFolderFlag(nsMsgHdr *msgHdr, PRBool bSet, virtual void UpdateFolderFlag(nsMsgHdr *msgHdr, PRBool bSet,