Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 204703
Collapse All | Expand All

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

Return to bug 204703