Bug #5781 --> CreateImapConnection now takes the url to be loaded into the connection.

a=chofmann
This commit is contained in:
mscott%netscape.com 1999-04-30 18:41:26 +00:00
Родитель 1dc1ad1d3c
Коммит 4de6e71a7a
1 изменённых файлов: 3 добавлений и 10 удалений

Просмотреть файл

@ -47,6 +47,7 @@ class nsIImapProtocol;
class nsIImapMessageSink;
class nsIUrlListener;
class nsIURL;
class nsIImapUrl;
struct PLEventQueue;
class nsIMsgFolder;
@ -54,18 +55,10 @@ 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.....
// aClientEventQueue is the event queue of the event sinks. We post events into this queue.
// mscott -- eventually this function will take in the account (identity/incoming server) associated with