From 7d90882f741d7724d8ecf3a01d74b1c336472b91 Mon Sep 17 00:00:00 2001 From: "bienvenu%netscape.com" Date: Fri, 2 Apr 1999 03:25:59 +0000 Subject: [PATCH] remove use of master in constructor --- mailnews/db/msgdb/public/nsImapMailDatabase.h | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/mailnews/db/msgdb/public/nsImapMailDatabase.h b/mailnews/db/msgdb/public/nsImapMailDatabase.h index 44fbe3c1e1b..9453c71bbd2 100644 --- a/mailnews/db/msgdb/public/nsImapMailDatabase.h +++ b/mailnews/db/msgdb/public/nsImapMailDatabase.h @@ -21,17 +21,18 @@ class nsImapMailDatabase : public nsMailDatabase { 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(); - static nsresult Open(const char * dbName, PRBool create, + static nsresult Open(nsFileSpec &dbFileSpec, PRBool create, nsImapMailDatabase** pMessageDB, - MSG_Master* mailMaster, PRBool *dbWasCreated); virtual nsresult SetSummaryValid(PRBool valid = TRUE); - virtual MSG_FolderInfo *GetFolderInfo(); protected: // IMAP does not set local file flags, override does nothing virtual void UpdateFolderFlag(nsMsgHdr *msgHdr, PRBool bSet,