IDLized stream interfaces. Required rename of overloaded Write method (now WriteFrom).
git-svn-id: svn://10.0.0.236/trunk@33600 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -216,7 +216,8 @@ public:
|
||||
NS_IMETHOD
|
||||
Write(const char* aBuf, PRUint32 aCount, PRUint32 *aWriteCount);
|
||||
|
||||
NS_IMETHOD Write(nsIInputStream* fromStream, PRUint32 *aWriteCount) {
|
||||
NS_IMETHOD WriteFrom(nsIInputStream* fromStream, PRUint32 count,
|
||||
PRUint32 *aWriteCount) {
|
||||
return NS_ERROR_NOT_IMPLEMENTED;
|
||||
}
|
||||
|
||||
|
||||
@@ -21,6 +21,7 @@
|
||||
|
||||
#include "prlog.h"
|
||||
#include "prmem.h"
|
||||
#include "nscore.h"
|
||||
|
||||
|
||||
class ns4xPluginStreamListener : public nsIPluginStreamListener {
|
||||
|
||||
@@ -166,7 +166,8 @@ public:
|
||||
NS_IMETHOD
|
||||
Write(const char* aBuf, PRUint32 aCount, PRUint32 *aWriteCount);
|
||||
|
||||
NS_IMETHOD Write(nsIInputStream* fromStream, PRUint32 *aWriteCount) {
|
||||
NS_IMETHOD WriteFrom(nsIInputStream* fromStream, PRUint32 count,
|
||||
PRUint32 *aWriteCount) {
|
||||
return NS_ERROR_NOT_IMPLEMENTED;
|
||||
}
|
||||
|
||||
|
||||
@@ -21,6 +21,7 @@
|
||||
|
||||
#include "prlog.h"
|
||||
#include "prmem.h"
|
||||
#include "nscore.h"
|
||||
|
||||
|
||||
class ns4xPluginStreamListener : public nsIPluginStreamListener {
|
||||
|
||||
@@ -166,7 +166,8 @@ public:
|
||||
NS_IMETHOD
|
||||
Write(const char* aBuf, PRUint32 aCount, PRUint32 *aWriteCount);
|
||||
|
||||
NS_IMETHOD Write(nsIInputStream* fromStream, PRUint32 *aWriteCount) {
|
||||
NS_IMETHOD WriteFrom(nsIInputStream* fromStream, PRUint32 count,
|
||||
PRUint32 *aWriteCount) {
|
||||
return NS_ERROR_NOT_IMPLEMENTED;
|
||||
}
|
||||
|
||||
|
||||
@@ -216,7 +216,8 @@ public:
|
||||
NS_IMETHOD
|
||||
Write(const char* aBuf, PRUint32 aCount, PRUint32 *aWriteCount);
|
||||
|
||||
NS_IMETHOD Write(nsIInputStream* fromStream, PRUint32 *aWriteCount) {
|
||||
NS_IMETHOD WriteFrom(nsIInputStream* fromStream, PRUint32 count,
|
||||
PRUint32 *aWriteCount) {
|
||||
return NS_ERROR_NOT_IMPLEMENTED;
|
||||
}
|
||||
|
||||
|
||||
@@ -676,7 +676,8 @@ public:
|
||||
NS_IMETHOD
|
||||
Write(const char* aBuf, PRInt32 aCount, PRInt32 *resultingCount);
|
||||
|
||||
NS_IMETHOD Write(nsIInputStream* fromStream, PRUint32 *aWriteCount) {
|
||||
NS_IMETHOD WriteFrom(nsIInputStream* fromStream, PRUint32 count,
|
||||
PRUint32 *aWriteCount) {
|
||||
return NS_ERROR_NOT_IMPLEMENTED;
|
||||
}
|
||||
|
||||
|
||||
@@ -43,7 +43,8 @@ public:
|
||||
NS_IMETHOD
|
||||
Write(const char* aBuf, PRInt32 aCount, PRInt32 *resultingCount);
|
||||
|
||||
NS_IMETHOD Write(nsIInputStream* fromStream, PRUint32 *aWriteCount) {
|
||||
NS_IMETHOD WriteFrom(nsIInputStream* fromStream, PRUint32 count,
|
||||
PRUint32 *aWriteCount) {
|
||||
return NS_ERROR_NOT_IMPLEMENTED;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user