mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-04 11:26:09 +00:00
Add getter and setter for an identity to the imap url interface.
This commit is contained in:
parent
d558c8be39
commit
65fc4cac21
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user