f06a83c0b2
libjava/ 2007-08-04 Matthias Klose <doko@ubuntu.com> Import GNU Classpath (libgcj-import-20070727). * Regenerate class and header files. * Regenerate auto* files. * include/jvm.h: * jni-libjvm.cc (Jv_JNI_InvokeFunctions): Rename type. * jni.cc (_Jv_JNIFunctions, _Jv_JNI_InvokeFunctions): Likewise. * jni.cc (_Jv_JNI_CallAnyMethodA, _Jv_JNI_CallAnyVoidMethodA, _Jv_JNI_CallMethodA, _Jv_JNI_CallVoidMethodA, _Jv_JNI_CallStaticMethodA, _Jv_JNI_CallStaticVoidMethodA, _Jv_JNI_NewObjectA, _Jv_JNI_SetPrimitiveArrayRegion): Constify jvalue parameter. * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Likewise. * java/lang/VMFloat.java (toString, parseFloat): New. * gnu/awt/xlib/XToolkit.java (setAlwaysOnTop, isModalityTypeSupported, isModalExclusionTypeSupported): New (stub only). * gnu/awt/xlib/XCanvasPeer.java (requestFocus): Likewise. * gnu/awt/xlib/XFramePeer.java (updateMinimumSize, updateIconImages, updateFocusableWindowState, setModalBlocked, getBoundsPrivate, setAlwaysOnTop): Likewise. * gnu/awt/xlib/XFontPeer.java (canDisplay): Update signature. * scripts/makemake.tcl: Ignore gnu/javax/sound/sampled/gstreamer, ignore javax.sound.sampled.spi.MixerProvider, ignore .in files. * HACKING: Mention --enable-gstreamer-peer, removal of generated files. libjava/classpath/ 2007-08-04 Matthias Klose <doko@ubuntu.com> * java/util/EnumMap.java (clone): Add cast. From-SVN: r127204
116 lines
3.4 KiB
C++
116 lines
3.4 KiB
C++
|
|
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
|
|
|
|
#ifndef __gnu_java_awt_peer_gtk_GdkPixbufDecoder__
|
|
#define __gnu_java_awt_peer_gtk_GdkPixbufDecoder__
|
|
|
|
#pragma interface
|
|
|
|
#include <gnu/java/awt/image/ImageDecoder.h>
|
|
#include <gcj/array.h>
|
|
|
|
extern "Java"
|
|
{
|
|
namespace gnu
|
|
{
|
|
namespace classpath
|
|
{
|
|
class Pointer;
|
|
}
|
|
namespace java
|
|
{
|
|
namespace awt
|
|
{
|
|
namespace peer
|
|
{
|
|
namespace gtk
|
|
{
|
|
class GdkPixbufDecoder;
|
|
class GdkPixbufDecoder$GdkPixbufReaderSpi;
|
|
class GdkPixbufDecoder$GdkPixbufWriter;
|
|
class GdkPixbufDecoder$GdkPixbufWriterSpi;
|
|
class GdkPixbufDecoder$ImageFormatSpec;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
namespace java
|
|
{
|
|
namespace awt
|
|
{
|
|
namespace image
|
|
{
|
|
class ColorModel;
|
|
}
|
|
}
|
|
namespace net
|
|
{
|
|
class URL;
|
|
}
|
|
}
|
|
namespace javax
|
|
{
|
|
namespace imageio
|
|
{
|
|
namespace spi
|
|
{
|
|
class IIORegistry;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
class gnu::java::awt::peer::gtk::GdkPixbufDecoder : public ::gnu::java::awt::image::ImageDecoder
|
|
{
|
|
|
|
public: // actually package-private
|
|
static void initStaticState();
|
|
virtual void initState();
|
|
virtual void pumpBytes(JArray< jbyte > *, jint);
|
|
virtual void pumpDone();
|
|
virtual void finish(jboolean);
|
|
static void streamImage(JArray< jint > *, ::java::lang::String *, jint, jint, jboolean, ::gnu::java::awt::peer::gtk::GdkPixbufDecoder$GdkPixbufWriter *);
|
|
public:
|
|
GdkPixbufDecoder(::java::io::DataInput *);
|
|
GdkPixbufDecoder(::java::io::InputStream *);
|
|
GdkPixbufDecoder(::java::lang::String *);
|
|
GdkPixbufDecoder(::java::net::URL *);
|
|
GdkPixbufDecoder(JArray< jbyte > *, jint, jint);
|
|
public: // actually package-private
|
|
virtual void areaPrepared(jint, jint);
|
|
virtual void areaUpdated(jint, jint, jint, jint, JArray< jint > *, jint);
|
|
public:
|
|
virtual void produce(::java::util::Vector *, ::java::io::InputStream *);
|
|
virtual void finalize();
|
|
static ::gnu::java::awt::peer::gtk::GdkPixbufDecoder$ImageFormatSpec * registerFormat(::java::lang::String *, jboolean);
|
|
public: // actually package-private
|
|
static JArray< ::java::lang::String * > * getFormatNames(jboolean);
|
|
static JArray< ::java::lang::String * > * getFormatExtensions(jboolean);
|
|
static JArray< ::java::lang::String * > * getFormatMimeTypes(jboolean);
|
|
static ::java::lang::String * findFormatName(::java::lang::Object *, jboolean);
|
|
public:
|
|
static ::gnu::java::awt::peer::gtk::GdkPixbufDecoder$GdkPixbufReaderSpi * getReaderSpi();
|
|
static ::gnu::java::awt::peer::gtk::GdkPixbufDecoder$GdkPixbufWriterSpi * getWriterSpi();
|
|
static void registerSpis(::javax::imageio::spi::IIORegistry *);
|
|
public: // actually package-private
|
|
static ::java::lang::Object * pixbufLock;
|
|
private:
|
|
jint __attribute__((aligned(__alignof__( ::gnu::java::awt::image::ImageDecoder)))) native_state;
|
|
jboolean needsClose;
|
|
public: // actually package-private
|
|
::java::util::Vector * curr;
|
|
private:
|
|
::gnu::classpath::Pointer * nativeDecoder;
|
|
public: // actually package-private
|
|
static ::java::awt::image::ColorModel * cm;
|
|
static ::java::util::ArrayList * imageFormatSpecs;
|
|
private:
|
|
static ::gnu::java::awt::peer::gtk::GdkPixbufDecoder$GdkPixbufReaderSpi * readerSpi;
|
|
static ::gnu::java::awt::peer::gtk::GdkPixbufDecoder$GdkPixbufWriterSpi * writerSpi;
|
|
public:
|
|
static ::java::lang::Class class$;
|
|
};
|
|
|
|
#endif // __gnu_java_awt_peer_gtk_GdkPixbufDecoder__
|