View | Details | Raw Unified
Collapse All | Expand All

(-) mozilla-orig/modules/libpr0n/encoders/jpeg/nsJPEGEncoder.h (+10 lines)
 Lines 39-46    Link Here 
#include "imgIEncoder.h"
#include "imgIEncoder.h"
#ifdef MOZILLA_1_8_BRANCH
#ifdef MOZILLA_1_8_BRANCH
#define imgIEncoder imgIEncoder_MOZILLA_1_8_BRANCH
#define imgIEncoder imgIEncoder_MOZILLA_1_8_BRANCH
#ifndef NS_DECL_IMGIENCODER
#define NS_DECL_IMGIENCODER NS_DECL_IMGIENCODER_MOZILLA_1_8_BRANCH
#define NS_DECL_IMGIENCODER NS_DECL_IMGIENCODER_MOZILLA_1_8_BRANCH
#endif
#endif
#endif
// needed for JPEG library
// needed for JPEG library
#include <stdio.h>
#include <stdio.h>
 Lines 69-74    Link Here 
  nsJPEGEncoder();
  nsJPEGEncoder();
  NS_IMETHOD InitFromData(const PRUint8* aData,
  PRUint32 aLength, // (unused, req'd by JS)
  PRUint32 aWidth,
  PRUint32 aHeight,
  PRUint32 aStride,
  PRUint32 aInputFormat,
  const nsAString& aOutputOptions);
private:
private:
  ~nsJPEGEncoder();
  ~nsJPEGEncoder();
(-) mozilla-orig/modules/libpr0n/encoders/png/nsPNGEncoder.h (+10 lines)
 Lines 38-45    Link Here 
#include "imgIEncoder.h"
#include "imgIEncoder.h"
#ifdef MOZILLA_1_8_BRANCH
#ifdef MOZILLA_1_8_BRANCH
#define imgIEncoder imgIEncoder_MOZILLA_1_8_BRANCH
#define imgIEncoder imgIEncoder_MOZILLA_1_8_BRANCH
#ifndef NS_DECL_IMGIENCODER
#define NS_DECL_IMGIENCODER NS_DECL_IMGIENCODER_MOZILLA_1_8_BRANCH
#define NS_DECL_IMGIENCODER NS_DECL_IMGIENCODER_MOZILLA_1_8_BRANCH
#endif
#endif
#endif
#include <png.h>
#include <png.h>
 Lines 63-68    Link Here 
  nsPNGEncoder();
  nsPNGEncoder();
  NS_IMETHOD InitFromData(const PRUint8* aData,
  PRUint32 aLength, // (unused, req'd by JS)
  PRUint32 aWidth,
  PRUint32 aHeight,
  PRUint32 aStride,
  PRUint32 aInputFormat,
  const nsAString& aOutputOptions);
private:
private:
  ~nsPNGEncoder();
  ~nsPNGEncoder();
(-) mozilla-orig/modules/libpr0n/public/imgIEncoder.idl (-1 / +1 lines)
 Lines 96-101    Link Here 
[scriptable, uuid(CCC5B3AD-3E67-4e3d-97E1-B06B2E96FEF8)]
[scriptable, uuid(CCC5B3AD-3E67-4e3d-97E1-B06B2E96FEF8)]
interface imgIEncoder : nsISupports
interface imgIEncoder : nsISupports
{
{
  void encodeClipboardImage(in nsIClipboardImage aClipboardImage, out nsIFile aImageFile);
  /* void encodeClipboardImage(in nsIClipboardImage aClipboardImage, out nsIFile aImageFile); */
};
};
(-) mozilla-orig/xpcom/obsolete/component/nsFileSpecImpl.h (-2 / +2 lines)
 Lines 43-49    Link Here 
#include "nsFileSpec.h"
#include "nsFileSpec.h"
//========================================================================================
//========================================================================================
class nsFileSpecImpl
class NS_COM nsFileSpecImpl
//========================================================================================
//========================================================================================
	: public nsIFileSpec
	: public nsIFileSpec
{
{
 Lines 81-87    Link Here 
}; // class nsFileSpecImpl
}; // class nsFileSpecImpl
//========================================================================================
//========================================================================================
class nsDirectoryIteratorImpl
class NS_COM nsDirectoryIteratorImpl
//========================================================================================
//========================================================================================
	: public nsIDirectoryIterator
	: public nsIDirectoryIterator
{
{