зеркало из https://github.com/mozilla/pjs.git
Bug #5781 --> CreateImapConnection now takes the url to be loaded into the connection.
a=chofmann
This commit is contained in:
Родитель
1dc1ad1d3c
Коммит
4de6e71a7a
|
@ -47,6 +47,7 @@ class nsIImapProtocol;
|
|||
class nsIImapMessageSink;
|
||||
class nsIUrlListener;
|
||||
class nsIURL;
|
||||
class nsIImapUrl;
|
||||
struct PLEventQueue;
|
||||
class nsIMsgFolder;
|
||||
|
||||
|
@ -55,15 +56,7 @@ class nsIImapService : public nsISupports
|
|||
public:
|
||||
static const nsIID& GetIID() { static nsIID iid = NS_IIMAPSERVICE_IID; return iid; }
|
||||
|
||||
///////////////////////////////////////////////////////////////////////////////////
|
||||
// mscott -> I enventually envision that urls will come into the imap service and
|
||||
// connections will NOT go back out. The service will take the url and find or create
|
||||
// a connection to run the url in. However, in the early stages until we have
|
||||
// a real connection pool, we want to pass the protocol instance back to the imap
|
||||
// test harness so we can poke and prod it....
|
||||
//////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
NS_IMETHOD CreateImapConnection (PLEventQueue *aEventQueue,
|
||||
NS_IMETHOD CreateImapConnection (PLEventQueue *aEventQueue, nsIImapUrl * aImapUrl,
|
||||
nsIImapProtocol ** aImapConnection) = 0;
|
||||
|
||||
// As always, you can pass in null for the url listener and the url if you don't require either.....
|
||||
|
|
Загрузка…
Ссылка в новой задаче