* pipeWrite() prototype changed from |char *| to |const char *|

* infrastructure for firing progress against an nsIProgressEventSink added

a=r=(not built)


git-svn-id: svn://10.0.0.236/trunk@80126 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
dmose%mozilla.org
2000-09-29 01:14:53 +00:00
parent 8a7b889861
commit ea180437e2

View File

@@ -45,6 +45,7 @@
#include "nsIInterfaceRequestor.h"
#include "nsIStreamListener.h"
#include "nsILDAPMessageListener.h"
#include "nsIProgressEventSink.h"
// if the code related to the following #define ever gets removed, also
// be sure to remove mCallback as well as the most (but not all) of the
@@ -82,7 +83,7 @@ protected:
// write down the pipe to whoever is consuming our data
//
nsresult pipeWrite(char *str);
nsresult pipeWrite(const char *str);
// instance vars for read/write nsIChannel attributes
//
@@ -108,6 +109,7 @@ protected:
PRUint32 mReadPipeOffset; // how many bytes written so far?
PRBool mReadPipeClosed; // has the pipe already been closed?
nsCOMPtr<nsILDAPMessageListener> mCallback; // callback
nsCOMPtr<nsIProgressEventSink> mEventSink; // fire status against this
};