зеркало из https://github.com/mozilla/pjs.git
remove use of master in constructor
This commit is contained in:
Родитель
82b8f7af04
Коммит
7d90882f74
|
@ -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,
|
||||||
|
|
Загрузка…
Ссылка в новой задаче