Add getter and setter for an identity to the imap url interface.

This commit is contained in:
mscott%netscape.com 1999-04-06 21:02:50 +00:00
parent d558c8be39
commit 65fc4cac21

View File

@ -47,6 +47,8 @@
#define IMAP_PORT 143
class nsIMsgIdentity;
class nsIImapUrl : public nsIMsgMailNewsUrl
{
public:
@ -103,6 +105,13 @@ public:
///////////////////////////////////////////////////////////////////////////////
// Getters and Setters for the imap specific event sinks to bind to to your url
///////////////////////////////////////////////////////////////////////////////
// If the action for the url requires a particular identity (i.e. one different
// from the default, then the client can set the identity to use for the url.
// If no identity is set, then the default identity is returned by GetIdentity.
NS_IMETHOD SetIdentity(nsIMsgIdentity * aMsgIdentity) = 0;
NS_IMETHOD GetIdentity(nsIMsgIdentity ** aMsgIdentity) = 0;
NS_IMETHOD GetImapLog(nsIImapLog ** aImapLog) = 0;
NS_IMETHOD SetImapLog(nsIImapLog * aImapLog) = 0;