| 1 |
756 |
jeremybenn |
|
| 2 |
|
|
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
|
| 3 |
|
|
|
| 4 |
|
|
#ifndef __gnu_java_awt_peer_gtk_GdkPixbufDecoder__
|
| 5 |
|
|
#define __gnu_java_awt_peer_gtk_GdkPixbufDecoder__
|
| 6 |
|
|
|
| 7 |
|
|
#pragma interface
|
| 8 |
|
|
|
| 9 |
|
|
#include <gnu/java/awt/image/ImageDecoder.h>
|
| 10 |
|
|
#include <gcj/array.h>
|
| 11 |
|
|
|
| 12 |
|
|
extern "Java"
|
| 13 |
|
|
{
|
| 14 |
|
|
namespace gnu
|
| 15 |
|
|
{
|
| 16 |
|
|
namespace classpath
|
| 17 |
|
|
{
|
| 18 |
|
|
class Pointer;
|
| 19 |
|
|
}
|
| 20 |
|
|
namespace java
|
| 21 |
|
|
{
|
| 22 |
|
|
namespace awt
|
| 23 |
|
|
{
|
| 24 |
|
|
namespace peer
|
| 25 |
|
|
{
|
| 26 |
|
|
namespace gtk
|
| 27 |
|
|
{
|
| 28 |
|
|
class GdkPixbufDecoder;
|
| 29 |
|
|
class GdkPixbufDecoder$GdkPixbufReaderSpi;
|
| 30 |
|
|
class GdkPixbufDecoder$GdkPixbufWriter;
|
| 31 |
|
|
class GdkPixbufDecoder$GdkPixbufWriterSpi;
|
| 32 |
|
|
class GdkPixbufDecoder$ImageFormatSpec;
|
| 33 |
|
|
}
|
| 34 |
|
|
}
|
| 35 |
|
|
}
|
| 36 |
|
|
}
|
| 37 |
|
|
}
|
| 38 |
|
|
namespace java
|
| 39 |
|
|
{
|
| 40 |
|
|
namespace awt
|
| 41 |
|
|
{
|
| 42 |
|
|
namespace image
|
| 43 |
|
|
{
|
| 44 |
|
|
class ColorModel;
|
| 45 |
|
|
}
|
| 46 |
|
|
}
|
| 47 |
|
|
namespace net
|
| 48 |
|
|
{
|
| 49 |
|
|
class URL;
|
| 50 |
|
|
}
|
| 51 |
|
|
}
|
| 52 |
|
|
namespace javax
|
| 53 |
|
|
{
|
| 54 |
|
|
namespace imageio
|
| 55 |
|
|
{
|
| 56 |
|
|
namespace spi
|
| 57 |
|
|
{
|
| 58 |
|
|
class IIORegistry;
|
| 59 |
|
|
}
|
| 60 |
|
|
}
|
| 61 |
|
|
}
|
| 62 |
|
|
}
|
| 63 |
|
|
|
| 64 |
|
|
class gnu::java::awt::peer::gtk::GdkPixbufDecoder : public ::gnu::java::awt::image::ImageDecoder
|
| 65 |
|
|
{
|
| 66 |
|
|
|
| 67 |
|
|
public: // actually package-private
|
| 68 |
|
|
static void initStaticState();
|
| 69 |
|
|
virtual void initState();
|
| 70 |
|
|
virtual void pumpBytes(JArray< jbyte > *, jint);
|
| 71 |
|
|
virtual void pumpDone();
|
| 72 |
|
|
virtual void finish(jboolean);
|
| 73 |
|
|
static void streamImage(JArray< jint > *, ::java::lang::String *, jint, jint, jboolean, ::gnu::java::awt::peer::gtk::GdkPixbufDecoder$GdkPixbufWriter *);
|
| 74 |
|
|
public:
|
| 75 |
|
|
GdkPixbufDecoder(::java::io::DataInput *);
|
| 76 |
|
|
GdkPixbufDecoder(::java::io::InputStream *);
|
| 77 |
|
|
GdkPixbufDecoder(::java::lang::String *);
|
| 78 |
|
|
GdkPixbufDecoder(::java::net::URL *);
|
| 79 |
|
|
GdkPixbufDecoder(JArray< jbyte > *, jint, jint);
|
| 80 |
|
|
public: // actually package-private
|
| 81 |
|
|
virtual void areaPrepared(jint, jint);
|
| 82 |
|
|
virtual void areaUpdated(jint, jint, jint, jint, JArray< jint > *, jint);
|
| 83 |
|
|
public:
|
| 84 |
|
|
virtual void produce(::java::util::Vector *, ::java::io::InputStream *);
|
| 85 |
|
|
virtual void finalize();
|
| 86 |
|
|
static ::gnu::java::awt::peer::gtk::GdkPixbufDecoder$ImageFormatSpec * registerFormat(::java::lang::String *, jboolean);
|
| 87 |
|
|
public: // actually package-private
|
| 88 |
|
|
static JArray< ::java::lang::String * > * getFormatNames(jboolean);
|
| 89 |
|
|
static JArray< ::java::lang::String * > * getFormatExtensions(jboolean);
|
| 90 |
|
|
static JArray< ::java::lang::String * > * getFormatMimeTypes(jboolean);
|
| 91 |
|
|
static ::java::lang::String * findFormatName(::java::lang::Object *, jboolean);
|
| 92 |
|
|
public:
|
| 93 |
|
|
static ::gnu::java::awt::peer::gtk::GdkPixbufDecoder$GdkPixbufReaderSpi * getReaderSpi();
|
| 94 |
|
|
static ::gnu::java::awt::peer::gtk::GdkPixbufDecoder$GdkPixbufWriterSpi * getWriterSpi();
|
| 95 |
|
|
static void registerSpis(::javax::imageio::spi::IIORegistry *);
|
| 96 |
|
|
public: // actually package-private
|
| 97 |
|
|
static ::java::lang::Object * pixbufLock;
|
| 98 |
|
|
private:
|
| 99 |
|
|
jint __attribute__((aligned(__alignof__( ::gnu::java::awt::image::ImageDecoder)))) native_state;
|
| 100 |
|
|
jboolean needsClose;
|
| 101 |
|
|
public: // actually package-private
|
| 102 |
|
|
::java::util::Vector * curr;
|
| 103 |
|
|
private:
|
| 104 |
|
|
::gnu::classpath::Pointer * nativeDecoder;
|
| 105 |
|
|
public: // actually package-private
|
| 106 |
|
|
static ::java::awt::image::ColorModel * cm;
|
| 107 |
|
|
static ::java::util::ArrayList * imageFormatSpecs;
|
| 108 |
|
|
private:
|
| 109 |
|
|
static ::gnu::java::awt::peer::gtk::GdkPixbufDecoder$GdkPixbufReaderSpi * readerSpi;
|
| 110 |
|
|
static ::gnu::java::awt::peer::gtk::GdkPixbufDecoder$GdkPixbufWriterSpi * writerSpi;
|
| 111 |
|
|
public:
|
| 112 |
|
|
static ::java::lang::Class class$;
|
| 113 |
|
|
};
|
| 114 |
|
|
|
| 115 |
|
|
#endif // __gnu_java_awt_peer_gtk_GdkPixbufDecoder__
|