changing nsIImageRequest2.idl to lpIImageRequest.idl

This commit is contained in:
pavlov%netscape.com 2001-02-20 22:55:15 +00:00
parent 95cab5df49
commit 5822a94835
8 changed files with 24 additions and 24 deletions

View File

@ -56,8 +56,8 @@ nsGIFDecoder2::~nsGIFDecoder2(void)
//******************************************************************************
//******************************************************************************
/* void init (in nsIImageRequest aRequest); */
NS_IMETHODIMP nsGIFDecoder2::Init(nsIImageRequest *aRequest)
/* void init (in lpIImageRequest aRequest); */
NS_IMETHODIMP nsGIFDecoder2::Init(lpIImageRequest *aRequest)
{
mImageRequest = aRequest;
mObserver = do_QueryInterface(aRequest); // we're holding 2 strong refs to the request.
@ -87,8 +87,8 @@ NS_IMETHODIMP nsGIFDecoder2::Init(nsIImageRequest *aRequest)
}
//******************************************************************************
/* readonly attribute nsIImageRequest request; */
NS_IMETHODIMP nsGIFDecoder2::GetRequest(nsIImageRequest * *aRequest)
/* readonly attribute lpIImageRequest request; */
NS_IMETHODIMP nsGIFDecoder2::GetRequest(lpIImageRequest * *aRequest)
{
*aRequest = mImageRequest;
NS_IF_ADDREF(*aRequest);

View File

@ -29,7 +29,7 @@
#include "nsIImageContainer.h"
#include "nsIImageDecoderObserver.h"
#include "nsIImageFrame.h"
#include "nsIImageRequest2.h"
#include "lpIImageRequest.h"
#include "GIF2.h"
@ -60,7 +60,7 @@ public:
nsCOMPtr<nsIImageContainer> mImageContainer;
nsCOMPtr<nsIImageFrame> mImageFrame;
nsCOMPtr<nsIImageRequest> mImageRequest;
nsCOMPtr<lpIImageRequest> mImageRequest;
nsCOMPtr<nsIImageDecoderObserver> mObserver; // this is just qi'd from mRequest for speed
gif_struct mGIFStruct;

View File

@ -80,8 +80,8 @@ nsJPEGDecoder::~nsJPEGDecoder()
/** nsIImageDecoder methods **/
/* void init (in nsIImageRequest aRequest); */
NS_IMETHODIMP nsJPEGDecoder::Init(nsIImageRequest *aRequest)
/* void init (in lpIImageRequest aRequest); */
NS_IMETHODIMP nsJPEGDecoder::Init(lpIImageRequest *aRequest)
{
mRequest = aRequest;
mObserver = do_QueryInterface(mRequest);
@ -144,8 +144,8 @@ NS_IMETHODIMP nsJPEGDecoder::Init(nsIImageRequest *aRequest)
return NS_OK;
}
/* readonly attribute nsIImageRequest request; */
NS_IMETHODIMP nsJPEGDecoder::GetRequest(nsIImageRequest * *aRequest)
/* readonly attribute lpIImageRequest request; */
NS_IMETHODIMP nsJPEGDecoder::GetRequest(lpIImageRequest * *aRequest)
{
*aRequest = mRequest;
NS_ADDREF(*aRequest);

View File

@ -31,7 +31,7 @@
#include "nsIImageContainer.h"
#include "nsIImageFrame.h"
#include "nsIImageDecoderObserver.h"
#include "nsIImageRequest2.h"
#include "lpIImageRequest.h"
#include "nsIInputStream.h"
#include "nsIPipe.h"
@ -85,7 +85,7 @@ protected:
public:
nsCOMPtr<nsIImageContainer> mImage;
nsCOMPtr<nsIImageFrame> mFrame;
nsCOMPtr<nsIImageRequest> mRequest;
nsCOMPtr<lpIImageRequest> mRequest;
nsCOMPtr<nsIImageDecoderObserver> mObserver;

View File

@ -70,8 +70,8 @@ nsPNGDecoder::~nsPNGDecoder()
/** nsIImageDecoder methods **/
/* void init (in nsIImageRequest aRequest); */
NS_IMETHODIMP nsPNGDecoder::Init(nsIImageRequest *aRequest)
/* void init (in lpIImageRequest aRequest); */
NS_IMETHODIMP nsPNGDecoder::Init(lpIImageRequest *aRequest)
{
mRequest = aRequest;
mObserver = do_QueryInterface(aRequest); // we're holding 2 strong refs to the request.
@ -104,8 +104,8 @@ NS_IMETHODIMP nsPNGDecoder::Init(nsIImageRequest *aRequest)
}
/* readonly attribute nsIImageRequest request; */
NS_IMETHODIMP nsPNGDecoder::GetRequest(nsIImageRequest * *aRequest)
/* readonly attribute lpIImageRequest request; */
NS_IMETHODIMP nsPNGDecoder::GetRequest(lpIImageRequest * *aRequest)
{
*aRequest = mRequest;
NS_ADDREF(*aRequest);

View File

@ -29,7 +29,7 @@
#include "nsIImageContainer.h"
#include "nsIImageDecoderObserver.h"
#include "nsIImageFrame.h"
#include "nsIImageRequest2.h"
#include "lpIImageRequest.h"
#include "nsCOMPtr.h"
@ -69,7 +69,7 @@ end_callback(png_structp png_ptr, png_infop info_ptr);
public:
nsCOMPtr<nsIImageContainer> mImage;
nsCOMPtr<nsIImageFrame> mFrame;
nsCOMPtr<nsIImageRequest> mRequest;
nsCOMPtr<lpIImageRequest> mRequest;
nsCOMPtr<nsIImageDecoderObserver> mObserver; // this is just qi'd from mRequest for speed
png_structp mPNG;

View File

@ -55,8 +55,8 @@ nsPPMDecoder::~nsPPMDecoder()
/** nsIImageDecoder methods **/
/* void init (in nsIImageRequest aRequest); */
NS_IMETHODIMP nsPPMDecoder::Init(nsIImageRequest *aRequest)
/* void init (in lpIImageRequest aRequest); */
NS_IMETHODIMP nsPPMDecoder::Init(lpIImageRequest *aRequest)
{
mRequest = aRequest;
@ -71,8 +71,8 @@ NS_IMETHODIMP nsPPMDecoder::Init(nsIImageRequest *aRequest)
return NS_OK;
}
/* readonly attribute nsIImageRequest request; */
NS_IMETHODIMP nsPPMDecoder::GetRequest(nsIImageRequest * *aRequest)
/* readonly attribute lpIImageRequest request; */
NS_IMETHODIMP nsPPMDecoder::GetRequest(lpIImageRequest * *aRequest)
{
*aRequest = mRequest;
NS_ADDREF(*aRequest);

View File

@ -31,7 +31,7 @@
#include "nsIImageContainer.h"
#include "nsIImageDecoderObserver.h"
#include "nsIImageFrame.h"
#include "nsIImageRequest2.h"
#include "lpIImageRequest.h"
#define NS_PPMDECODER_CID \
{ /* e90bfa06-1dd1-11b2-8217-f38fe5d431a2 */ \
@ -54,7 +54,7 @@ public:
private:
nsCOMPtr<nsIImageContainer> mImage;
nsCOMPtr<nsIImageFrame> mFrame;
nsCOMPtr<nsIImageRequest> mRequest;
nsCOMPtr<lpIImageRequest> mRequest;
nsCOMPtr<nsIImageDecoderObserver> mObserver; // this is just qi'd from mRequest for speed
PRUint32 mDataReceived;