summaryrefslogtreecommitdiff
path: root/libjava/javax/imageio/spi
diff options
context:
space:
mode:
authorupstream source tree <ports@midipix.org>2015-03-15 20:14:05 -0400
committerupstream source tree <ports@midipix.org>2015-03-15 20:14:05 -0400
commit554fd8c5195424bdbcabf5de30fdc183aba391bd (patch)
tree976dc5ab7fddf506dadce60ae936f43f58787092 /libjava/javax/imageio/spi
downloadcbb-gcc-4.6.4-554fd8c5195424bdbcabf5de30fdc183aba391bd.tar.bz2
cbb-gcc-4.6.4-554fd8c5195424bdbcabf5de30fdc183aba391bd.tar.xz
obtained gcc-4.6.4.tar.bz2 from upstream website;upstream
verified gcc-4.6.4.tar.bz2.sig; imported gcc-4.6.4 source tree from verified upstream tarball. downloading a git-generated archive based on the 'upstream' tag should provide you with a source tree that is binary identical to the one extracted from the above tarball. if you have obtained the source via the command 'git clone', however, do note that line-endings of files in your working directory might differ from line-endings of the respective files in the upstream repository.
Diffstat (limited to 'libjava/javax/imageio/spi')
-rw-r--r--libjava/javax/imageio/spi/IIORegistry.h40
-rw-r--r--libjava/javax/imageio/spi/IIOServiceProvider.h43
-rw-r--r--libjava/javax/imageio/spi/ImageInputStreamSpi.h46
-rw-r--r--libjava/javax/imageio/spi/ImageOutputStreamSpi.h46
-rw-r--r--libjava/javax/imageio/spi/ImageReaderSpi.h48
-rw-r--r--libjava/javax/imageio/spi/ImageReaderWriterSpi.h67
-rw-r--r--libjava/javax/imageio/spi/ImageTranscoderSpi.h38
-rw-r--r--libjava/javax/imageio/spi/ImageWriterSpi.h61
-rw-r--r--libjava/javax/imageio/spi/RegisterableService.h34
-rw-r--r--libjava/javax/imageio/spi/ServiceRegistry$1.h41
-rw-r--r--libjava/javax/imageio/spi/ServiceRegistry$2.h40
-rw-r--r--libjava/javax/imageio/spi/ServiceRegistry$Filter.h32
-rw-r--r--libjava/javax/imageio/spi/ServiceRegistry.h70
13 files changed, 606 insertions, 0 deletions
diff --git a/libjava/javax/imageio/spi/IIORegistry.h b/libjava/javax/imageio/spi/IIORegistry.h
new file mode 100644
index 000000000..4b15c121f
--- /dev/null
+++ b/libjava/javax/imageio/spi/IIORegistry.h
@@ -0,0 +1,40 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __javax_imageio_spi_IIORegistry__
+#define __javax_imageio_spi_IIORegistry__
+
+#pragma interface
+
+#include <javax/imageio/spi/ServiceRegistry.h>
+extern "Java"
+{
+ namespace javax
+ {
+ namespace imageio
+ {
+ namespace spi
+ {
+ class IIORegistry;
+ }
+ }
+ }
+}
+
+class javax::imageio::spi::IIORegistry : public ::javax::imageio::spi::ServiceRegistry
+{
+
+public:
+ static ::javax::imageio::spi::IIORegistry * getDefaultInstance();
+private:
+ IIORegistry();
+public:
+ void registerApplicationClasspathSpis();
+private:
+ static ::java::util::HashSet * defaultCategories;
+ static ::java::util::HashMap * instances;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __javax_imageio_spi_IIORegistry__
diff --git a/libjava/javax/imageio/spi/IIOServiceProvider.h b/libjava/javax/imageio/spi/IIOServiceProvider.h
new file mode 100644
index 000000000..befcd09cc
--- /dev/null
+++ b/libjava/javax/imageio/spi/IIOServiceProvider.h
@@ -0,0 +1,43 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __javax_imageio_spi_IIOServiceProvider__
+#define __javax_imageio_spi_IIOServiceProvider__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace javax
+ {
+ namespace imageio
+ {
+ namespace spi
+ {
+ class IIOServiceProvider;
+ class ServiceRegistry;
+ }
+ }
+ }
+}
+
+class javax::imageio::spi::IIOServiceProvider : public ::java::lang::Object
+{
+
+public:
+ IIOServiceProvider(::java::lang::String *, ::java::lang::String *);
+ IIOServiceProvider();
+ virtual void onRegistration(::javax::imageio::spi::ServiceRegistry *, ::java::lang::Class *);
+ virtual void onDeregistration(::javax::imageio::spi::ServiceRegistry *, ::java::lang::Class *);
+ virtual ::java::lang::String * getVendorName();
+ virtual ::java::lang::String * getVersion();
+ virtual ::java::lang::String * getDescription(::java::util::Locale *) = 0;
+public: // actually protected
+ ::java::lang::String * __attribute__((aligned(__alignof__( ::java::lang::Object)))) vendorName;
+ ::java::lang::String * version;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __javax_imageio_spi_IIOServiceProvider__
diff --git a/libjava/javax/imageio/spi/ImageInputStreamSpi.h b/libjava/javax/imageio/spi/ImageInputStreamSpi.h
new file mode 100644
index 000000000..946842c61
--- /dev/null
+++ b/libjava/javax/imageio/spi/ImageInputStreamSpi.h
@@ -0,0 +1,46 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __javax_imageio_spi_ImageInputStreamSpi__
+#define __javax_imageio_spi_ImageInputStreamSpi__
+
+#pragma interface
+
+#include <javax/imageio/spi/IIOServiceProvider.h>
+extern "Java"
+{
+ namespace javax
+ {
+ namespace imageio
+ {
+ namespace spi
+ {
+ class ImageInputStreamSpi;
+ }
+ namespace stream
+ {
+ class ImageInputStream;
+ }
+ }
+ }
+}
+
+class javax::imageio::spi::ImageInputStreamSpi : public ::javax::imageio::spi::IIOServiceProvider
+{
+
+public: // actually protected
+ ImageInputStreamSpi();
+public:
+ ImageInputStreamSpi(::java::lang::String *, ::java::lang::String *, ::java::lang::Class *);
+ virtual ::java::lang::Class * getInputClass();
+ virtual jboolean canUseCacheFile();
+ virtual jboolean needsCacheFile();
+ virtual ::javax::imageio::stream::ImageInputStream * createInputStreamInstance(::java::lang::Object *, jboolean, ::java::io::File *) = 0;
+ virtual ::javax::imageio::stream::ImageInputStream * createInputStreamInstance(::java::lang::Object *);
+public: // actually protected
+ ::java::lang::Class * __attribute__((aligned(__alignof__( ::javax::imageio::spi::IIOServiceProvider)))) inputClass;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __javax_imageio_spi_ImageInputStreamSpi__
diff --git a/libjava/javax/imageio/spi/ImageOutputStreamSpi.h b/libjava/javax/imageio/spi/ImageOutputStreamSpi.h
new file mode 100644
index 000000000..6ac36b4aa
--- /dev/null
+++ b/libjava/javax/imageio/spi/ImageOutputStreamSpi.h
@@ -0,0 +1,46 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __javax_imageio_spi_ImageOutputStreamSpi__
+#define __javax_imageio_spi_ImageOutputStreamSpi__
+
+#pragma interface
+
+#include <javax/imageio/spi/IIOServiceProvider.h>
+extern "Java"
+{
+ namespace javax
+ {
+ namespace imageio
+ {
+ namespace spi
+ {
+ class ImageOutputStreamSpi;
+ }
+ namespace stream
+ {
+ class ImageOutputStream;
+ }
+ }
+ }
+}
+
+class javax::imageio::spi::ImageOutputStreamSpi : public ::javax::imageio::spi::IIOServiceProvider
+{
+
+public: // actually protected
+ ImageOutputStreamSpi();
+public:
+ ImageOutputStreamSpi(::java::lang::String *, ::java::lang::String *, ::java::lang::Class *);
+ virtual ::java::lang::Class * getOutputClass();
+ virtual jboolean canUseCacheFile();
+ virtual jboolean needsCacheFile();
+ virtual ::javax::imageio::stream::ImageOutputStream * createOutputStreamInstance(::java::lang::Object *, jboolean, ::java::io::File *) = 0;
+ virtual ::javax::imageio::stream::ImageOutputStream * createOutputStreamInstance(::java::lang::Object *);
+public: // actually protected
+ ::java::lang::Class * __attribute__((aligned(__alignof__( ::javax::imageio::spi::IIOServiceProvider)))) outputClass;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __javax_imageio_spi_ImageOutputStreamSpi__
diff --git a/libjava/javax/imageio/spi/ImageReaderSpi.h b/libjava/javax/imageio/spi/ImageReaderSpi.h
new file mode 100644
index 000000000..554b52ee7
--- /dev/null
+++ b/libjava/javax/imageio/spi/ImageReaderSpi.h
@@ -0,0 +1,48 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __javax_imageio_spi_ImageReaderSpi__
+#define __javax_imageio_spi_ImageReaderSpi__
+
+#pragma interface
+
+#include <javax/imageio/spi/ImageReaderWriterSpi.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace javax
+ {
+ namespace imageio
+ {
+ class ImageReader;
+ namespace spi
+ {
+ class ImageReaderSpi;
+ }
+ }
+ }
+}
+
+class javax::imageio::spi::ImageReaderSpi : public ::javax::imageio::spi::ImageReaderWriterSpi
+{
+
+public: // actually protected
+ ImageReaderSpi();
+public:
+ ImageReaderSpi(::java::lang::String *, ::java::lang::String *, JArray< ::java::lang::String * > *, JArray< ::java::lang::String * > *, JArray< ::java::lang::String * > *, ::java::lang::String *, JArray< ::java::lang::Class * > *, JArray< ::java::lang::String * > *, jboolean, ::java::lang::String *, ::java::lang::String *, JArray< ::java::lang::String * > *, JArray< ::java::lang::String * > *, jboolean, ::java::lang::String *, ::java::lang::String *, JArray< ::java::lang::String * > *, JArray< ::java::lang::String * > *);
+ virtual jboolean canDecodeInput(::java::lang::Object *) = 0;
+ virtual ::javax::imageio::ImageReader * createReaderInstance();
+ virtual ::javax::imageio::ImageReader * createReaderInstance(::java::lang::Object *) = 0;
+ virtual JArray< ::java::lang::String * > * getImageWriterSpiNames();
+ virtual JArray< ::java::lang::Class * > * getInputTypes();
+ virtual jboolean isOwnReader(::javax::imageio::ImageReader *);
+ static JArray< ::java::lang::Class * > * STANDARD_INPUT_TYPE;
+public: // actually protected
+ JArray< ::java::lang::Class * > * __attribute__((aligned(__alignof__( ::javax::imageio::spi::ImageReaderWriterSpi)))) inputTypes;
+ JArray< ::java::lang::String * > * writerSpiNames;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __javax_imageio_spi_ImageReaderSpi__
diff --git a/libjava/javax/imageio/spi/ImageReaderWriterSpi.h b/libjava/javax/imageio/spi/ImageReaderWriterSpi.h
new file mode 100644
index 000000000..91930cd20
--- /dev/null
+++ b/libjava/javax/imageio/spi/ImageReaderWriterSpi.h
@@ -0,0 +1,67 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __javax_imageio_spi_ImageReaderWriterSpi__
+#define __javax_imageio_spi_ImageReaderWriterSpi__
+
+#pragma interface
+
+#include <javax/imageio/spi/IIOServiceProvider.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace javax
+ {
+ namespace imageio
+ {
+ namespace metadata
+ {
+ class IIOMetadataFormat;
+ }
+ namespace spi
+ {
+ class ImageReaderWriterSpi;
+ }
+ }
+ }
+}
+
+class javax::imageio::spi::ImageReaderWriterSpi : public ::javax::imageio::spi::IIOServiceProvider
+{
+
+public:
+ ImageReaderWriterSpi();
+ ImageReaderWriterSpi(::java::lang::String *, ::java::lang::String *, JArray< ::java::lang::String * > *, JArray< ::java::lang::String * > *, JArray< ::java::lang::String * > *, ::java::lang::String *, jboolean, ::java::lang::String *, ::java::lang::String *, JArray< ::java::lang::String * > *, JArray< ::java::lang::String * > *, jboolean, ::java::lang::String *, ::java::lang::String *, JArray< ::java::lang::String * > *, JArray< ::java::lang::String * > *);
+ virtual JArray< ::java::lang::String * > * getFormatNames();
+ virtual JArray< ::java::lang::String * > * getFileSuffixes();
+ virtual JArray< ::java::lang::String * > * getMIMETypes();
+ virtual ::java::lang::String * getPluginClassName();
+ virtual jboolean isStandardStreamMetadataFormatSupported();
+ virtual ::java::lang::String * getNativeStreamMetadataFormatName();
+ virtual JArray< ::java::lang::String * > * getExtraStreamMetadataFormatNames();
+ virtual jboolean isStandardImageMetadataFormatSupported();
+ virtual ::java::lang::String * getNativeImageMetadataFormatName();
+ virtual JArray< ::java::lang::String * > * getExtraImageMetadataFormatNames();
+ virtual ::javax::imageio::metadata::IIOMetadataFormat * getStreamMetadataFormat(::java::lang::String *);
+ virtual ::javax::imageio::metadata::IIOMetadataFormat * getImageMetadataFormat(::java::lang::String *);
+public: // actually protected
+ JArray< ::java::lang::String * > * __attribute__((aligned(__alignof__( ::javax::imageio::spi::IIOServiceProvider)))) names;
+ JArray< ::java::lang::String * > * suffixes;
+ JArray< ::java::lang::String * > * MIMETypes;
+ ::java::lang::String * pluginClassName;
+ jboolean supportsStandardStreamMetadataFormat;
+ ::java::lang::String * nativeStreamMetadataFormatName;
+ ::java::lang::String * nativeStreamMetadataFormatClassName;
+ JArray< ::java::lang::String * > * extraStreamMetadataFormatNames;
+ JArray< ::java::lang::String * > * extraStreamMetadataFormatClassNames;
+ jboolean supportsStandardImageMetadataFormat;
+ ::java::lang::String * nativeImageMetadataFormatName;
+ ::java::lang::String * nativeImageMetadataFormatClassName;
+ JArray< ::java::lang::String * > * extraImageMetadataFormatNames;
+ JArray< ::java::lang::String * > * extraImageMetadataFormatClassNames;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __javax_imageio_spi_ImageReaderWriterSpi__
diff --git a/libjava/javax/imageio/spi/ImageTranscoderSpi.h b/libjava/javax/imageio/spi/ImageTranscoderSpi.h
new file mode 100644
index 000000000..368c2ad63
--- /dev/null
+++ b/libjava/javax/imageio/spi/ImageTranscoderSpi.h
@@ -0,0 +1,38 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __javax_imageio_spi_ImageTranscoderSpi__
+#define __javax_imageio_spi_ImageTranscoderSpi__
+
+#pragma interface
+
+#include <javax/imageio/spi/IIOServiceProvider.h>
+extern "Java"
+{
+ namespace javax
+ {
+ namespace imageio
+ {
+ class ImageTranscoder;
+ namespace spi
+ {
+ class ImageTranscoderSpi;
+ }
+ }
+ }
+}
+
+class javax::imageio::spi::ImageTranscoderSpi : public ::javax::imageio::spi::IIOServiceProvider
+{
+
+public: // actually protected
+ ImageTranscoderSpi();
+public:
+ ImageTranscoderSpi(::java::lang::String *, ::java::lang::String *);
+ virtual ::java::lang::String * getReaderServiceProviderName() = 0;
+ virtual ::java::lang::String * getWriterServiceProviderName() = 0;
+ virtual ::javax::imageio::ImageTranscoder * createTranscoderInstance() = 0;
+ static ::java::lang::Class class$;
+};
+
+#endif // __javax_imageio_spi_ImageTranscoderSpi__
diff --git a/libjava/javax/imageio/spi/ImageWriterSpi.h b/libjava/javax/imageio/spi/ImageWriterSpi.h
new file mode 100644
index 000000000..55d9bdb8e
--- /dev/null
+++ b/libjava/javax/imageio/spi/ImageWriterSpi.h
@@ -0,0 +1,61 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __javax_imageio_spi_ImageWriterSpi__
+#define __javax_imageio_spi_ImageWriterSpi__
+
+#pragma interface
+
+#include <javax/imageio/spi/ImageReaderWriterSpi.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ namespace image
+ {
+ class RenderedImage;
+ }
+ }
+ }
+ namespace javax
+ {
+ namespace imageio
+ {
+ class ImageTypeSpecifier;
+ class ImageWriter;
+ namespace spi
+ {
+ class ImageWriterSpi;
+ }
+ }
+ }
+}
+
+class javax::imageio::spi::ImageWriterSpi : public ::javax::imageio::spi::ImageReaderWriterSpi
+{
+
+public: // actually protected
+ ImageWriterSpi();
+public:
+ ImageWriterSpi(::java::lang::String *, ::java::lang::String *, JArray< ::java::lang::String * > *, JArray< ::java::lang::String * > *, JArray< ::java::lang::String * > *, ::java::lang::String *, JArray< ::java::lang::Class * > *, JArray< ::java::lang::String * > *, jboolean, ::java::lang::String *, ::java::lang::String *, JArray< ::java::lang::String * > *, JArray< ::java::lang::String * > *, jboolean, ::java::lang::String *, ::java::lang::String *, JArray< ::java::lang::String * > *, JArray< ::java::lang::String * > *);
+ virtual jboolean canEncodeImage(::javax::imageio::ImageTypeSpecifier *) = 0;
+ virtual jboolean canEncodeImage(::java::awt::image::RenderedImage *);
+ virtual ::javax::imageio::ImageWriter * createWriterInstance();
+ virtual ::javax::imageio::ImageWriter * createWriterInstance(::java::lang::Object *) = 0;
+ virtual JArray< ::java::lang::String * > * getImageReaderSpiNames();
+ virtual JArray< ::java::lang::Class * > * getOutputTypes();
+ virtual jboolean isFormatLossless();
+ virtual jboolean isOwnWriter(::javax::imageio::ImageWriter *);
+ static JArray< ::java::lang::Class * > * STANDARD_OUTPUT_TYPE;
+public: // actually protected
+ JArray< ::java::lang::Class * > * __attribute__((aligned(__alignof__( ::javax::imageio::spi::ImageReaderWriterSpi)))) outputTypes;
+ JArray< ::java::lang::String * > * readerSpiNames;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __javax_imageio_spi_ImageWriterSpi__
diff --git a/libjava/javax/imageio/spi/RegisterableService.h b/libjava/javax/imageio/spi/RegisterableService.h
new file mode 100644
index 000000000..fcd4e140f
--- /dev/null
+++ b/libjava/javax/imageio/spi/RegisterableService.h
@@ -0,0 +1,34 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __javax_imageio_spi_RegisterableService__
+#define __javax_imageio_spi_RegisterableService__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace javax
+ {
+ namespace imageio
+ {
+ namespace spi
+ {
+ class RegisterableService;
+ class ServiceRegistry;
+ }
+ }
+ }
+}
+
+class javax::imageio::spi::RegisterableService : public ::java::lang::Object
+{
+
+public:
+ virtual void onRegistration(::javax::imageio::spi::ServiceRegistry *, ::java::lang::Class *) = 0;
+ virtual void onDeregistration(::javax::imageio::spi::ServiceRegistry *, ::java::lang::Class *) = 0;
+ static ::java::lang::Class class$;
+} __attribute__ ((java_interface));
+
+#endif // __javax_imageio_spi_RegisterableService__
diff --git a/libjava/javax/imageio/spi/ServiceRegistry$1.h b/libjava/javax/imageio/spi/ServiceRegistry$1.h
new file mode 100644
index 000000000..431ba3115
--- /dev/null
+++ b/libjava/javax/imageio/spi/ServiceRegistry$1.h
@@ -0,0 +1,41 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __javax_imageio_spi_ServiceRegistry$1__
+#define __javax_imageio_spi_ServiceRegistry$1__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace javax
+ {
+ namespace imageio
+ {
+ namespace spi
+ {
+ class ServiceRegistry;
+ class ServiceRegistry$1;
+ }
+ }
+ }
+}
+
+class javax::imageio::spi::ServiceRegistry$1 : public ::java::lang::Object
+{
+
+public: // actually package-private
+ ServiceRegistry$1(::javax::imageio::spi::ServiceRegistry *);
+public:
+ virtual jboolean hasNext();
+ virtual ::java::lang::Object * next();
+ virtual void remove();
+public: // actually package-private
+ jint __attribute__((aligned(__alignof__( ::java::lang::Object)))) index;
+ ::javax::imageio::spi::ServiceRegistry * this$0;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __javax_imageio_spi_ServiceRegistry$1__
diff --git a/libjava/javax/imageio/spi/ServiceRegistry$2.h b/libjava/javax/imageio/spi/ServiceRegistry$2.h
new file mode 100644
index 000000000..0934d4ac2
--- /dev/null
+++ b/libjava/javax/imageio/spi/ServiceRegistry$2.h
@@ -0,0 +1,40 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __javax_imageio_spi_ServiceRegistry$2__
+#define __javax_imageio_spi_ServiceRegistry$2__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace javax
+ {
+ namespace imageio
+ {
+ namespace spi
+ {
+ class ServiceRegistry;
+ class ServiceRegistry$2;
+ }
+ }
+ }
+}
+
+class javax::imageio::spi::ServiceRegistry$2 : public ::java::lang::Object
+{
+
+public: // actually package-private
+ ServiceRegistry$2(::javax::imageio::spi::ServiceRegistry *, ::java::util::Map *);
+public:
+ virtual jint compare(::java::lang::Object *, ::java::lang::Object *);
+public: // actually package-private
+ ::javax::imageio::spi::ServiceRegistry * __attribute__((aligned(__alignof__( ::java::lang::Object)))) this$0;
+private:
+ ::java::util::Map * val$cons;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __javax_imageio_spi_ServiceRegistry$2__
diff --git a/libjava/javax/imageio/spi/ServiceRegistry$Filter.h b/libjava/javax/imageio/spi/ServiceRegistry$Filter.h
new file mode 100644
index 000000000..10fd5aaff
--- /dev/null
+++ b/libjava/javax/imageio/spi/ServiceRegistry$Filter.h
@@ -0,0 +1,32 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __javax_imageio_spi_ServiceRegistry$Filter__
+#define __javax_imageio_spi_ServiceRegistry$Filter__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace javax
+ {
+ namespace imageio
+ {
+ namespace spi
+ {
+ class ServiceRegistry$Filter;
+ }
+ }
+ }
+}
+
+class javax::imageio::spi::ServiceRegistry$Filter : public ::java::lang::Object
+{
+
+public:
+ virtual jboolean filter(::java::lang::Object *) = 0;
+ static ::java::lang::Class class$;
+} __attribute__ ((java_interface));
+
+#endif // __javax_imageio_spi_ServiceRegistry$Filter__
diff --git a/libjava/javax/imageio/spi/ServiceRegistry.h b/libjava/javax/imageio/spi/ServiceRegistry.h
new file mode 100644
index 000000000..79a48fe3f
--- /dev/null
+++ b/libjava/javax/imageio/spi/ServiceRegistry.h
@@ -0,0 +1,70 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __javax_imageio_spi_ServiceRegistry__
+#define __javax_imageio_spi_ServiceRegistry__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace javax
+ {
+ namespace imageio
+ {
+ namespace spi
+ {
+ class ServiceRegistry;
+ class ServiceRegistry$Filter;
+ }
+ }
+ }
+}
+
+class javax::imageio::spi::ServiceRegistry : public ::java::lang::Object
+{
+
+public:
+ ServiceRegistry(::java::util::Iterator *);
+ static ::java::util::Iterator * lookupProviders(::java::lang::Class *, ::java::lang::ClassLoader *);
+ static ::java::util::Iterator * lookupProviders(::java::lang::Class *);
+ virtual ::java::util::Iterator * getCategories();
+private:
+ jboolean registerServiceProvider(::java::lang::Object *, jint);
+public:
+ virtual jboolean registerServiceProvider(::java::lang::Object *, ::java::lang::Class *);
+ virtual void registerServiceProvider(::java::lang::Object *);
+ virtual void registerServiceProviders(::java::util::Iterator *);
+private:
+ jboolean deregisterServiceProvider(::java::lang::Object *, jint);
+public:
+ virtual jboolean deregisterServiceProvider(::java::lang::Object *, ::java::lang::Class *);
+ virtual void deregisterServiceProvider(::java::lang::Object *);
+ virtual void deregisterAll(::java::lang::Class *);
+ virtual void deregisterAll();
+ virtual void finalize();
+ virtual jboolean contains(::java::lang::Object *);
+private:
+ jint getCategoryID(::java::lang::Class *);
+public:
+ virtual ::java::util::Iterator * getServiceProviders(::java::lang::Class *, jboolean);
+ virtual ::java::util::Iterator * getServiceProviders(::java::lang::Class *, ::javax::imageio::spi::ServiceRegistry$Filter *, jboolean);
+ virtual ::java::lang::Object * getServiceProviderByClass(::java::lang::Class *);
+ virtual jboolean setOrdering(::java::lang::Class *, ::java::lang::Object *, ::java::lang::Object *);
+ virtual jboolean unsetOrdering(::java::lang::Class *, ::java::lang::Object *, ::java::lang::Object *);
+private:
+ jboolean addConstraint(jint, ::java::lang::Object *, ::java::lang::Object *);
+ jboolean removeConstraint(jint, ::java::lang::Object *, ::java::lang::Object *);
+public: // actually package-private
+ JArray< ::java::lang::Class * > * __attribute__((aligned(__alignof__( ::java::lang::Object)))) categories;
+private:
+ JArray< ::java::util::LinkedList * > * providers;
+ JArray< ::java::util::IdentityHashMap * > * constraints;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __javax_imageio_spi_ServiceRegistry__