summaryrefslogtreecommitdiff
path: root/libjava/gnu/java/awt/peer
diff options
context:
space:
mode:
Diffstat (limited to 'libjava/gnu/java/awt/peer')
-rw-r--r--libjava/gnu/java/awt/peer/ClasspathDesktopPeer.h86
-rw-r--r--libjava/gnu/java/awt/peer/ClasspathFontPeer$LRUCache.h40
-rw-r--r--libjava/gnu/java/awt/peer/ClasspathFontPeer.h126
-rw-r--r--libjava/gnu/java/awt/peer/EmbeddedWindowPeer.h161
-rw-r--r--libjava/gnu/java/awt/peer/GLightweightPeer.h141
-rw-r--r--libjava/gnu/java/awt/peer/GnomeDesktopPeer.h55
-rw-r--r--libjava/gnu/java/awt/peer/KDEDesktopPeer.h45
-rw-r--r--libjava/gnu/java/awt/peer/NativeEventLoopRunningEvent.h39
-rw-r--r--libjava/gnu/java/awt/peer/gtk/AsyncImage$Loader.h53
-rw-r--r--libjava/gnu/java/awt/peer/gtk/AsyncImage$NullImageSource.h60
-rw-r--r--libjava/gnu/java/awt/peer/gtk/AsyncImage.h71
-rw-r--r--libjava/gnu/java/awt/peer/gtk/BufferedImageGraphics.h103
-rw-r--r--libjava/gnu/java/awt/peer/gtk/CairoGraphics2D.h279
-rw-r--r--libjava/gnu/java/awt/peer/gtk/CairoSurface.h108
-rw-r--r--libjava/gnu/java/awt/peer/gtk/CairoSurfaceGraphics.h93
-rw-r--r--libjava/gnu/java/awt/peer/gtk/ComponentGraphics.h152
-rw-r--r--libjava/gnu/java/awt/peer/gtk/ComponentGraphicsCopy.h78
-rw-r--r--libjava/gnu/java/awt/peer/gtk/FreetypeGlyphVector.h122
-rw-r--r--libjava/gnu/java/awt/peer/gtk/GdkFontPeer$GdkFontLineMetrics.h57
-rw-r--r--libjava/gnu/java/awt/peer/gtk/GdkFontPeer$GdkFontMetrics.h61
-rw-r--r--libjava/gnu/java/awt/peer/gtk/GdkFontPeer.h147
-rw-r--r--libjava/gnu/java/awt/peer/gtk/GdkGraphicsConfiguration.h78
-rw-r--r--libjava/gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.h93
-rw-r--r--libjava/gnu/java/awt/peer/gtk/GdkPixbufDecoder$GdkPixbufReader.h89
-rw-r--r--libjava/gnu/java/awt/peer/gtk/GdkPixbufDecoder$GdkPixbufReaderSpi.h48
-rw-r--r--libjava/gnu/java/awt/peer/gtk/GdkPixbufDecoder$GdkPixbufWriter.h70
-rw-r--r--libjava/gnu/java/awt/peer/gtk/GdkPixbufDecoder$GdkPixbufWriterSpi.h49
-rw-r--r--libjava/gnu/java/awt/peer/gtk/GdkPixbufDecoder$ImageFormatSpec.h44
-rw-r--r--libjava/gnu/java/awt/peer/gtk/GdkPixbufDecoder.h115
-rw-r--r--libjava/gnu/java/awt/peer/gtk/GdkRobotPeer.h70
-rw-r--r--libjava/gnu/java/awt/peer/gtk/GdkScreenGraphicsDevice$X11DisplayMode.h44
-rw-r--r--libjava/gnu/java/awt/peer/gtk/GdkScreenGraphicsDevice.h103
-rw-r--r--libjava/gnu/java/awt/peer/gtk/GtkButtonPeer.h68
-rw-r--r--libjava/gnu/java/awt/peer/gtk/GtkCanvasPeer.h49
-rw-r--r--libjava/gnu/java/awt/peer/gtk/GtkCheckboxMenuItemPeer.h51
-rw-r--r--libjava/gnu/java/awt/peer/gtk/GtkCheckboxPeer.h70
-rw-r--r--libjava/gnu/java/awt/peer/gtk/GtkChoicePeer.h69
-rw-r--r--libjava/gnu/java/awt/peer/gtk/GtkClipboard.h73
-rw-r--r--libjava/gnu/java/awt/peer/gtk/GtkClipboardNotifier.h47
-rw-r--r--libjava/gnu/java/awt/peer/gtk/GtkComponentPeer$RepaintTimerTask.h57
-rw-r--r--libjava/gnu/java/awt/peer/gtk/GtkComponentPeer.h208
-rw-r--r--libjava/gnu/java/awt/peer/gtk/GtkContainerPeer.h64
-rw-r--r--libjava/gnu/java/awt/peer/gtk/GtkCursor.h53
-rw-r--r--libjava/gnu/java/awt/peer/gtk/GtkDialogPeer.h48
-rw-r--r--libjava/gnu/java/awt/peer/gtk/GtkEmbeddedWindowPeer.h44
-rw-r--r--libjava/gnu/java/awt/peer/gtk/GtkFileDialogPeer.h80
-rw-r--r--libjava/gnu/java/awt/peer/gtk/GtkFramePeer.h91
-rw-r--r--libjava/gnu/java/awt/peer/gtk/GtkGenericPeer.h72
-rw-r--r--libjava/gnu/java/awt/peer/gtk/GtkImage.h113
-rw-r--r--libjava/gnu/java/awt/peer/gtk/GtkImageConsumer.h70
-rw-r--r--libjava/gnu/java/awt/peer/gtk/GtkLabelPeer.h64
-rw-r--r--libjava/gnu/java/awt/peer/gtk/GtkListPeer.h80
-rw-r--r--libjava/gnu/java/awt/peer/gtk/GtkMainThread.h53
-rw-r--r--libjava/gnu/java/awt/peer/gtk/GtkMenuBarPeer.h57
-rw-r--r--libjava/gnu/java/awt/peer/gtk/GtkMenuComponentPeer.h52
-rw-r--r--libjava/gnu/java/awt/peer/gtk/GtkMenuItemPeer.h57
-rw-r--r--libjava/gnu/java/awt/peer/gtk/GtkMenuPeer.h66
-rw-r--r--libjava/gnu/java/awt/peer/gtk/GtkMouseInfoPeer.h52
-rw-r--r--libjava/gnu/java/awt/peer/gtk/GtkPanelPeer.h52
-rw-r--r--libjava/gnu/java/awt/peer/gtk/GtkPopupMenuPeer.h54
-rw-r--r--libjava/gnu/java/awt/peer/gtk/GtkScrollPanePeer.h62
-rw-r--r--libjava/gnu/java/awt/peer/gtk/GtkScrollbarPeer.h57
-rw-r--r--libjava/gnu/java/awt/peer/gtk/GtkSelection.h94
-rw-r--r--libjava/gnu/java/awt/peer/gtk/GtkTextAreaPeer.h89
-rw-r--r--libjava/gnu/java/awt/peer/gtk/GtkTextFieldPeer.h80
-rw-r--r--libjava/gnu/java/awt/peer/gtk/GtkToolkit$LRUCache.h43
-rw-r--r--libjava/gnu/java/awt/peer/gtk/GtkToolkit.h250
-rw-r--r--libjava/gnu/java/awt/peer/gtk/GtkVolatileImage.h98
-rw-r--r--libjava/gnu/java/awt/peer/gtk/GtkWindowPeer.h133
-rw-r--r--libjava/gnu/java/awt/peer/gtk/VolatileImageGraphics.h90
-rw-r--r--libjava/gnu/java/awt/peer/headless/HeadlessGraphicsEnvironment.h59
-rw-r--r--libjava/gnu/java/awt/peer/headless/HeadlessToolkit.h192
-rw-r--r--libjava/gnu/java/awt/peer/qt/MainQtThread.h50
-rw-r--r--libjava/gnu/java/awt/peer/qt/NativeWrapper.h41
-rw-r--r--libjava/gnu/java/awt/peer/qt/QMatrix.h57
-rw-r--r--libjava/gnu/java/awt/peer/qt/QPainterPath.h64
-rw-r--r--libjava/gnu/java/awt/peer/qt/QPen.h50
-rw-r--r--libjava/gnu/java/awt/peer/qt/QtAudioClip.h64
-rw-r--r--libjava/gnu/java/awt/peer/qt/QtButtonPeer.h53
-rw-r--r--libjava/gnu/java/awt/peer/qt/QtCanvasPeer.h52
-rw-r--r--libjava/gnu/java/awt/peer/qt/QtCheckboxPeer.h60
-rw-r--r--libjava/gnu/java/awt/peer/qt/QtChoicePeer.h57
-rw-r--r--libjava/gnu/java/awt/peer/qt/QtComponentGraphics.h56
-rw-r--r--libjava/gnu/java/awt/peer/qt/QtComponentPeer$RepaintTimerTask.h50
-rw-r--r--libjava/gnu/java/awt/peer/qt/QtComponentPeer.h197
-rw-r--r--libjava/gnu/java/awt/peer/qt/QtContainerPeer.h61
-rw-r--r--libjava/gnu/java/awt/peer/qt/QtDialogPeer.h56
-rw-r--r--libjava/gnu/java/awt/peer/qt/QtEmbeddedWindowPeer.h51
-rw-r--r--libjava/gnu/java/awt/peer/qt/QtFileDialogPeer.h56
-rw-r--r--libjava/gnu/java/awt/peer/qt/QtFontMetrics.h80
-rw-r--r--libjava/gnu/java/awt/peer/qt/QtFontPeer.h89
-rw-r--r--libjava/gnu/java/awt/peer/qt/QtFramePeer.h78
-rw-r--r--libjava/gnu/java/awt/peer/qt/QtGraphics.h215
-rw-r--r--libjava/gnu/java/awt/peer/qt/QtGraphicsEnvironment.h65
-rw-r--r--libjava/gnu/java/awt/peer/qt/QtImage.h128
-rw-r--r--libjava/gnu/java/awt/peer/qt/QtImageConsumer.h70
-rw-r--r--libjava/gnu/java/awt/peer/qt/QtImageDirectGraphics.h76
-rw-r--r--libjava/gnu/java/awt/peer/qt/QtImageGraphics.h59
-rw-r--r--libjava/gnu/java/awt/peer/qt/QtLabelPeer.h52
-rw-r--r--libjava/gnu/java/awt/peer/qt/QtListPeer.h75
-rw-r--r--libjava/gnu/java/awt/peer/qt/QtMenuBarPeer.h61
-rw-r--r--libjava/gnu/java/awt/peer/qt/QtMenuComponentPeer.h59
-rw-r--r--libjava/gnu/java/awt/peer/qt/QtMenuItemPeer.h62
-rw-r--r--libjava/gnu/java/awt/peer/qt/QtMenuPeer.h73
-rw-r--r--libjava/gnu/java/awt/peer/qt/QtPanelPeer.h50
-rw-r--r--libjava/gnu/java/awt/peer/qt/QtPopupMenuPeer.h53
-rw-r--r--libjava/gnu/java/awt/peer/qt/QtRepaintThread$RepaintComponent.h47
-rw-r--r--libjava/gnu/java/awt/peer/qt/QtRepaintThread.h47
-rw-r--r--libjava/gnu/java/awt/peer/qt/QtScreenDevice.h76
-rw-r--r--libjava/gnu/java/awt/peer/qt/QtScreenDeviceConfiguration.h76
-rw-r--r--libjava/gnu/java/awt/peer/qt/QtScrollPanePeer.h61
-rw-r--r--libjava/gnu/java/awt/peer/qt/QtScrollbarPeer.h56
-rw-r--r--libjava/gnu/java/awt/peer/qt/QtTextAreaPeer.h79
-rw-r--r--libjava/gnu/java/awt/peer/qt/QtTextFieldPeer.h79
-rw-r--r--libjava/gnu/java/awt/peer/qt/QtToolkit.h207
-rw-r--r--libjava/gnu/java/awt/peer/qt/QtVolatileImage$1.h44
-rw-r--r--libjava/gnu/java/awt/peer/qt/QtVolatileImage.h117
-rw-r--r--libjava/gnu/java/awt/peer/qt/QtWindowPeer.h61
-rw-r--r--libjava/gnu/java/awt/peer/swing/SwingButtonPeer$SwingButton.h80
-rw-r--r--libjava/gnu/java/awt/peer/swing/SwingButtonPeer$SwingButtonListener.h54
-rw-r--r--libjava/gnu/java/awt/peer/swing/SwingButtonPeer.h46
-rw-r--r--libjava/gnu/java/awt/peer/swing/SwingCanvasPeer.h45
-rw-r--r--libjava/gnu/java/awt/peer/swing/SwingCheckboxPeer$SwingCheckbox.h80
-rw-r--r--libjava/gnu/java/awt/peer/swing/SwingCheckboxPeer$SwingCheckboxListener.h56
-rw-r--r--libjava/gnu/java/awt/peer/swing/SwingCheckboxPeer.h49
-rw-r--r--libjava/gnu/java/awt/peer/swing/SwingComponent.h61
-rw-r--r--libjava/gnu/java/awt/peer/swing/SwingComponentPeer.h156
-rw-r--r--libjava/gnu/java/awt/peer/swing/SwingContainerPeer.h86
-rw-r--r--libjava/gnu/java/awt/peer/swing/SwingFramePeer.h78
-rw-r--r--libjava/gnu/java/awt/peer/swing/SwingLabelPeer$SwingLabel.h78
-rw-r--r--libjava/gnu/java/awt/peer/swing/SwingLabelPeer.h47
-rw-r--r--libjava/gnu/java/awt/peer/swing/SwingListPeer$SwingList.h78
-rw-r--r--libjava/gnu/java/awt/peer/swing/SwingListPeer.h79
-rw-r--r--libjava/gnu/java/awt/peer/swing/SwingMenuBarPeer$SwingMenuBar.h59
-rw-r--r--libjava/gnu/java/awt/peer/swing/SwingMenuBarPeer.h70
-rw-r--r--libjava/gnu/java/awt/peer/swing/SwingMenuItemPeer$SwingMenuItemListener.h54
-rw-r--r--libjava/gnu/java/awt/peer/swing/SwingMenuItemPeer.h63
-rw-r--r--libjava/gnu/java/awt/peer/swing/SwingMenuPeer$SwingMenu.h58
-rw-r--r--libjava/gnu/java/awt/peer/swing/SwingMenuPeer.h72
-rw-r--r--libjava/gnu/java/awt/peer/swing/SwingPanelPeer.h45
-rw-r--r--libjava/gnu/java/awt/peer/swing/SwingTextAreaPeer$1.h51
-rw-r--r--libjava/gnu/java/awt/peer/swing/SwingTextAreaPeer$SwingScrollPane.h81
-rw-r--r--libjava/gnu/java/awt/peer/swing/SwingTextAreaPeer$SwingTextArea.h72
-rw-r--r--libjava/gnu/java/awt/peer/swing/SwingTextAreaPeer.h78
-rw-r--r--libjava/gnu/java/awt/peer/swing/SwingTextFieldPeer$SwingTextField.h80
-rw-r--r--libjava/gnu/java/awt/peer/swing/SwingTextFieldPeer.h69
-rw-r--r--libjava/gnu/java/awt/peer/swing/SwingToolkit.h77
-rw-r--r--libjava/gnu/java/awt/peer/swing/SwingWindowPeer.h55
148 files changed, 11468 insertions, 0 deletions
diff --git a/libjava/gnu/java/awt/peer/ClasspathDesktopPeer.h b/libjava/gnu/java/awt/peer/ClasspathDesktopPeer.h
new file mode 100644
index 000000000..543393329
--- /dev/null
+++ b/libjava/gnu/java/awt/peer/ClasspathDesktopPeer.h
@@ -0,0 +1,86 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_java_awt_peer_ClasspathDesktopPeer__
+#define __gnu_java_awt_peer_ClasspathDesktopPeer__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace java
+ {
+ namespace awt
+ {
+ namespace peer
+ {
+ class ClasspathDesktopPeer;
+ class GnomeDesktopPeer;
+ class KDEDesktopPeer;
+ }
+ }
+ }
+ }
+ namespace java
+ {
+ namespace awt
+ {
+ class Desktop$Action;
+ namespace peer
+ {
+ class DesktopPeer;
+ }
+ }
+ namespace net
+ {
+ class URI;
+ }
+ }
+}
+
+class gnu::java::awt::peer::ClasspathDesktopPeer : public ::java::lang::Object
+{
+
+public: // actually protected
+ ClasspathDesktopPeer();
+public:
+ virtual jboolean isSupported(::java::awt::Desktop$Action *);
+ virtual void browse(::java::net::URI *);
+ virtual void edit(::java::io::File *);
+ virtual void mail(::java::net::URI *);
+ virtual void mail();
+ virtual void open(::java::io::File *);
+ virtual void print(::java::io::File *);
+public: // actually protected
+ virtual ::java::lang::String * getCommand(::java::lang::String *);
+ virtual void checkPermissions();
+ virtual void checkPermissions(::java::io::File *, jboolean);
+ virtual void checkPrintPermissions(::java::io::File *);
+ virtual jboolean supportCommand(::java::lang::String *);
+public:
+ static ::java::awt::peer::DesktopPeer * getDesktop();
+public: // actually package-private
+ static JArray< jint > * $SWITCH_TABLE$java$awt$Desktop$Action();
+public: // actually protected
+ static ::java::lang::String * _DEFAULT_BROWSER;
+ static ::java::lang::String * _BROWSE;
+ static ::java::lang::String * _MAIL;
+ static ::java::lang::String * _EDIT;
+ static ::java::lang::String * _PRINT;
+ static ::java::lang::String * _OPEN;
+ static ::gnu::java::awt::peer::KDEDesktopPeer * kde;
+ static ::gnu::java::awt::peer::GnomeDesktopPeer * gnome;
+ static ::gnu::java::awt::peer::ClasspathDesktopPeer * classpath;
+ ::java::util::prefs::Preferences * __attribute__((aligned(__alignof__( ::java::lang::Object)))) prefs;
+private:
+ static JArray< jint > * $SWITCH_TABLE$java$awt$Desktop$Action__;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_java_awt_peer_ClasspathDesktopPeer__
diff --git a/libjava/gnu/java/awt/peer/ClasspathFontPeer$LRUCache.h b/libjava/gnu/java/awt/peer/ClasspathFontPeer$LRUCache.h
new file mode 100644
index 000000000..744566261
--- /dev/null
+++ b/libjava/gnu/java/awt/peer/ClasspathFontPeer$LRUCache.h
@@ -0,0 +1,40 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_java_awt_peer_ClasspathFontPeer$LRUCache__
+#define __gnu_java_awt_peer_ClasspathFontPeer$LRUCache__
+
+#pragma interface
+
+#include <java/util/LinkedHashMap.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace java
+ {
+ namespace awt
+ {
+ namespace peer
+ {
+ class ClasspathFontPeer$LRUCache;
+ }
+ }
+ }
+ }
+}
+
+class gnu::java::awt::peer::ClasspathFontPeer$LRUCache : public ::java::util::LinkedHashMap
+{
+
+public:
+ ClasspathFontPeer$LRUCache(jint);
+public: // actually protected
+ virtual jboolean removeEldestEntry(::java::util::Map$Entry *);
+public: // actually package-private
+ jint __attribute__((aligned(__alignof__( ::java::util::LinkedHashMap)))) max_entries;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_java_awt_peer_ClasspathFontPeer$LRUCache__
diff --git a/libjava/gnu/java/awt/peer/ClasspathFontPeer.h b/libjava/gnu/java/awt/peer/ClasspathFontPeer.h
new file mode 100644
index 000000000..18ab58c68
--- /dev/null
+++ b/libjava/gnu/java/awt/peer/ClasspathFontPeer.h
@@ -0,0 +1,126 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_java_awt_peer_ClasspathFontPeer__
+#define __gnu_java_awt_peer_ClasspathFontPeer__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace java
+ {
+ namespace awt
+ {
+ class ClasspathToolkit;
+ namespace peer
+ {
+ class ClasspathFontPeer;
+ class ClasspathFontPeer$LRUCache;
+ }
+ }
+ }
+ }
+ namespace java
+ {
+ namespace awt
+ {
+ class Font;
+ class FontMetrics;
+ namespace font
+ {
+ class FontRenderContext;
+ class GlyphVector;
+ class LineMetrics;
+ }
+ namespace geom
+ {
+ class AffineTransform;
+ class Rectangle2D;
+ }
+ }
+ namespace text
+ {
+ class AttributedCharacterIterator$Attribute;
+ class CharacterIterator;
+ }
+ }
+}
+
+class gnu::java::awt::peer::ClasspathFontPeer : public ::java::lang::Object
+{
+
+public: // actually protected
+ static ::gnu::java::awt::ClasspathToolkit * tk();
+ static jboolean isLogicalFontName(::java::lang::String *);
+ static ::java::lang::String * logicalFontNameToFaceName(::java::lang::String *);
+ static ::java::lang::String * faceNameToFamilyName(::java::lang::String *);
+public:
+ static void copyStyleToAttrs(jint, ::java::util::Map *);
+public: // actually protected
+ static void copyFamilyToAttrs(::java::lang::String *, ::java::util::Map *);
+public:
+ static void copySizeToAttrs(jfloat, ::java::util::Map *);
+public: // actually protected
+ static void copyTransformToAttrs(::java::awt::geom::AffineTransform *, ::java::util::Map *);
+ virtual void setStandardAttributes(::java::lang::String *, ::java::lang::String *, jint, jfloat, ::java::awt::geom::AffineTransform *);
+ virtual void setStandardAttributes(::java::lang::String *, ::java::util::Map *);
+ virtual void getStandardAttributes(::java::util::Map *);
+public:
+ ClasspathFontPeer(::java::lang::String *, ::java::util::Map *);
+ ClasspathFontPeer(::java::lang::String *, jint, jint);
+ virtual ::java::lang::String * getName(::java::awt::Font *);
+ virtual ::java::lang::String * getFamily(::java::awt::Font *);
+ virtual ::java::lang::String * getFamily(::java::awt::Font *, ::java::util::Locale *);
+ virtual ::java::lang::String * getFontName(::java::awt::Font *);
+ virtual ::java::lang::String * getFontName(::java::awt::Font *, ::java::util::Locale *);
+ virtual jfloat getSize(::java::awt::Font *);
+ virtual jboolean isPlain(::java::awt::Font *);
+ virtual jboolean isBold(::java::awt::Font *);
+ virtual jboolean isItalic(::java::awt::Font *);
+ virtual ::java::awt::Font * deriveFont(::java::awt::Font *, jint, jfloat);
+ virtual ::java::awt::Font * deriveFont(::java::awt::Font *, jfloat);
+ virtual ::java::awt::Font * deriveFont(::java::awt::Font *, jint);
+ virtual ::java::awt::Font * deriveFont(::java::awt::Font *, jint, ::java::awt::geom::AffineTransform *);
+ virtual ::java::awt::Font * deriveFont(::java::awt::Font *, ::java::awt::geom::AffineTransform *);
+ virtual ::java::awt::Font * deriveFont(::java::awt::Font *, ::java::util::Map *);
+ virtual ::java::util::Map * getAttributes(::java::awt::Font *);
+ virtual JArray< ::java::text::AttributedCharacterIterator$Attribute * > * getAvailableAttributes(::java::awt::Font *);
+ virtual ::java::awt::geom::AffineTransform * getTransform(::java::awt::Font *);
+ virtual jboolean isTransformed(::java::awt::Font *);
+ virtual jfloat getItalicAngle(::java::awt::Font *);
+ virtual jint getStyle(::java::awt::Font *);
+ virtual jboolean canDisplay(::java::awt::Font *, jint) = 0;
+ virtual jint canDisplayUpTo(::java::awt::Font *, ::java::text::CharacterIterator *, jint, jint) = 0;
+ virtual ::java::lang::String * getSubFamilyName(::java::awt::Font *, ::java::util::Locale *) = 0;
+ virtual ::java::lang::String * getPostScriptName(::java::awt::Font *) = 0;
+ virtual jint getNumGlyphs(::java::awt::Font *) = 0;
+ virtual jint getMissingGlyphCode(::java::awt::Font *) = 0;
+ virtual jbyte getBaselineFor(::java::awt::Font *, jchar) = 0;
+ virtual ::java::lang::String * getGlyphName(::java::awt::Font *, jint) = 0;
+ virtual ::java::awt::font::GlyphVector * createGlyphVector(::java::awt::Font *, ::java::awt::font::FontRenderContext *, ::java::text::CharacterIterator *) = 0;
+ virtual ::java::awt::font::GlyphVector * createGlyphVector(::java::awt::Font *, ::java::awt::font::FontRenderContext *, JArray< jint > *) = 0;
+ virtual ::java::awt::font::GlyphVector * layoutGlyphVector(::java::awt::Font *, ::java::awt::font::FontRenderContext *, JArray< jchar > *, jint, jint, jint) = 0;
+ virtual ::java::awt::FontMetrics * getFontMetrics(::java::awt::Font *) = 0;
+ virtual jboolean hasUniformLineMetrics(::java::awt::Font *) = 0;
+ virtual ::java::awt::font::LineMetrics * getLineMetrics(::java::awt::Font *, ::java::text::CharacterIterator *, jint, jint, ::java::awt::font::FontRenderContext *) = 0;
+ virtual ::java::awt::geom::Rectangle2D * getMaxCharBounds(::java::awt::Font *, ::java::awt::font::FontRenderContext *) = 0;
+public: // actually protected
+ ::java::lang::String * __attribute__((aligned(__alignof__( ::java::lang::Object)))) logicalName;
+ ::java::lang::String * familyName;
+ ::java::lang::String * faceName;
+ jint style;
+ jfloat size;
+ ::java::awt::geom::AffineTransform * transform;
+private:
+ static ::gnu::java::awt::peer::ClasspathFontPeer$LRUCache * transCache;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_java_awt_peer_ClasspathFontPeer__
diff --git a/libjava/gnu/java/awt/peer/EmbeddedWindowPeer.h b/libjava/gnu/java/awt/peer/EmbeddedWindowPeer.h
new file mode 100644
index 000000000..89b4c8b06
--- /dev/null
+++ b/libjava/gnu/java/awt/peer/EmbeddedWindowPeer.h
@@ -0,0 +1,161 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_java_awt_peer_EmbeddedWindowPeer__
+#define __gnu_java_awt_peer_EmbeddedWindowPeer__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace java
+ {
+ namespace awt
+ {
+ namespace peer
+ {
+ class EmbeddedWindowPeer;
+ }
+ }
+ }
+ }
+ namespace java
+ {
+ namespace awt
+ {
+ class AWTEvent;
+ class BufferCapabilities;
+ class BufferCapabilities$FlipContents;
+ class Color;
+ class Component;
+ class Cursor;
+ class Dialog;
+ class Dimension;
+ class Font;
+ class FontMetrics;
+ class Graphics;
+ class GraphicsConfiguration;
+ class Image;
+ class Insets;
+ class MenuBar;
+ class Point;
+ class Rectangle;
+ class Toolkit;
+ namespace event
+ {
+ class PaintEvent;
+ }
+ namespace image
+ {
+ class ColorModel;
+ class ImageObserver;
+ class ImageProducer;
+ class VolatileImage;
+ }
+ namespace peer
+ {
+ class ContainerPeer;
+ }
+ }
+ }
+ namespace sun
+ {
+ namespace awt
+ {
+ class CausedFocusEvent$Cause;
+ }
+ }
+}
+
+class gnu::java::awt::peer::EmbeddedWindowPeer : public ::java::lang::Object
+{
+
+public:
+ virtual void embed(jlong) = 0;
+ virtual void setIconImage(::java::awt::Image *) = 0;
+ virtual void setMenuBar(::java::awt::MenuBar *) = 0;
+ virtual void setResizable(jboolean) = 0;
+ virtual void setTitle(::java::lang::String *) = 0;
+ virtual jint getState() = 0;
+ virtual void setState(jint) = 0;
+ virtual void setMaximizedBounds(::java::awt::Rectangle *) = 0;
+ virtual jboolean isRestackSupported() = 0;
+ virtual void setBoundsPrivate(jint, jint, jint, jint) = 0;
+ virtual ::java::awt::Rectangle * getBoundsPrivate() = 0;
+ virtual void toBack() = 0;
+ virtual void toFront() = 0;
+ virtual void updateAlwaysOnTop() = 0;
+ virtual jboolean requestWindowFocus() = 0;
+ virtual void setAlwaysOnTop(jboolean) = 0;
+ virtual void updateFocusableWindowState() = 0;
+ virtual void setModalBlocked(::java::awt::Dialog *, jboolean) = 0;
+ virtual void updateMinimumSize() = 0;
+ virtual void updateIconImages() = 0;
+ virtual ::java::awt::Insets * insets() = 0;
+ virtual ::java::awt::Insets * getInsets() = 0;
+ virtual void beginValidate() = 0;
+ virtual void endValidate() = 0;
+ virtual void beginLayout() = 0;
+ virtual void endLayout() = 0;
+ virtual jboolean isPaintPending() = 0;
+ virtual void cancelPendingPaint(jint, jint, jint, jint) = 0;
+ virtual void restack() = 0;
+ virtual jint checkImage(::java::awt::Image *, jint, jint, ::java::awt::image::ImageObserver *) = 0;
+ virtual ::java::awt::Image * createImage(::java::awt::image::ImageProducer *) = 0;
+ virtual ::java::awt::Image * createImage(jint, jint) = 0;
+ virtual void disable() = 0;
+ virtual void dispose() = 0;
+ virtual void enable() = 0;
+ virtual ::java::awt::image::ColorModel * getColorModel() = 0;
+ virtual ::java::awt::FontMetrics * getFontMetrics(::java::awt::Font *) = 0;
+ virtual ::java::awt::Graphics * getGraphics() = 0;
+ virtual ::java::awt::Point * getLocationOnScreen() = 0;
+ virtual ::java::awt::Dimension * getMinimumSize() = 0;
+ virtual ::java::awt::Dimension * getPreferredSize() = 0;
+ virtual ::java::awt::Toolkit * getToolkit() = 0;
+ virtual void handleEvent(::java::awt::AWTEvent *) = 0;
+ virtual void hide() = 0;
+ virtual jboolean isFocusTraversable() = 0;
+ virtual jboolean isFocusable() = 0;
+ virtual ::java::awt::Dimension * minimumSize() = 0;
+ virtual ::java::awt::Dimension * preferredSize() = 0;
+ virtual void paint(::java::awt::Graphics *) = 0;
+ virtual jboolean prepareImage(::java::awt::Image *, jint, jint, ::java::awt::image::ImageObserver *) = 0;
+ virtual void print(::java::awt::Graphics *) = 0;
+ virtual void repaint(jlong, jint, jint, jint, jint) = 0;
+ virtual void requestFocus() = 0;
+ virtual jboolean requestFocus(::java::awt::Component *, jboolean, jboolean, jlong) = 0;
+ virtual void reshape(jint, jint, jint, jint) = 0;
+ virtual void setBackground(::java::awt::Color *) = 0;
+ virtual void setBounds(jint, jint, jint, jint) = 0;
+ virtual void setCursor(::java::awt::Cursor *) = 0;
+ virtual void setEnabled(jboolean) = 0;
+ virtual void setFont(::java::awt::Font *) = 0;
+ virtual void setForeground(::java::awt::Color *) = 0;
+ virtual void setVisible(jboolean) = 0;
+ virtual void show() = 0;
+ virtual ::java::awt::GraphicsConfiguration * getGraphicsConfiguration() = 0;
+ virtual void setEventMask(jlong) = 0;
+ virtual jboolean isObscured() = 0;
+ virtual jboolean canDetermineObscurity() = 0;
+ virtual void coalescePaintEvent(::java::awt::event::PaintEvent *) = 0;
+ virtual void updateCursorImmediately() = 0;
+ virtual jboolean handlesWheelScrolling() = 0;
+ virtual ::java::awt::image::VolatileImage * createVolatileImage(jint, jint) = 0;
+ virtual void createBuffers(jint, ::java::awt::BufferCapabilities *) = 0;
+ virtual ::java::awt::Image * getBackBuffer() = 0;
+ virtual void flip(::java::awt::BufferCapabilities$FlipContents *) = 0;
+ virtual void destroyBuffers() = 0;
+ virtual ::java::awt::Rectangle * getBounds() = 0;
+ virtual void reparent(::java::awt::peer::ContainerPeer *) = 0;
+ virtual void setBounds(jint, jint, jint, jint, jint) = 0;
+ virtual jboolean isReparentSupported() = 0;
+ virtual void layout() = 0;
+ virtual jboolean requestFocus(::java::awt::Component *, jboolean, jboolean, jlong, ::sun::awt::CausedFocusEvent$Cause *) = 0;
+ static ::java::lang::Class class$;
+} __attribute__ ((java_interface));
+
+#endif // __gnu_java_awt_peer_EmbeddedWindowPeer__
diff --git a/libjava/gnu/java/awt/peer/GLightweightPeer.h b/libjava/gnu/java/awt/peer/GLightweightPeer.h
new file mode 100644
index 000000000..ecf0b4653
--- /dev/null
+++ b/libjava/gnu/java/awt/peer/GLightweightPeer.h
@@ -0,0 +1,141 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_java_awt_peer_GLightweightPeer__
+#define __gnu_java_awt_peer_GLightweightPeer__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace java
+ {
+ namespace awt
+ {
+ namespace peer
+ {
+ class GLightweightPeer;
+ }
+ }
+ }
+ }
+ namespace java
+ {
+ namespace awt
+ {
+ class AWTEvent;
+ class BufferCapabilities;
+ class BufferCapabilities$FlipContents;
+ class Color;
+ class Component;
+ class Cursor;
+ class Dimension;
+ class Font;
+ class FontMetrics;
+ class Graphics;
+ class GraphicsConfiguration;
+ class Image;
+ class Insets;
+ class Point;
+ class Rectangle;
+ class Toolkit;
+ namespace event
+ {
+ class PaintEvent;
+ }
+ namespace image
+ {
+ class ColorModel;
+ class ImageObserver;
+ class ImageProducer;
+ class VolatileImage;
+ }
+ namespace peer
+ {
+ class ContainerPeer;
+ }
+ }
+ }
+ namespace sun
+ {
+ namespace awt
+ {
+ class CausedFocusEvent$Cause;
+ }
+ }
+}
+
+class gnu::java::awt::peer::GLightweightPeer : public ::java::lang::Object
+{
+
+public:
+ GLightweightPeer();
+ virtual ::java::awt::Insets * insets();
+ virtual ::java::awt::Insets * getInsets();
+ virtual void beginValidate();
+ virtual void endValidate();
+ virtual void beginLayout();
+ virtual void endLayout();
+ virtual jboolean isPaintPending();
+ virtual jint checkImage(::java::awt::Image *, jint, jint, ::java::awt::image::ImageObserver *);
+ virtual ::java::awt::Image * createImage(::java::awt::image::ImageProducer *);
+ virtual ::java::awt::Image * createImage(jint, jint);
+ virtual void disable();
+ virtual void dispose();
+ virtual void enable();
+ virtual ::java::awt::GraphicsConfiguration * getGraphicsConfiguration();
+ virtual ::java::awt::FontMetrics * getFontMetrics(::java::awt::Font *);
+ virtual ::java::awt::Graphics * getGraphics();
+ virtual ::java::awt::Point * getLocationOnScreen();
+ virtual ::java::awt::Dimension * getMinimumSize();
+ virtual ::java::awt::Dimension * getPreferredSize();
+ virtual ::java::awt::Toolkit * getToolkit();
+ virtual void handleEvent(::java::awt::AWTEvent *);
+ virtual void hide();
+ virtual jboolean isFocusable();
+ virtual jboolean isFocusTraversable();
+ virtual ::java::awt::Dimension * minimumSize();
+ virtual ::java::awt::Dimension * preferredSize();
+ virtual void paint(::java::awt::Graphics *);
+ virtual jboolean prepareImage(::java::awt::Image *, jint, jint, ::java::awt::image::ImageObserver *);
+ virtual void print(::java::awt::Graphics *);
+ virtual void repaint(jlong, jint, jint, jint, jint);
+ virtual void requestFocus();
+ virtual jboolean requestFocus(::java::awt::Component *, jboolean, jboolean, jlong);
+ virtual void reshape(jint, jint, jint, jint);
+ virtual void setBackground(::java::awt::Color *);
+ virtual void setBounds(jint, jint, jint, jint);
+ virtual void setCursor(::java::awt::Cursor *);
+ virtual void setEnabled(jboolean);
+ virtual void setEventMask(jlong);
+ virtual void setFont(::java::awt::Font *);
+ virtual void setForeground(::java::awt::Color *);
+ virtual void setVisible(jboolean);
+ virtual void show();
+ virtual ::java::awt::image::ColorModel * getColorModel();
+ virtual jboolean isObscured();
+ virtual jboolean canDetermineObscurity();
+ virtual void coalescePaintEvent(::java::awt::event::PaintEvent *);
+ virtual void updateCursorImmediately();
+ virtual ::java::awt::image::VolatileImage * createVolatileImage(jint, jint);
+ virtual jboolean handlesWheelScrolling();
+ virtual void createBuffers(jint, ::java::awt::BufferCapabilities *);
+ virtual ::java::awt::Image * getBackBuffer();
+ virtual void flip(::java::awt::BufferCapabilities$FlipContents *);
+ virtual void destroyBuffers();
+ virtual jboolean isRestackSupported();
+ virtual void cancelPendingPaint(jint, jint, jint, jint);
+ virtual void restack();
+ virtual ::java::awt::Rectangle * getBounds();
+ virtual void reparent(::java::awt::peer::ContainerPeer *);
+ virtual void setBounds(jint, jint, jint, jint, jint);
+ virtual jboolean isReparentSupported();
+ virtual void layout();
+ virtual jboolean requestFocus(::java::awt::Component *, jboolean, jboolean, jlong, ::sun::awt::CausedFocusEvent$Cause *);
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_java_awt_peer_GLightweightPeer__
diff --git a/libjava/gnu/java/awt/peer/GnomeDesktopPeer.h b/libjava/gnu/java/awt/peer/GnomeDesktopPeer.h
new file mode 100644
index 000000000..7621bd150
--- /dev/null
+++ b/libjava/gnu/java/awt/peer/GnomeDesktopPeer.h
@@ -0,0 +1,55 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_java_awt_peer_GnomeDesktopPeer__
+#define __gnu_java_awt_peer_GnomeDesktopPeer__
+
+#pragma interface
+
+#include <gnu/java/awt/peer/ClasspathDesktopPeer.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace java
+ {
+ namespace awt
+ {
+ namespace peer
+ {
+ class GnomeDesktopPeer;
+ }
+ }
+ }
+ }
+ namespace java
+ {
+ namespace net
+ {
+ class URI;
+ }
+ }
+}
+
+class gnu::java::awt::peer::GnomeDesktopPeer : public ::gnu::java::awt::peer::ClasspathDesktopPeer
+{
+
+public:
+ GnomeDesktopPeer();
+public: // actually protected
+ virtual ::java::lang::String * getCommand(::java::lang::String *);
+public:
+ virtual void browse(::java::net::URI *);
+public: // actually protected
+ virtual jboolean supportCommand(::java::lang::String *);
+public:
+ virtual void mail();
+public: // actually protected
+ virtual ::java::lang::String * execQuery(::java::lang::String *);
+private:
+ static ::java::lang::String * BROWSER_QUERY_GNOME;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_java_awt_peer_GnomeDesktopPeer__
diff --git a/libjava/gnu/java/awt/peer/KDEDesktopPeer.h b/libjava/gnu/java/awt/peer/KDEDesktopPeer.h
new file mode 100644
index 000000000..1d6448b6c
--- /dev/null
+++ b/libjava/gnu/java/awt/peer/KDEDesktopPeer.h
@@ -0,0 +1,45 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_java_awt_peer_KDEDesktopPeer__
+#define __gnu_java_awt_peer_KDEDesktopPeer__
+
+#pragma interface
+
+#include <gnu/java/awt/peer/ClasspathDesktopPeer.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace java
+ {
+ namespace awt
+ {
+ namespace peer
+ {
+ class KDEDesktopPeer;
+ }
+ }
+ }
+ }
+}
+
+class gnu::java::awt::peer::KDEDesktopPeer : public ::gnu::java::awt::peer::ClasspathDesktopPeer
+{
+
+public:
+ KDEDesktopPeer();
+public: // actually protected
+ virtual ::java::lang::String * getCommand(::java::lang::String *);
+ virtual jboolean supportCommand(::java::lang::String *);
+public:
+ virtual void mail();
+public: // actually protected
+ virtual ::java::lang::String * execQuery(::java::lang::String *);
+private:
+ static ::java::lang::String * BROWSER_QUERY_GNOME;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_java_awt_peer_KDEDesktopPeer__
diff --git a/libjava/gnu/java/awt/peer/NativeEventLoopRunningEvent.h b/libjava/gnu/java/awt/peer/NativeEventLoopRunningEvent.h
new file mode 100644
index 000000000..48a10a74b
--- /dev/null
+++ b/libjava/gnu/java/awt/peer/NativeEventLoopRunningEvent.h
@@ -0,0 +1,39 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_java_awt_peer_NativeEventLoopRunningEvent__
+#define __gnu_java_awt_peer_NativeEventLoopRunningEvent__
+
+#pragma interface
+
+#include <java/awt/AWTEvent.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace java
+ {
+ namespace awt
+ {
+ namespace peer
+ {
+ class NativeEventLoopRunningEvent;
+ }
+ }
+ }
+ }
+}
+
+class gnu::java::awt::peer::NativeEventLoopRunningEvent : public ::java::awt::AWTEvent
+{
+
+public:
+ NativeEventLoopRunningEvent(::java::lang::Object *);
+ virtual jboolean isRunning();
+private:
+ jboolean __attribute__((aligned(__alignof__( ::java::awt::AWTEvent)))) running;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_java_awt_peer_NativeEventLoopRunningEvent__
diff --git a/libjava/gnu/java/awt/peer/gtk/AsyncImage$Loader.h b/libjava/gnu/java/awt/peer/gtk/AsyncImage$Loader.h
new file mode 100644
index 000000000..aa276f4e6
--- /dev/null
+++ b/libjava/gnu/java/awt/peer/gtk/AsyncImage$Loader.h
@@ -0,0 +1,53 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_java_awt_peer_gtk_AsyncImage$Loader__
+#define __gnu_java_awt_peer_gtk_AsyncImage$Loader__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace java
+ {
+ namespace awt
+ {
+ namespace peer
+ {
+ namespace gtk
+ {
+ class AsyncImage;
+ class AsyncImage$Loader;
+ }
+ }
+ }
+ }
+ }
+ namespace java
+ {
+ namespace net
+ {
+ class URL;
+ }
+ }
+}
+
+class gnu::java::awt::peer::gtk::AsyncImage$Loader : public ::java::lang::Object
+{
+
+public: // actually package-private
+ AsyncImage$Loader(::gnu::java::awt::peer::gtk::AsyncImage *, ::java::net::URL *);
+public:
+ virtual void run();
+private:
+ ::java::net::URL * __attribute__((aligned(__alignof__( ::java::lang::Object)))) url;
+public: // actually package-private
+ ::gnu::java::awt::peer::gtk::AsyncImage * this$0;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_java_awt_peer_gtk_AsyncImage$Loader__
diff --git a/libjava/gnu/java/awt/peer/gtk/AsyncImage$NullImageSource.h b/libjava/gnu/java/awt/peer/gtk/AsyncImage$NullImageSource.h
new file mode 100644
index 000000000..86bfeae7a
--- /dev/null
+++ b/libjava/gnu/java/awt/peer/gtk/AsyncImage$NullImageSource.h
@@ -0,0 +1,60 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_java_awt_peer_gtk_AsyncImage$NullImageSource__
+#define __gnu_java_awt_peer_gtk_AsyncImage$NullImageSource__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace java
+ {
+ namespace awt
+ {
+ namespace peer
+ {
+ namespace gtk
+ {
+ class AsyncImage;
+ class AsyncImage$NullImageSource;
+ }
+ }
+ }
+ }
+ }
+ namespace java
+ {
+ namespace awt
+ {
+ namespace image
+ {
+ class ImageConsumer;
+ }
+ }
+ }
+}
+
+class gnu::java::awt::peer::gtk::AsyncImage$NullImageSource : public ::java::lang::Object
+{
+
+public: // actually package-private
+ AsyncImage$NullImageSource(::gnu::java::awt::peer::gtk::AsyncImage *);
+public:
+ virtual void addConsumer(::java::awt::image::ImageConsumer *);
+ virtual jboolean isConsumer(::java::awt::image::ImageConsumer *);
+ virtual void removeConsumer(::java::awt::image::ImageConsumer *);
+ virtual void requestTopDownLeftRightResend(::java::awt::image::ImageConsumer *);
+ virtual void startProduction(::java::awt::image::ImageConsumer *);
+private:
+ ::java::util::ArrayList * __attribute__((aligned(__alignof__( ::java::lang::Object)))) consumers;
+public: // actually package-private
+ ::gnu::java::awt::peer::gtk::AsyncImage * this$0;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_java_awt_peer_gtk_AsyncImage$NullImageSource__
diff --git a/libjava/gnu/java/awt/peer/gtk/AsyncImage.h b/libjava/gnu/java/awt/peer/gtk/AsyncImage.h
new file mode 100644
index 000000000..d1735ea4c
--- /dev/null
+++ b/libjava/gnu/java/awt/peer/gtk/AsyncImage.h
@@ -0,0 +1,71 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_java_awt_peer_gtk_AsyncImage__
+#define __gnu_java_awt_peer_gtk_AsyncImage__
+
+#pragma interface
+
+#include <java/awt/Image.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace java
+ {
+ namespace awt
+ {
+ namespace peer
+ {
+ namespace gtk
+ {
+ class AsyncImage;
+ }
+ }
+ }
+ }
+ }
+ namespace java
+ {
+ namespace awt
+ {
+ class Graphics;
+ class Image;
+ namespace image
+ {
+ class ImageObserver;
+ class ImageProducer;
+ }
+ }
+ namespace net
+ {
+ class URL;
+ }
+ }
+}
+
+class gnu::java::awt::peer::gtk::AsyncImage : public ::java::awt::Image
+{
+
+public: // actually package-private
+ AsyncImage(::java::net::URL *);
+public:
+ virtual void flush();
+ virtual ::java::awt::Graphics * getGraphics();
+ virtual jint getHeight(::java::awt::image::ImageObserver *);
+ virtual ::java::lang::Object * getProperty(::java::lang::String *, ::java::awt::image::ImageObserver *);
+ virtual ::java::awt::image::ImageProducer * getSource();
+ virtual jint getWidth(::java::awt::image::ImageObserver *);
+public: // actually package-private
+ virtual void addObserver(::java::awt::image::ImageObserver *);
+ static ::java::awt::Image * realImage(::java::awt::Image *, ::java::awt::image::ImageObserver *);
+ virtual void notifyObservers(jint);
+ virtual jint checkImage(::java::awt::image::ImageObserver *);
+ ::java::awt::Image * __attribute__((aligned(__alignof__( ::java::awt::Image)))) realImage__;
+ ::java::util::HashSet * observers;
+ static jboolean $assertionsDisabled;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_java_awt_peer_gtk_AsyncImage__
diff --git a/libjava/gnu/java/awt/peer/gtk/BufferedImageGraphics.h b/libjava/gnu/java/awt/peer/gtk/BufferedImageGraphics.h
new file mode 100644
index 000000000..032eb270c
--- /dev/null
+++ b/libjava/gnu/java/awt/peer/gtk/BufferedImageGraphics.h
@@ -0,0 +1,103 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_java_awt_peer_gtk_BufferedImageGraphics__
+#define __gnu_java_awt_peer_gtk_BufferedImageGraphics__
+
+#pragma interface
+
+#include <gnu/java/awt/peer/gtk/CairoGraphics2D.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace java
+ {
+ namespace awt
+ {
+ namespace peer
+ {
+ namespace gtk
+ {
+ class BufferedImageGraphics;
+ class CairoSurface;
+ }
+ }
+ }
+ }
+ }
+ namespace java
+ {
+ namespace awt
+ {
+ class Color;
+ class Graphics;
+ class GraphicsConfiguration;
+ class Image;
+ class Shape;
+ namespace font
+ {
+ class GlyphVector;
+ }
+ namespace geom
+ {
+ class AffineTransform;
+ class Rectangle2D;
+ }
+ namespace image
+ {
+ class BufferedImage;
+ class ColorModel;
+ class ImageObserver;
+ class RenderedImage;
+ }
+ }
+ }
+}
+
+class gnu::java::awt::peer::gtk::BufferedImageGraphics : public ::gnu::java::awt::peer::gtk::CairoGraphics2D
+{
+
+public:
+ BufferedImageGraphics(::java::awt::image::BufferedImage *);
+public: // actually package-private
+ BufferedImageGraphics(::gnu::java::awt::peer::gtk::BufferedImageGraphics *);
+private:
+ void updateBufferedImage(jint, jint, jint, jint);
+public:
+ virtual ::java::awt::Graphics * create();
+ virtual ::java::awt::GraphicsConfiguration * getDeviceConfiguration();
+public: // actually protected
+ virtual ::java::awt::geom::Rectangle2D * getRealBounds();
+public:
+ virtual void copyAreaImpl(jint, jint, jint, jint, jint, jint);
+ virtual void draw(::java::awt::Shape *);
+ virtual void fill(::java::awt::Shape *);
+ virtual void drawRenderedImage(::java::awt::image::RenderedImage *, ::java::awt::geom::AffineTransform *);
+public: // actually protected
+ virtual jboolean drawImage(::java::awt::Image *, ::java::awt::geom::AffineTransform *, ::java::awt::Color *, ::java::awt::image::ImageObserver *);
+public:
+ virtual void drawGlyphVector(::java::awt::font::GlyphVector *, jfloat, jfloat);
+private:
+ jboolean drawComposite(::java::awt::geom::Rectangle2D *, ::java::awt::image::ImageObserver *);
+ void createBuffer();
+public: // actually protected
+ virtual ::java::awt::image::ColorModel * getNativeCM();
+ virtual ::java::awt::image::ColorModel * getBufferCM();
+private:
+ ::java::awt::image::BufferedImage * __attribute__((aligned(__alignof__( ::gnu::java::awt::peer::gtk::CairoGraphics2D)))) image;
+ ::java::awt::image::BufferedImage * buffer;
+ jint imageWidth;
+ jint imageHeight;
+public: // actually package-private
+ ::gnu::java::awt::peer::gtk::CairoSurface * surface;
+ static ::java::util::WeakHashMap * bufferedImages;
+private:
+ jlong cairo_t;
+ jboolean hasFastCM;
+ jboolean hasAlpha;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_java_awt_peer_gtk_BufferedImageGraphics__
diff --git a/libjava/gnu/java/awt/peer/gtk/CairoGraphics2D.h b/libjava/gnu/java/awt/peer/gtk/CairoGraphics2D.h
new file mode 100644
index 000000000..5d5ee497d
--- /dev/null
+++ b/libjava/gnu/java/awt/peer/gtk/CairoGraphics2D.h
@@ -0,0 +1,279 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_java_awt_peer_gtk_CairoGraphics2D__
+#define __gnu_java_awt_peer_gtk_CairoGraphics2D__
+
+#pragma interface
+
+#include <java/awt/Graphics2D.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace java
+ {
+ namespace awt
+ {
+ namespace peer
+ {
+ namespace gtk
+ {
+ class CairoGraphics2D;
+ class CairoSurface;
+ class GdkFontPeer;
+ }
+ }
+ }
+ }
+ }
+ namespace java
+ {
+ namespace awt
+ {
+ class BasicStroke;
+ class Color;
+ class Composite;
+ class CompositeContext;
+ class Font;
+ class FontMetrics;
+ class Graphics;
+ class GraphicsConfiguration;
+ class Image;
+ class Paint;
+ class Rectangle;
+ class RenderingHints;
+ class RenderingHints$Key;
+ class Shape;
+ class Stroke;
+ namespace font
+ {
+ class FontRenderContext;
+ class GlyphVector;
+ }
+ namespace geom
+ {
+ class AffineTransform;
+ class PathIterator;
+ class Rectangle2D;
+ }
+ namespace image
+ {
+ class BufferedImage;
+ class BufferedImageOp;
+ class ColorModel;
+ class ImageObserver;
+ class Raster;
+ class RenderedImage;
+ namespace renderable
+ {
+ class RenderableImage;
+ }
+ }
+ }
+ namespace text
+ {
+ class AttributedCharacterIterator;
+ }
+ }
+}
+
+class gnu::java::awt::peer::gtk::CairoGraphics2D : public ::java::awt::Graphics2D
+{
+
+public:
+ CairoGraphics2D();
+ virtual void setup(jlong);
+ virtual void copy(::gnu::java::awt::peer::gtk::CairoGraphics2D *, jlong);
+ virtual void finalize();
+ virtual void dispose();
+public: // actually protected
+ virtual jlong init(jlong);
+public:
+ virtual ::java::awt::Graphics * create() = 0;
+ virtual ::java::awt::GraphicsConfiguration * getDeviceConfiguration() = 0;
+public: // actually protected
+ virtual void copyAreaImpl(jint, jint, jint, jint, jint, jint) = 0;
+ virtual ::java::awt::geom::Rectangle2D * getRealBounds() = 0;
+public:
+ virtual void disposeNative(jlong);
+public: // actually protected
+ virtual void drawPixels(jlong, JArray< jint > *, jint, jint, jint, JArray< jdouble > *, jdouble, jint);
+ virtual void setGradient(jlong, jdouble, jdouble, jdouble, jdouble, jint, jint, jint, jint, jint, jint, jint, jint, jboolean);
+ virtual void setPaintPixels(jlong, JArray< jint > *, jint, jint, jint, jboolean, jint, jint);
+ virtual void cairoSetMatrix(jlong, JArray< jdouble > *);
+ virtual void cairoScale(jlong, jdouble, jdouble);
+ virtual void cairoSetOperator(jlong, jint);
+ virtual void cairoSetRGBAColor(jlong, jdouble, jdouble, jdouble, jdouble);
+ virtual void cairoSetFillRule(jlong, jint);
+ virtual void cairoSetLine(jlong, jdouble, jint, jint, jdouble);
+ virtual void cairoSetDash(jlong, JArray< jdouble > *, jint, jdouble);
+ virtual void cairoDrawGlyphVector(jlong, ::gnu::java::awt::peer::gtk::GdkFontPeer *, jfloat, jfloat, jint, JArray< jint > *, JArray< jfloat > *, JArray< jlong > *);
+ virtual void cairoSetFont(jlong, ::gnu::java::awt::peer::gtk::GdkFontPeer *);
+ virtual void cairoRectangle(jlong, jdouble, jdouble, jdouble, jdouble);
+ virtual void cairoArc(jlong, jdouble, jdouble, jdouble, jdouble, jdouble);
+ virtual void cairoSave(jlong);
+ virtual void cairoRestore(jlong);
+ virtual void cairoNewPath(jlong);
+ virtual void cairoClosePath(jlong);
+ virtual void cairoMoveTo(jlong, jdouble, jdouble);
+ virtual void cairoLineTo(jlong, jdouble, jdouble);
+ virtual void cairoCurveTo(jlong, jdouble, jdouble, jdouble, jdouble, jdouble, jdouble);
+ virtual void cairoStroke(jlong);
+ virtual void cairoFill(jlong, jdouble);
+ virtual void cairoClip(jlong);
+ virtual void cairoResetClip(jlong);
+ virtual void cairoSetAntialias(jlong, jboolean);
+public:
+ virtual void setTransform(::java::awt::geom::AffineTransform *);
+private:
+ void setTransformImpl(::java::awt::geom::AffineTransform *);
+public:
+ virtual void transform(::java::awt::geom::AffineTransform *);
+ virtual void rotate(jdouble);
+ virtual void rotate(jdouble, jdouble, jdouble);
+ virtual void scale(jdouble, jdouble);
+ virtual void translate(jdouble, jdouble);
+ virtual void translate(jint, jint);
+ virtual void shear(jdouble, jdouble);
+ virtual void clip(::java::awt::Shape *);
+ virtual ::java::awt::Paint * getPaint();
+ virtual ::java::awt::geom::AffineTransform * getTransform();
+ virtual void setPaint(::java::awt::Paint *);
+public: // actually protected
+ virtual void setCustomPaint(::java::awt::Rectangle *);
+public:
+ virtual ::java::awt::Stroke * getStroke();
+ virtual void setStroke(::java::awt::Stroke *);
+public: // actually protected
+ virtual ::java::awt::Rectangle * findStrokedBounds(::java::awt::Shape *);
+public:
+ virtual void setPaintMode();
+ virtual void setXORMode(::java::awt::Color *);
+ virtual void setColor(::java::awt::Color *);
+public: // actually package-private
+ virtual void updateColor();
+public:
+ virtual ::java::awt::Color * getColor();
+ virtual void clipRect(jint, jint, jint, jint);
+ virtual ::java::awt::Shape * getClip();
+ virtual ::java::awt::Rectangle * getClipBounds();
+public: // actually protected
+ virtual ::java::awt::geom::Rectangle2D * getClipInDevSpace();
+public:
+ virtual void setClip(jint, jint, jint, jint);
+ virtual void setClip(::java::awt::Shape *);
+ virtual void setBackground(::java::awt::Color *);
+ virtual ::java::awt::Color * getBackground();
+ virtual ::java::awt::Composite * getComposite();
+ virtual void setComposite(::java::awt::Composite *);
+public: // actually protected
+ virtual ::java::awt::image::ColorModel * getNativeCM() = 0;
+ virtual ::java::awt::image::ColorModel * getBufferCM();
+public:
+ virtual void draw(::java::awt::Shape *);
+ virtual void fill(::java::awt::Shape *);
+private:
+ void createPath(::java::awt::Shape *, jboolean);
+public:
+ virtual void clearRect(jint, jint, jint, jint);
+ virtual void draw3DRect(jint, jint, jint, jint, jboolean);
+ virtual void drawArc(jint, jint, jint, jint, jint, jint);
+ virtual void drawLine(jint, jint, jint, jint);
+ virtual void drawRect(jint, jint, jint, jint);
+ virtual void fillArc(jint, jint, jint, jint, jint, jint);
+ virtual void fillRect(jint, jint, jint, jint);
+ virtual void fillPolygon(JArray< jint > *, JArray< jint > *, jint);
+ virtual void drawPolygon(JArray< jint > *, JArray< jint > *, jint);
+ virtual void drawPolyline(JArray< jint > *, JArray< jint > *, jint);
+ virtual void drawOval(jint, jint, jint, jint);
+ virtual void drawRoundRect(jint, jint, jint, jint, jint, jint);
+ virtual void fillOval(jint, jint, jint, jint);
+ virtual void fillRoundRect(jint, jint, jint, jint, jint, jint);
+ virtual void copyArea(jint, jint, jint, jint, jint, jint);
+ virtual void setRenderingHint(::java::awt::RenderingHints$Key *, ::java::lang::Object *);
+ virtual ::java::lang::Object * getRenderingHint(::java::awt::RenderingHints$Key *);
+ virtual void setRenderingHints(::java::util::Map *);
+ virtual void addRenderingHints(::java::util::Map *);
+ virtual ::java::awt::RenderingHints * getRenderingHints();
+private:
+ jint getInterpolation();
+ void setAntialias(jboolean);
+public: // actually protected
+ virtual jboolean drawImage(::java::awt::Image *, ::java::awt::geom::AffineTransform *, ::java::awt::Color *, ::java::awt::image::ImageObserver *);
+public:
+ virtual void drawRenderedImage(::java::awt::image::RenderedImage *, ::java::awt::geom::AffineTransform *);
+ virtual void drawRenderableImage(::java::awt::image::renderable::RenderableImage *, ::java::awt::geom::AffineTransform *);
+ virtual jboolean drawImage(::java::awt::Image *, ::java::awt::geom::AffineTransform *, ::java::awt::image::ImageObserver *);
+ virtual void drawImage(::java::awt::image::BufferedImage *, ::java::awt::image::BufferedImageOp *, jint, jint);
+ virtual jboolean drawImage(::java::awt::Image *, jint, jint, ::java::awt::image::ImageObserver *);
+ virtual jboolean drawImage(::java::awt::Image *, jint, jint, ::java::awt::Color *, ::java::awt::image::ImageObserver *);
+ virtual jboolean drawImage(::java::awt::Image *, jint, jint, jint, jint, ::java::awt::Color *, ::java::awt::image::ImageObserver *);
+ virtual jboolean drawImage(::java::awt::Image *, jint, jint, jint, jint, ::java::awt::image::ImageObserver *);
+ virtual jboolean drawImage(::java::awt::Image *, jint, jint, jint, jint, jint, jint, jint, jint, ::java::awt::Color *, ::java::awt::image::ImageObserver *);
+ virtual jboolean drawImage(::java::awt::Image *, jint, jint, jint, jint, jint, jint, jint, jint, ::java::awt::image::ImageObserver *);
+public: // actually protected
+ virtual void drawCairoSurface(::gnu::java::awt::peer::gtk::CairoSurface *, ::java::awt::geom::AffineTransform *, jdouble, jint);
+public:
+ virtual void drawString(::java::lang::String *, jfloat, jfloat);
+ virtual void drawString(::java::lang::String *, jint, jint);
+ virtual void drawString(::java::text::AttributedCharacterIterator *, jint, jint);
+ virtual void drawGlyphVector(::java::awt::font::GlyphVector *, jfloat, jfloat);
+ virtual void drawString(::java::text::AttributedCharacterIterator *, jfloat, jfloat);
+ virtual ::java::awt::font::FontRenderContext * getFontRenderContext();
+ virtual ::java::awt::FontMetrics * getFontMetrics();
+ virtual ::java::awt::FontMetrics * getFontMetrics(::java::awt::Font *);
+ virtual void setFont(::java::awt::Font *);
+ virtual ::java::awt::Font * getFont();
+ virtual jboolean hit(::java::awt::Rectangle *, ::java::awt::Shape *, jboolean);
+ virtual ::java::lang::String * toString();
+private:
+ jboolean drawRaster(::java::awt::image::ColorModel *, ::java::awt::image::Raster *, ::java::awt::geom::AffineTransform *, ::java::awt::Color *);
+ jdouble shiftX(jdouble, jboolean);
+ jdouble shiftY(jdouble, jboolean);
+ void walkPath(::java::awt::geom::PathIterator *, jboolean);
+ ::java::util::Map * getDefaultHints();
+public:
+ static JArray< jint > * findSimpleIntegerArray(::java::awt::image::ColorModel *, ::java::awt::image::Raster *);
+private:
+ void updateClip(::java::awt::geom::AffineTransform *);
+ static ::java::awt::Rectangle * computeIntersection(jint, jint, jint, jint, ::java::awt::Rectangle *);
+public: // actually package-private
+ static ::java::awt::geom::Rectangle2D * getTransformedBounds(::java::awt::geom::Rectangle2D *, ::java::awt::geom::AffineTransform *);
+ jlong __attribute__((aligned(__alignof__( ::java::awt::Graphics2D)))) nativePointer;
+ ::java::awt::Paint * paint;
+ jboolean customPaint;
+ ::java::awt::Stroke * stroke;
+ ::java::awt::Color * fg;
+ ::java::awt::Color * bg;
+ ::java::awt::Shape * clip__;
+ ::java::awt::geom::AffineTransform * transform__;
+ ::java::awt::Font * font;
+ ::java::awt::Composite * comp;
+ ::java::awt::CompositeContext * compCtx;
+private:
+ ::java::awt::RenderingHints * hints;
+ jboolean antialias;
+ jboolean ignoreAA;
+public: // actually protected
+ jboolean shiftDrawCalls;
+private:
+ jboolean firstClip;
+ ::java::awt::Shape * originalClip;
+ static ::java::awt::BasicStroke * draw3DRectStroke;
+public: // actually package-private
+ static ::java::awt::image::ColorModel * rgb32;
+ static ::java::awt::image::ColorModel * argb32;
+public:
+ static const jint INTERPOLATION_NEAREST = 0;
+ static const jint INTERPOLATION_BILINEAR = 1;
+ static const jint INTERPOLATION_BICUBIC = 5;
+ static const jint ALPHA_INTERPOLATION_SPEED = 2;
+ static const jint ALPHA_INTERPOLATION_QUALITY = 3;
+ static const jint ALPHA_INTERPOLATION_DEFAULT = 4;
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_java_awt_peer_gtk_CairoGraphics2D__
diff --git a/libjava/gnu/java/awt/peer/gtk/CairoSurface.h b/libjava/gnu/java/awt/peer/gtk/CairoSurface.h
new file mode 100644
index 000000000..7e34ee923
--- /dev/null
+++ b/libjava/gnu/java/awt/peer/gtk/CairoSurface.h
@@ -0,0 +1,108 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_java_awt_peer_gtk_CairoSurface__
+#define __gnu_java_awt_peer_gtk_CairoSurface__
+
+#pragma interface
+
+#include <java/awt/image/WritableRaster.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace java
+ {
+ namespace awt
+ {
+ namespace peer
+ {
+ namespace gtk
+ {
+ class CairoSurface;
+ class GtkImage;
+ }
+ }
+ }
+ }
+ }
+ namespace java
+ {
+ namespace awt
+ {
+ class Graphics2D;
+ class Point;
+ class Rectangle;
+ namespace image
+ {
+ class BufferedImage;
+ class ColorModel;
+ class Raster;
+ class SampleModel;
+ class WritableRaster;
+ }
+ }
+ }
+}
+
+class gnu::java::awt::peer::gtk::CairoSurface : public ::java::awt::image::WritableRaster
+{
+
+ void create(jint, jint, jint, JArray< jint > *);
+ void destroy(jlong, JArray< jint > *);
+public:
+ virtual void nativeDrawSurface(jlong, jlong, JArray< jdouble > *, jdouble, jint);
+public: // actually package-private
+ virtual void syncNativeToJava(jlong, JArray< jint > *);
+ virtual void syncJavaToNative(jlong, JArray< jint > *);
+ virtual jlong getFlippedBuffer(jlong);
+public:
+ CairoSurface(jint, jint);
+ CairoSurface(jint, jint, jint, jint);
+ CairoSurface(::java::awt::image::SampleModel *, ::gnu::java::awt::peer::gtk::CairoSurface *, ::java::awt::Rectangle *, ::java::awt::Point *);
+public: // actually package-private
+ CairoSurface(::gnu::java::awt::peer::gtk::GtkImage *);
+public:
+ virtual void dispose();
+public: // actually protected
+ virtual void finalize();
+public:
+ virtual ::gnu::java::awt::peer::gtk::GtkImage * getGtkImage();
+ virtual JArray< jint > * getData();
+ static ::java::awt::image::BufferedImage * getBufferedImage(jint, jint);
+ static ::java::awt::image::BufferedImage * getBufferedImage(::gnu::java::awt::peer::gtk::GtkImage *);
+ static ::java::awt::image::BufferedImage * getBufferedImage(::gnu::java::awt::peer::gtk::CairoSurface *);
+ virtual ::java::awt::Graphics2D * getGraphics();
+public: // actually package-private
+ virtual jlong nativeNewCairoContext(jlong);
+public:
+ virtual jlong newCairoContext();
+ virtual void copyAreaNative(jint, jint, jint, jint, jint, jint, jint);
+public: // actually package-private
+ virtual void copyAreaNative2(jlong, jint, jint, jint, jint, jint, jint, jint);
+public: // actually protected
+ static ::java::awt::image::SampleModel * createCairoSampleModel(jint, jint);
+public:
+ static jboolean isCompatibleColorModel(::java::awt::image::ColorModel *);
+ static jboolean isCompatibleSampleModel(::java::awt::image::SampleModel *);
+ virtual ::java::awt::image::Raster * createChild(jint, jint, jint, jint, jint, jint, JArray< jint > *);
+ virtual ::java::awt::image::WritableRaster * createCompatibleWritableRaster();
+ virtual ::java::awt::image::WritableRaster * createCompatibleWritableRaster(jint, jint, jint, jint);
+ virtual ::java::awt::image::Raster * createTranslatedChild(jint, jint);
+ virtual ::java::awt::image::WritableRaster * createWritableChild(jint, jint, jint, jint, jint, jint, JArray< jint > *);
+ virtual ::java::awt::image::WritableRaster * createWritableTranslatedChild(jint, jint);
+public: // actually package-private
+ jint __attribute__((aligned(__alignof__( ::java::awt::image::WritableRaster)))) width;
+ jint height;
+ jlong surfacePointer;
+ jboolean sharedBuffer;
+ static ::java::awt::image::ColorModel * cairoColorModel;
+ static ::java::awt::image::ColorModel * cairoCM_pre;
+ static ::java::awt::image::ColorModel * cairoCM_opaque;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_java_awt_peer_gtk_CairoSurface__
diff --git a/libjava/gnu/java/awt/peer/gtk/CairoSurfaceGraphics.h b/libjava/gnu/java/awt/peer/gtk/CairoSurfaceGraphics.h
new file mode 100644
index 000000000..938da7be0
--- /dev/null
+++ b/libjava/gnu/java/awt/peer/gtk/CairoSurfaceGraphics.h
@@ -0,0 +1,93 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_java_awt_peer_gtk_CairoSurfaceGraphics__
+#define __gnu_java_awt_peer_gtk_CairoSurfaceGraphics__
+
+#pragma interface
+
+#include <gnu/java/awt/peer/gtk/CairoGraphics2D.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace java
+ {
+ namespace awt
+ {
+ namespace peer
+ {
+ namespace gtk
+ {
+ class CairoSurface;
+ class CairoSurfaceGraphics;
+ }
+ }
+ }
+ }
+ }
+ namespace java
+ {
+ namespace awt
+ {
+ class Color;
+ class Graphics;
+ class GraphicsConfiguration;
+ class Image;
+ class Shape;
+ namespace font
+ {
+ class GlyphVector;
+ }
+ namespace geom
+ {
+ class AffineTransform;
+ class Rectangle2D;
+ }
+ namespace image
+ {
+ class BufferedImage;
+ class ColorModel;
+ class ImageObserver;
+ class RenderedImage;
+ }
+ }
+ }
+}
+
+class gnu::java::awt::peer::gtk::CairoSurfaceGraphics : public ::gnu::java::awt::peer::gtk::CairoGraphics2D
+{
+
+public:
+ CairoSurfaceGraphics(::gnu::java::awt::peer::gtk::CairoSurface *);
+private:
+ CairoSurfaceGraphics(::gnu::java::awt::peer::gtk::CairoSurfaceGraphics *);
+public:
+ virtual ::java::awt::Graphics * create();
+ virtual ::java::awt::GraphicsConfiguration * getDeviceConfiguration();
+public: // actually protected
+ virtual ::java::awt::geom::Rectangle2D * getRealBounds();
+public:
+ virtual void copyAreaImpl(jint, jint, jint, jint, jint, jint);
+ virtual void draw(::java::awt::Shape *);
+ virtual void fill(::java::awt::Shape *);
+ virtual void drawRenderedImage(::java::awt::image::RenderedImage *, ::java::awt::geom::AffineTransform *);
+public: // actually protected
+ virtual jboolean drawImage(::java::awt::Image *, ::java::awt::geom::AffineTransform *, ::java::awt::Color *, ::java::awt::image::ImageObserver *);
+public:
+ virtual void drawGlyphVector(::java::awt::font::GlyphVector *, jfloat, jfloat);
+private:
+ jboolean drawComposite(::java::awt::geom::Rectangle2D *, ::java::awt::image::ImageObserver *);
+ void createBuffer();
+public: // actually protected
+ virtual ::java::awt::image::ColorModel * getNativeCM();
+ virtual ::java::awt::image::ColorModel * getBufferCM();
+ ::gnu::java::awt::peer::gtk::CairoSurface * __attribute__((aligned(__alignof__( ::gnu::java::awt::peer::gtk::CairoGraphics2D)))) surface;
+private:
+ ::java::awt::image::BufferedImage * buffer;
+ jlong cairo_t;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_java_awt_peer_gtk_CairoSurfaceGraphics__
diff --git a/libjava/gnu/java/awt/peer/gtk/ComponentGraphics.h b/libjava/gnu/java/awt/peer/gtk/ComponentGraphics.h
new file mode 100644
index 000000000..a9b70e73b
--- /dev/null
+++ b/libjava/gnu/java/awt/peer/gtk/ComponentGraphics.h
@@ -0,0 +1,152 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_java_awt_peer_gtk_ComponentGraphics__
+#define __gnu_java_awt_peer_gtk_ComponentGraphics__
+
+#pragma interface
+
+#include <gnu/java/awt/peer/gtk/CairoGraphics2D.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace classpath
+ {
+ class Pointer;
+ }
+ namespace java
+ {
+ namespace awt
+ {
+ namespace peer
+ {
+ namespace gtk
+ {
+ class CairoSurface;
+ class ComponentGraphics;
+ class GtkComponentPeer;
+ class GtkImage;
+ }
+ }
+ }
+ }
+ }
+ namespace java
+ {
+ namespace awt
+ {
+ class Color;
+ class Graphics;
+ class Graphics2D;
+ class GraphicsConfiguration;
+ class Image;
+ class Shape;
+ namespace font
+ {
+ class GlyphVector;
+ }
+ namespace geom
+ {
+ class AffineTransform;
+ class Rectangle2D;
+ }
+ namespace image
+ {
+ class BufferedImage;
+ class ColorModel;
+ class ImageObserver;
+ class RenderedImage;
+ }
+ }
+ }
+}
+
+class gnu::java::awt::peer::gtk::ComponentGraphics : public ::gnu::java::awt::peer::gtk::CairoGraphics2D
+{
+
+public: // actually package-private
+ ComponentGraphics();
+private:
+ ComponentGraphics(::gnu::java::awt::peer::gtk::GtkComponentPeer *);
+ ComponentGraphics(::gnu::java::awt::peer::gtk::ComponentGraphics *);
+ jlong initState(::gnu::java::awt::peer::gtk::GtkComponentPeer *);
+ void lock();
+ void unlock();
+public: // actually protected
+ virtual jlong initFromVolatile(jlong);
+private:
+ void start_gdk_drawing();
+ void end_gdk_drawing();
+public:
+ static jboolean hasXRender();
+private:
+ static ::gnu::classpath::Pointer * nativeGrab(::gnu::java::awt::peer::gtk::GtkComponentPeer *);
+ void copyAreaNative(::gnu::java::awt::peer::gtk::GtkComponentPeer *, jint, jint, jint, jint, jint, jint);
+ void drawVolatile(::gnu::java::awt::peer::gtk::GtkComponentPeer *, jlong, jint, jint, jint, jint, jint, jint, jint, jint);
+public:
+ static ::gnu::java::awt::peer::gtk::GtkImage * grab(::gnu::java::awt::peer::gtk::GtkComponentPeer *);
+ static ::java::awt::Graphics2D * getComponentGraphics(::gnu::java::awt::peer::gtk::GtkComponentPeer *);
+ virtual ::java::awt::GraphicsConfiguration * getDeviceConfiguration();
+ virtual ::java::awt::Graphics * create();
+public: // actually protected
+ virtual ::java::awt::geom::Rectangle2D * getRealBounds();
+public:
+ virtual void copyAreaImpl(jint, jint, jint, jint, jint, jint);
+ virtual void draw(::java::awt::Shape *);
+ virtual void fill(::java::awt::Shape *);
+ virtual void drawRenderedImage(::java::awt::image::RenderedImage *, ::java::awt::geom::AffineTransform *);
+public: // actually protected
+ virtual jboolean drawImage(::java::awt::Image *, ::java::awt::geom::AffineTransform *, ::java::awt::Color *, ::java::awt::image::ImageObserver *);
+public:
+ virtual void drawGlyphVector(::java::awt::font::GlyphVector *, jfloat, jfloat);
+ virtual jboolean drawImage(::java::awt::Image *, jint, jint, ::java::awt::image::ImageObserver *);
+ virtual jboolean drawImage(::java::awt::Image *, jint, jint, jint, jint, ::java::awt::image::ImageObserver *);
+private:
+ jboolean drawComposite(::java::awt::geom::Rectangle2D *, ::java::awt::image::ImageObserver *);
+ void createBuffer();
+public: // actually protected
+ virtual ::java::awt::image::ColorModel * getNativeCM();
+ virtual jlong init(jlong);
+ virtual void drawPixels(jlong, JArray< jint > *, jint, jint, jint, JArray< jdouble > *, jdouble, jint);
+ virtual void setGradient(jlong, jdouble, jdouble, jdouble, jdouble, jint, jint, jint, jint, jint, jint, jint, jint, jboolean);
+ virtual void setPaintPixels(jlong, JArray< jint > *, jint, jint, jint, jboolean, jint, jint);
+ virtual void cairoSetMatrix(jlong, JArray< jdouble > *);
+ virtual void cairoScale(jlong, jdouble, jdouble);
+ virtual void cairoSetOperator(jlong, jint);
+ virtual void cairoSetRGBAColor(jlong, jdouble, jdouble, jdouble, jdouble);
+ virtual void cairoSetFillRule(jlong, jint);
+ virtual void cairoSetLine(jlong, jdouble, jint, jint, jdouble);
+ virtual void cairoSetDash(jlong, JArray< jdouble > *, jint, jdouble);
+ virtual void cairoRectangle(jlong, jdouble, jdouble, jdouble, jdouble);
+ virtual void cairoArc(jlong, jdouble, jdouble, jdouble, jdouble, jdouble);
+ virtual void cairoSave(jlong);
+ virtual void cairoRestore(jlong);
+ virtual void cairoNewPath(jlong);
+ virtual void cairoClosePath(jlong);
+ virtual void cairoMoveTo(jlong, jdouble, jdouble);
+ virtual void cairoLineTo(jlong, jdouble, jdouble);
+ virtual void cairoCurveTo(jlong, jdouble, jdouble, jdouble, jdouble, jdouble, jdouble);
+ virtual void cairoStroke(jlong);
+ virtual void cairoFill(jlong, jdouble);
+ virtual void cairoClip(jlong);
+ virtual void cairoResetClip(jlong);
+ virtual void cairoSetAntialias(jlong, jboolean);
+ virtual void drawCairoSurface(::gnu::java::awt::peer::gtk::CairoSurface *, ::java::awt::geom::AffineTransform *, jdouble, jint);
+private:
+ static jboolean hasXRenderExtension;
+ ::gnu::java::awt::peer::gtk::GtkComponentPeer * __attribute__((aligned(__alignof__( ::gnu::java::awt::peer::gtk::CairoGraphics2D)))) component;
+public: // actually protected
+ jlong cairo_t;
+private:
+ ::java::awt::image::BufferedImage * buffer;
+ ::java::awt::image::BufferedImage * componentBuffer;
+ static ::java::lang::ThreadLocal * hasLock;
+ static ::java::lang::Integer * ONE;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_java_awt_peer_gtk_ComponentGraphics__
diff --git a/libjava/gnu/java/awt/peer/gtk/ComponentGraphicsCopy.h b/libjava/gnu/java/awt/peer/gtk/ComponentGraphicsCopy.h
new file mode 100644
index 000000000..7ba10f86f
--- /dev/null
+++ b/libjava/gnu/java/awt/peer/gtk/ComponentGraphicsCopy.h
@@ -0,0 +1,78 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_java_awt_peer_gtk_ComponentGraphicsCopy__
+#define __gnu_java_awt_peer_gtk_ComponentGraphicsCopy__
+
+#pragma interface
+
+#include <gnu/java/awt/peer/gtk/CairoSurfaceGraphics.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace java
+ {
+ namespace awt
+ {
+ namespace peer
+ {
+ namespace gtk
+ {
+ class ComponentGraphicsCopy;
+ class GtkComponentPeer;
+ class GtkImage;
+ }
+ }
+ }
+ }
+ }
+ namespace java
+ {
+ namespace awt
+ {
+ class Color;
+ class Image;
+ class Shape;
+ namespace font
+ {
+ class GlyphVector;
+ }
+ namespace geom
+ {
+ class AffineTransform;
+ }
+ namespace image
+ {
+ class ImageObserver;
+ class RenderedImage;
+ }
+ }
+ }
+}
+
+class gnu::java::awt::peer::gtk::ComponentGraphicsCopy : public ::gnu::java::awt::peer::gtk::CairoSurfaceGraphics
+{
+
+public: // actually package-private
+ virtual void getPixbuf(::gnu::java::awt::peer::gtk::GtkComponentPeer *, ::gnu::java::awt::peer::gtk::GtkImage *);
+ virtual void copyPixbuf(::gnu::java::awt::peer::gtk::GtkComponentPeer *, ::gnu::java::awt::peer::gtk::GtkImage *, jint, jint, jint, jint);
+public:
+ ComponentGraphicsCopy(jint, jint, ::gnu::java::awt::peer::gtk::GtkComponentPeer *);
+ virtual void draw(::java::awt::Shape *);
+ virtual void fill(::java::awt::Shape *);
+ virtual void drawRenderedImage(::java::awt::image::RenderedImage *, ::java::awt::geom::AffineTransform *);
+public: // actually protected
+ virtual jboolean drawImage(::java::awt::Image *, ::java::awt::geom::AffineTransform *, ::java::awt::Color *, ::java::awt::image::ImageObserver *);
+public:
+ virtual void drawGlyphVector(::java::awt::font::GlyphVector *, jfloat, jfloat);
+private:
+ ::gnu::java::awt::peer::gtk::GtkComponentPeer * __attribute__((aligned(__alignof__( ::gnu::java::awt::peer::gtk::CairoSurfaceGraphics)))) component;
+ ::gnu::java::awt::peer::gtk::GtkImage * gtkimage;
+ jint width;
+ jint height;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_java_awt_peer_gtk_ComponentGraphicsCopy__
diff --git a/libjava/gnu/java/awt/peer/gtk/FreetypeGlyphVector.h b/libjava/gnu/java/awt/peer/gtk/FreetypeGlyphVector.h
new file mode 100644
index 000000000..3f7a62944
--- /dev/null
+++ b/libjava/gnu/java/awt/peer/gtk/FreetypeGlyphVector.h
@@ -0,0 +1,122 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_java_awt_peer_gtk_FreetypeGlyphVector__
+#define __gnu_java_awt_peer_gtk_FreetypeGlyphVector__
+
+#pragma interface
+
+#include <java/awt/font/GlyphVector.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace java
+ {
+ namespace awt
+ {
+ namespace peer
+ {
+ namespace gtk
+ {
+ class FreetypeGlyphVector;
+ class GdkFontPeer;
+ }
+ }
+ }
+ }
+ }
+ namespace java
+ {
+ namespace awt
+ {
+ class Font;
+ class Shape;
+ namespace font
+ {
+ class FontRenderContext;
+ class GlyphJustificationInfo;
+ class GlyphMetrics;
+ class GlyphVector;
+ }
+ namespace geom
+ {
+ class AffineTransform;
+ class GeneralPath;
+ class Point2D;
+ class Rectangle2D;
+ }
+ }
+ }
+}
+
+class gnu::java::awt::peer::gtk::FreetypeGlyphVector : public ::java::awt::font::GlyphVector
+{
+
+ void dispose(JArray< jlong > *);
+ jlong getNativeFontPointer(jint);
+public:
+ FreetypeGlyphVector(::java::awt::Font *, ::java::lang::String *, ::java::awt::font::FontRenderContext *);
+ FreetypeGlyphVector(::java::awt::Font *, JArray< jchar > *, jint, jint, ::java::awt::font::FontRenderContext *, jint);
+ FreetypeGlyphVector(::java::awt::Font *, JArray< jint > *, ::java::awt::font::FontRenderContext *);
+private:
+ FreetypeGlyphVector(::gnu::java::awt::peer::gtk::FreetypeGlyphVector *);
+public:
+ virtual void finalize();
+private:
+ void getGlyphs();
+public:
+ virtual void getGlyphs(JArray< jint > *, JArray< jint > *, JArray< jlong > *);
+private:
+ void getKerning(jint, jint, jlong, JArray< jfloat > *);
+ JArray< jdouble > * getMetricsNative(jint, jlong);
+ ::java::awt::geom::GeneralPath * getGlyphOutlineNative(jint, jlong);
+public:
+ virtual ::java::lang::Object * clone();
+ virtual jboolean equals(::java::awt::font::GlyphVector *);
+ virtual ::java::awt::Font * getFont();
+ virtual ::java::awt::font::FontRenderContext * getFontRenderContext();
+ virtual void performDefaultLayout();
+ virtual jint getGlyphCode(jint);
+ virtual JArray< jint > * getGlyphCodes(jint, jint, JArray< jint > *);
+public: // actually protected
+ virtual JArray< jlong > * getGlyphFonts(jint, jint, JArray< jlong > *);
+public:
+ virtual ::java::awt::Shape * getGlyphLogicalBounds(jint);
+ virtual void setupGlyphMetrics();
+ virtual ::java::awt::font::GlyphMetrics * getGlyphMetrics(jint);
+ virtual ::java::awt::Shape * getGlyphOutline(jint);
+ virtual ::java::awt::geom::Point2D * getGlyphPosition(jint);
+ virtual JArray< jfloat > * getGlyphPositions(jint, jint, JArray< jfloat > *);
+ virtual ::java::awt::geom::AffineTransform * getGlyphTransform(jint);
+public: // actually protected
+ virtual jboolean hasTransforms();
+public:
+ virtual ::java::awt::Shape * getGlyphVisualBounds(jint);
+ virtual ::java::awt::geom::Rectangle2D * getLogicalBounds();
+ virtual jint getNumGlyphs();
+ virtual ::java::awt::Shape * getOutline();
+ virtual ::java::awt::font::GlyphJustificationInfo * getGlyphJustificationInfo(jint);
+ virtual ::java::awt::Shape * getOutline(jfloat, jfloat);
+ virtual ::java::awt::geom::Rectangle2D * getVisualBounds();
+ virtual void setGlyphPosition(jint, ::java::awt::geom::Point2D *);
+ virtual void setGlyphTransform(jint, ::java::awt::geom::AffineTransform *);
+private:
+ ::java::awt::Font * __attribute__((aligned(__alignof__( ::java::awt::font::GlyphVector)))) font;
+ ::gnu::java::awt::peer::gtk::GdkFontPeer * peer;
+ ::java::awt::geom::Rectangle2D * logicalBounds;
+ JArray< jfloat > * glyphPositions;
+ ::java::lang::String * s;
+ ::java::awt::font::FontRenderContext * frc;
+ jint nGlyphs;
+ JArray< jint > * glyphCodes;
+ JArray< jlong > * fontSet;
+ JArray< ::java::awt::geom::AffineTransform * > * glyphTransforms;
+ JArray< ::java::awt::font::GlyphMetrics * > * metricsCache;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_java_awt_peer_gtk_FreetypeGlyphVector__
diff --git a/libjava/gnu/java/awt/peer/gtk/GdkFontPeer$GdkFontLineMetrics.h b/libjava/gnu/java/awt/peer/gtk/GdkFontPeer$GdkFontLineMetrics.h
new file mode 100644
index 000000000..508a37d8d
--- /dev/null
+++ b/libjava/gnu/java/awt/peer/gtk/GdkFontPeer$GdkFontLineMetrics.h
@@ -0,0 +1,57 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_java_awt_peer_gtk_GdkFontPeer$GdkFontLineMetrics__
+#define __gnu_java_awt_peer_gtk_GdkFontPeer$GdkFontLineMetrics__
+
+#pragma interface
+
+#include <java/awt/font/LineMetrics.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace java
+ {
+ namespace awt
+ {
+ namespace peer
+ {
+ namespace gtk
+ {
+ class GdkFontPeer;
+ class GdkFontPeer$GdkFontLineMetrics;
+ }
+ }
+ }
+ }
+ }
+}
+
+class gnu::java::awt::peer::gtk::GdkFontPeer$GdkFontLineMetrics : public ::java::awt::font::LineMetrics
+{
+
+public:
+ GdkFontPeer$GdkFontLineMetrics(::gnu::java::awt::peer::gtk::GdkFontPeer *, ::gnu::java::awt::peer::gtk::GdkFontPeer *, jint);
+ virtual jfloat getAscent();
+ virtual jint getBaselineIndex();
+ virtual JArray< jfloat > * getBaselineOffsets();
+ virtual jfloat getDescent();
+ virtual jfloat getHeight();
+ virtual jfloat getLeading();
+ virtual jint getNumChars();
+ virtual jfloat getStrikethroughOffset();
+ virtual jfloat getStrikethroughThickness();
+ virtual jfloat getUnderlineOffset();
+ virtual jfloat getUnderlineThickness();
+private:
+ jint __attribute__((aligned(__alignof__( ::java::awt::font::LineMetrics)))) nchars;
+public: // actually package-private
+ ::gnu::java::awt::peer::gtk::GdkFontPeer * this$0;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_java_awt_peer_gtk_GdkFontPeer$GdkFontLineMetrics__
diff --git a/libjava/gnu/java/awt/peer/gtk/GdkFontPeer$GdkFontMetrics.h b/libjava/gnu/java/awt/peer/gtk/GdkFontPeer$GdkFontMetrics.h
new file mode 100644
index 000000000..0c9961ba3
--- /dev/null
+++ b/libjava/gnu/java/awt/peer/gtk/GdkFontPeer$GdkFontMetrics.h
@@ -0,0 +1,61 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_java_awt_peer_gtk_GdkFontPeer$GdkFontMetrics__
+#define __gnu_java_awt_peer_gtk_GdkFontPeer$GdkFontMetrics__
+
+#pragma interface
+
+#include <java/awt/FontMetrics.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace java
+ {
+ namespace awt
+ {
+ namespace peer
+ {
+ namespace gtk
+ {
+ class GdkFontPeer;
+ class GdkFontPeer$GdkFontMetrics;
+ }
+ }
+ }
+ }
+ }
+ namespace java
+ {
+ namespace awt
+ {
+ class Font;
+ }
+ }
+}
+
+class gnu::java::awt::peer::gtk::GdkFontPeer$GdkFontMetrics : public ::java::awt::FontMetrics
+{
+
+public:
+ GdkFontPeer$GdkFontMetrics(::gnu::java::awt::peer::gtk::GdkFontPeer *, ::java::awt::Font *);
+ virtual jint stringWidth(::java::lang::String *);
+ virtual jint charWidth(jchar);
+ virtual jint charsWidth(JArray< jchar > *, jint, jint);
+ virtual jint getHeight();
+ virtual jint getLeading();
+ virtual jint getAscent();
+ virtual jint getMaxAscent();
+ virtual jint getDescent();
+ virtual jint getMaxDescent();
+ virtual jint getMaxAdvance();
+public: // actually package-private
+ ::gnu::java::awt::peer::gtk::GdkFontPeer * __attribute__((aligned(__alignof__( ::java::awt::FontMetrics)))) this$0;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_java_awt_peer_gtk_GdkFontPeer$GdkFontMetrics__
diff --git a/libjava/gnu/java/awt/peer/gtk/GdkFontPeer.h b/libjava/gnu/java/awt/peer/gtk/GdkFontPeer.h
new file mode 100644
index 000000000..ebfdd2c96
--- /dev/null
+++ b/libjava/gnu/java/awt/peer/gtk/GdkFontPeer.h
@@ -0,0 +1,147 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_java_awt_peer_gtk_GdkFontPeer__
+#define __gnu_java_awt_peer_gtk_GdkFontPeer__
+
+#pragma interface
+
+#include <gnu/java/awt/peer/ClasspathFontPeer.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace classpath
+ {
+ class Pointer;
+ }
+ namespace java
+ {
+ namespace awt
+ {
+ namespace peer
+ {
+ namespace gtk
+ {
+ class GdkFontPeer;
+ class GdkFontPeer$GdkFontMetrics;
+ }
+ }
+ }
+ }
+ }
+ namespace java
+ {
+ namespace awt
+ {
+ class Font;
+ class FontMetrics;
+ namespace font
+ {
+ class FontRenderContext;
+ class GlyphMetrics;
+ class GlyphVector;
+ class LineMetrics;
+ }
+ namespace geom
+ {
+ class Rectangle2D;
+ }
+ }
+ namespace nio
+ {
+ class ByteBuffer;
+ }
+ namespace text
+ {
+ class CharacterIterator;
+ }
+ }
+}
+
+class gnu::java::awt::peer::gtk::GdkFontPeer : public ::gnu::java::awt::peer::ClasspathFontPeer
+{
+
+public: // actually package-private
+ static void initStaticState();
+private:
+ void initState();
+ void dispose();
+ void setFont(::java::lang::String *, jint, jint);
+public: // actually package-private
+ virtual void getFontMetrics(JArray< jdouble > *);
+ virtual void getTextMetrics(::java::lang::String *, JArray< jdouble > *);
+ virtual void releasePeerGraphicsResource();
+public: // actually protected
+ virtual void finalize();
+private:
+ ::java::lang::String * buildString(::java::text::CharacterIterator *);
+ ::java::lang::String * buildString(::java::text::CharacterIterator *, jint, jint);
+ ::java::lang::String * buildString(JArray< jchar > *, jint, jint);
+public:
+ GdkFontPeer(::java::lang::String *, jint);
+ GdkFontPeer(::java::lang::String *, jint, jint);
+ GdkFontPeer(::java::lang::String *, ::java::util::Map *);
+public: // actually package-private
+ static ::java::awt::Font * initFont(::java::awt::Font *);
+private:
+ void setupMetrics();
+public:
+ virtual ::java::lang::String * getSubFamilyName(::java::awt::Font *, ::java::util::Locale *);
+private:
+ JArray< jbyte > * getTrueTypeTable(jbyte, jbyte, jbyte, jbyte);
+public:
+ virtual ::java::lang::String * getPostScriptName(::java::awt::Font *);
+private:
+ ::java::lang::String * getName(jint, ::java::util::Locale *);
+public:
+ virtual jboolean canDisplay(::java::awt::Font *, jint);
+ virtual jint canDisplayUpTo(::java::awt::Font *, ::java::text::CharacterIterator *, jint, jint);
+ virtual ::java::awt::font::GlyphVector * createGlyphVector(::java::awt::Font *, ::java::awt::font::FontRenderContext *, ::java::text::CharacterIterator *);
+ virtual ::java::awt::font::GlyphVector * createGlyphVector(::java::awt::Font *, ::java::awt::font::FontRenderContext *, JArray< jint > *);
+ virtual jbyte getBaselineFor(::java::awt::Font *, jchar);
+ virtual ::java::awt::font::LineMetrics * getLineMetrics(::java::awt::Font *, ::java::text::CharacterIterator *, jint, jint, ::java::awt::font::FontRenderContext *);
+ virtual ::java::awt::geom::Rectangle2D * getMaxCharBounds(::java::awt::Font *, ::java::awt::font::FontRenderContext *);
+ virtual jint getMissingGlyphCode(::java::awt::Font *);
+ virtual ::java::lang::String * getGlyphName(::java::awt::Font *, jint);
+ virtual jint getNumGlyphs(::java::awt::Font *);
+ virtual jboolean hasUniformLineMetrics(::java::awt::Font *);
+ virtual ::java::awt::font::GlyphVector * layoutGlyphVector(::java::awt::Font *, ::java::awt::font::FontRenderContext *, JArray< jchar > *, jint, jint, jint);
+ virtual ::java::awt::font::LineMetrics * getLineMetrics(::java::awt::Font *, ::java::lang::String *, ::java::awt::font::FontRenderContext *);
+ virtual ::java::awt::FontMetrics * getFontMetrics(::java::awt::Font *);
+public: // actually package-private
+ virtual ::java::awt::font::GlyphMetrics * getGlyphMetrics(jint);
+ virtual void putGlyphMetrics(jint, ::java::awt::font::GlyphMetrics *);
+ static ::java::awt::font::FontRenderContext * DEFAULT_CTX;
+ ::java::util::HashMap * __attribute__((aligned(__alignof__( ::gnu::java::awt::peer::ClasspathFontPeer)))) textLayoutCache;
+private:
+ jint native_state;
+ ::java::util::HashMap * metricsCache;
+ static const jint FONT_METRICS_ASCENT = 0;
+ static const jint FONT_METRICS_MAX_ASCENT = 1;
+ static const jint FONT_METRICS_DESCENT = 2;
+ static const jint FONT_METRICS_MAX_DESCENT = 3;
+ static const jint FONT_METRICS_MAX_ADVANCE = 4;
+ static const jint FONT_METRICS_HEIGHT = 5;
+ static const jint FONT_METRICS_UNDERLINE_OFFSET = 6;
+ static const jint FONT_METRICS_UNDERLINE_THICKNESS = 7;
+public: // actually package-private
+ jfloat ascent;
+ jfloat descent;
+ jfloat maxAscent;
+ jfloat maxDescent;
+ jfloat maxAdvance;
+ jfloat height;
+ jfloat underlineOffset;
+ jfloat underlineThickness;
+ ::gnu::java::awt::peer::gtk::GdkFontPeer$GdkFontMetrics * metrics;
+private:
+ ::java::nio::ByteBuffer * nameTable;
+ ::gnu::classpath::Pointer * nativeFont;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_java_awt_peer_gtk_GdkFontPeer__
diff --git a/libjava/gnu/java/awt/peer/gtk/GdkGraphicsConfiguration.h b/libjava/gnu/java/awt/peer/gtk/GdkGraphicsConfiguration.h
new file mode 100644
index 000000000..d36580f0f
--- /dev/null
+++ b/libjava/gnu/java/awt/peer/gtk/GdkGraphicsConfiguration.h
@@ -0,0 +1,78 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_java_awt_peer_gtk_GdkGraphicsConfiguration__
+#define __gnu_java_awt_peer_gtk_GdkGraphicsConfiguration__
+
+#pragma interface
+
+#include <java/awt/GraphicsConfiguration.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace java
+ {
+ namespace awt
+ {
+ namespace peer
+ {
+ namespace gtk
+ {
+ class GdkGraphicsConfiguration;
+ class GdkScreenGraphicsDevice;
+ }
+ }
+ }
+ }
+ }
+ namespace java
+ {
+ namespace awt
+ {
+ class BufferCapabilities;
+ class GraphicsDevice;
+ class ImageCapabilities;
+ class Rectangle;
+ namespace geom
+ {
+ class AffineTransform;
+ }
+ namespace image
+ {
+ class BufferedImage;
+ class ColorModel;
+ class VolatileImage;
+ }
+ }
+ }
+}
+
+class gnu::java::awt::peer::gtk::GdkGraphicsConfiguration : public ::java::awt::GraphicsConfiguration
+{
+
+public:
+ GdkGraphicsConfiguration(::gnu::java::awt::peer::gtk::GdkScreenGraphicsDevice *);
+ virtual ::java::awt::GraphicsDevice * getDevice();
+ virtual ::java::awt::image::BufferedImage * createCompatibleImage(jint, jint);
+ virtual ::java::awt::image::BufferedImage * createCompatibleImage(jint, jint, jint);
+ virtual ::java::awt::image::VolatileImage * createCompatibleVolatileImage(jint, jint);
+ virtual ::java::awt::image::VolatileImage * createCompatibleVolatileImage(jint, jint, ::java::awt::ImageCapabilities *);
+ virtual ::java::awt::image::ColorModel * getColorModel();
+ virtual ::java::awt::image::ColorModel * getColorModel(jint);
+ virtual ::java::awt::geom::AffineTransform * getDefaultTransform();
+ virtual ::java::awt::geom::AffineTransform * getNormalizingTransform();
+ virtual ::java::awt::Rectangle * getBounds();
+ virtual ::java::awt::BufferCapabilities * getBufferCapabilities();
+ virtual ::java::awt::ImageCapabilities * getImageCapabilities();
+ virtual ::java::awt::image::VolatileImage * createCompatibleVolatileImage(jint, jint, jint);
+public: // actually package-private
+ ::gnu::java::awt::peer::gtk::GdkScreenGraphicsDevice * __attribute__((aligned(__alignof__( ::java::awt::GraphicsConfiguration)))) gdkScreenGraphicsDevice;
+ ::java::awt::image::ColorModel * opaqueColorModel;
+ ::java::awt::image::ColorModel * bitmaskColorModel;
+ ::java::awt::image::ColorModel * translucentColorModel;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_java_awt_peer_gtk_GdkGraphicsConfiguration__
diff --git a/libjava/gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.h b/libjava/gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.h
new file mode 100644
index 000000000..978c2ec50
--- /dev/null
+++ b/libjava/gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.h
@@ -0,0 +1,93 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_java_awt_peer_gtk_GdkGraphicsEnvironment__
+#define __gnu_java_awt_peer_gtk_GdkGraphicsEnvironment__
+
+#pragma interface
+
+#include <gnu/java/awt/ClasspathGraphicsEnvironment.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace classpath
+ {
+ class Pointer;
+ }
+ namespace java
+ {
+ namespace awt
+ {
+ namespace peer
+ {
+ namespace gtk
+ {
+ class GdkGraphicsEnvironment;
+ class GdkScreenGraphicsDevice;
+ class GtkWindowPeer;
+ }
+ }
+ }
+ }
+ }
+ namespace java
+ {
+ namespace awt
+ {
+ class Font;
+ class Graphics2D;
+ class GraphicsDevice;
+ namespace image
+ {
+ class BufferedImage;
+ class ColorModel;
+ class SampleModel;
+ class WritableRaster;
+ }
+ }
+ }
+}
+
+class gnu::java::awt::peer::gtk::GdkGraphicsEnvironment : public ::gnu::java::awt::ClasspathGraphicsEnvironment
+{
+
+ static void initIDs();
+public:
+ GdkGraphicsEnvironment();
+public: // actually package-private
+ virtual void nativeInitState();
+public:
+ virtual JArray< ::java::awt::GraphicsDevice * > * getScreenDevices();
+private:
+ JArray< ::gnu::java::awt::peer::gtk::GdkScreenGraphicsDevice * > * nativeGetScreenDevices();
+public:
+ virtual ::java::awt::GraphicsDevice * getDefaultScreenDevice();
+private:
+ ::gnu::java::awt::peer::gtk::GdkScreenGraphicsDevice * nativeGetDefaultScreenDevice();
+public:
+ virtual ::java::awt::Graphics2D * createGraphics(::java::awt::image::BufferedImage *);
+private:
+ jint nativeGetNumFontFamilies();
+ void nativeGetFontFamilies(JArray< ::java::lang::String * > *);
+public:
+ virtual JArray< ::java::awt::Font * > * getAllFonts();
+ virtual JArray< ::java::lang::String * > * getAvailableFontFamilyNames();
+ virtual JArray< ::java::lang::String * > * getAvailableFontFamilyNames(::java::util::Locale *);
+public: // actually package-private
+ virtual JArray< jint > * getMouseCoordinates();
+ virtual jboolean isWindowUnderMouse(::gnu::java::awt::peer::gtk::GtkWindowPeer *);
+public:
+ virtual ::java::awt::image::WritableRaster * createRaster(::java::awt::image::ColorModel *, ::java::awt::image::SampleModel *);
+private:
+ jint __attribute__((aligned(__alignof__( ::gnu::java::awt::ClasspathGraphicsEnvironment)))) native_state;
+ ::gnu::java::awt::peer::gtk::GdkScreenGraphicsDevice * defaultDevice;
+ JArray< ::gnu::java::awt::peer::gtk::GdkScreenGraphicsDevice * > * devices;
+ ::gnu::classpath::Pointer * display;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_java_awt_peer_gtk_GdkGraphicsEnvironment__
diff --git a/libjava/gnu/java/awt/peer/gtk/GdkPixbufDecoder$GdkPixbufReader.h b/libjava/gnu/java/awt/peer/gtk/GdkPixbufDecoder$GdkPixbufReader.h
new file mode 100644
index 000000000..197639f33
--- /dev/null
+++ b/libjava/gnu/java/awt/peer/gtk/GdkPixbufDecoder$GdkPixbufReader.h
@@ -0,0 +1,89 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_java_awt_peer_gtk_GdkPixbufDecoder$GdkPixbufReader__
+#define __gnu_java_awt_peer_gtk_GdkPixbufDecoder$GdkPixbufReader__
+
+#pragma interface
+
+#include <javax/imageio/ImageReader.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace java
+ {
+ namespace awt
+ {
+ namespace peer
+ {
+ namespace gtk
+ {
+ class GdkPixbufDecoder;
+ class GdkPixbufDecoder$GdkPixbufReader;
+ class GdkPixbufDecoder$GdkPixbufReaderSpi;
+ }
+ }
+ }
+ }
+ }
+ namespace java
+ {
+ namespace awt
+ {
+ namespace image
+ {
+ class BufferedImage;
+ class ColorModel;
+ }
+ }
+ }
+ namespace javax
+ {
+ namespace imageio
+ {
+ class ImageReadParam;
+ namespace metadata
+ {
+ class IIOMetadata;
+ }
+ }
+ }
+}
+
+class gnu::java::awt::peer::gtk::GdkPixbufDecoder$GdkPixbufReader : public ::javax::imageio::ImageReader
+{
+
+public:
+ GdkPixbufDecoder$GdkPixbufReader(::gnu::java::awt::peer::gtk::GdkPixbufDecoder$GdkPixbufReaderSpi *, ::java::lang::Object *);
+ GdkPixbufDecoder$GdkPixbufReader(::gnu::java::awt::peer::gtk::GdkPixbufDecoder$GdkPixbufReaderSpi *, ::java::lang::Object *, ::gnu::java::awt::peer::gtk::GdkPixbufDecoder *);
+ virtual void setDimensions(jint, jint);
+ virtual void setProperties(::java::util::Hashtable *);
+ virtual void setColorModel(::java::awt::image::ColorModel *);
+ virtual void setHints(jint);
+ virtual void setPixels(jint, jint, jint, jint, ::java::awt::image::ColorModel *, JArray< jbyte > *, jint, jint);
+ virtual void setPixels(jint, jint, jint, jint, ::java::awt::image::ColorModel *, JArray< jint > *, jint, jint);
+ virtual void imageComplete(jint);
+ virtual ::java::awt::image::BufferedImage * getBufferedImage();
+ virtual jint getNumImages(jboolean);
+ virtual ::javax::imageio::metadata::IIOMetadata * getImageMetadata(jint);
+ virtual ::javax::imageio::metadata::IIOMetadata * getStreamMetadata();
+ virtual ::java::util::Iterator * getImageTypes(jint);
+ virtual jint getHeight(jint);
+ virtual jint getWidth(jint);
+ virtual void setInput(::java::lang::Object *, jboolean, jboolean);
+ virtual ::java::awt::image::BufferedImage * read(jint, ::javax::imageio::ImageReadParam *);
+public: // actually package-private
+ ::gnu::java::awt::peer::gtk::GdkPixbufDecoder * __attribute__((aligned(__alignof__( ::javax::imageio::ImageReader)))) dec;
+ ::java::awt::image::BufferedImage * bufferedImage;
+ ::java::awt::image::ColorModel * defaultModel;
+ jint width;
+ jint height;
+ ::java::lang::String * ext;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_java_awt_peer_gtk_GdkPixbufDecoder$GdkPixbufReader__
diff --git a/libjava/gnu/java/awt/peer/gtk/GdkPixbufDecoder$GdkPixbufReaderSpi.h b/libjava/gnu/java/awt/peer/gtk/GdkPixbufDecoder$GdkPixbufReaderSpi.h
new file mode 100644
index 000000000..118167103
--- /dev/null
+++ b/libjava/gnu/java/awt/peer/gtk/GdkPixbufDecoder$GdkPixbufReaderSpi.h
@@ -0,0 +1,48 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_java_awt_peer_gtk_GdkPixbufDecoder$GdkPixbufReaderSpi__
+#define __gnu_java_awt_peer_gtk_GdkPixbufDecoder$GdkPixbufReaderSpi__
+
+#pragma interface
+
+#include <javax/imageio/spi/ImageReaderSpi.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace java
+ {
+ namespace awt
+ {
+ namespace peer
+ {
+ namespace gtk
+ {
+ class GdkPixbufDecoder$GdkPixbufReaderSpi;
+ }
+ }
+ }
+ }
+ }
+ namespace javax
+ {
+ namespace imageio
+ {
+ class ImageReader;
+ }
+ }
+}
+
+class gnu::java::awt::peer::gtk::GdkPixbufDecoder$GdkPixbufReaderSpi : public ::javax::imageio::spi::ImageReaderSpi
+{
+
+public:
+ GdkPixbufDecoder$GdkPixbufReaderSpi();
+ virtual jboolean canDecodeInput(::java::lang::Object *);
+ virtual ::javax::imageio::ImageReader * createReaderInstance(::java::lang::Object *);
+ virtual ::java::lang::String * getDescription(::java::util::Locale *);
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_java_awt_peer_gtk_GdkPixbufDecoder$GdkPixbufReaderSpi__
diff --git a/libjava/gnu/java/awt/peer/gtk/GdkPixbufDecoder$GdkPixbufWriter.h b/libjava/gnu/java/awt/peer/gtk/GdkPixbufDecoder$GdkPixbufWriter.h
new file mode 100644
index 000000000..d88b2ae8a
--- /dev/null
+++ b/libjava/gnu/java/awt/peer/gtk/GdkPixbufDecoder$GdkPixbufWriter.h
@@ -0,0 +1,70 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_java_awt_peer_gtk_GdkPixbufDecoder$GdkPixbufWriter__
+#define __gnu_java_awt_peer_gtk_GdkPixbufDecoder$GdkPixbufWriter__
+
+#pragma interface
+
+#include <javax/imageio/ImageWriter.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace java
+ {
+ namespace awt
+ {
+ namespace peer
+ {
+ namespace gtk
+ {
+ class GdkPixbufDecoder$GdkPixbufWriter;
+ class GdkPixbufDecoder$GdkPixbufWriterSpi;
+ }
+ }
+ }
+ }
+ }
+ namespace javax
+ {
+ namespace imageio
+ {
+ class IIOImage;
+ class ImageTypeSpecifier;
+ class ImageWriteParam;
+ namespace metadata
+ {
+ class IIOMetadata;
+ }
+ }
+ }
+}
+
+class gnu::java::awt::peer::gtk::GdkPixbufDecoder$GdkPixbufWriter : public ::javax::imageio::ImageWriter
+{
+
+public:
+ GdkPixbufDecoder$GdkPixbufWriter(::gnu::java::awt::peer::gtk::GdkPixbufDecoder$GdkPixbufWriterSpi *, ::java::lang::Object *);
+ virtual ::javax::imageio::metadata::IIOMetadata * convertImageMetadata(::javax::imageio::metadata::IIOMetadata *, ::javax::imageio::ImageTypeSpecifier *, ::javax::imageio::ImageWriteParam *);
+ virtual ::javax::imageio::metadata::IIOMetadata * convertStreamMetadata(::javax::imageio::metadata::IIOMetadata *, ::javax::imageio::ImageWriteParam *);
+ virtual ::javax::imageio::metadata::IIOMetadata * getDefaultImageMetadata(::javax::imageio::ImageTypeSpecifier *, ::javax::imageio::ImageWriteParam *);
+ virtual ::javax::imageio::metadata::IIOMetadata * getDefaultStreamMetadata(::javax::imageio::ImageWriteParam *);
+ virtual void write(::javax::imageio::metadata::IIOMetadata *, ::javax::imageio::IIOImage *, ::javax::imageio::ImageWriteParam *);
+private:
+ void write(JArray< jbyte > *);
+public:
+ virtual void run();
+public: // actually package-private
+ ::java::lang::String * __attribute__((aligned(__alignof__( ::javax::imageio::ImageWriter)))) ext;
+private:
+ static ::java::lang::Object * DATADONE;
+ ::java::util::ArrayList * data;
+ ::java::io::IOException * exception;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_java_awt_peer_gtk_GdkPixbufDecoder$GdkPixbufWriter__
diff --git a/libjava/gnu/java/awt/peer/gtk/GdkPixbufDecoder$GdkPixbufWriterSpi.h b/libjava/gnu/java/awt/peer/gtk/GdkPixbufDecoder$GdkPixbufWriterSpi.h
new file mode 100644
index 000000000..d8ac5af3b
--- /dev/null
+++ b/libjava/gnu/java/awt/peer/gtk/GdkPixbufDecoder$GdkPixbufWriterSpi.h
@@ -0,0 +1,49 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_java_awt_peer_gtk_GdkPixbufDecoder$GdkPixbufWriterSpi__
+#define __gnu_java_awt_peer_gtk_GdkPixbufDecoder$GdkPixbufWriterSpi__
+
+#pragma interface
+
+#include <javax/imageio/spi/ImageWriterSpi.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace java
+ {
+ namespace awt
+ {
+ namespace peer
+ {
+ namespace gtk
+ {
+ class GdkPixbufDecoder$GdkPixbufWriterSpi;
+ }
+ }
+ }
+ }
+ }
+ namespace javax
+ {
+ namespace imageio
+ {
+ class ImageTypeSpecifier;
+ class ImageWriter;
+ }
+ }
+}
+
+class gnu::java::awt::peer::gtk::GdkPixbufDecoder$GdkPixbufWriterSpi : public ::javax::imageio::spi::ImageWriterSpi
+{
+
+public:
+ GdkPixbufDecoder$GdkPixbufWriterSpi();
+ virtual jboolean canEncodeImage(::javax::imageio::ImageTypeSpecifier *);
+ virtual ::javax::imageio::ImageWriter * createWriterInstance(::java::lang::Object *);
+ virtual ::java::lang::String * getDescription(::java::util::Locale *);
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_java_awt_peer_gtk_GdkPixbufDecoder$GdkPixbufWriterSpi__
diff --git a/libjava/gnu/java/awt/peer/gtk/GdkPixbufDecoder$ImageFormatSpec.h b/libjava/gnu/java/awt/peer/gtk/GdkPixbufDecoder$ImageFormatSpec.h
new file mode 100644
index 000000000..03316f539
--- /dev/null
+++ b/libjava/gnu/java/awt/peer/gtk/GdkPixbufDecoder$ImageFormatSpec.h
@@ -0,0 +1,44 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_java_awt_peer_gtk_GdkPixbufDecoder$ImageFormatSpec__
+#define __gnu_java_awt_peer_gtk_GdkPixbufDecoder$ImageFormatSpec__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace java
+ {
+ namespace awt
+ {
+ namespace peer
+ {
+ namespace gtk
+ {
+ class GdkPixbufDecoder$ImageFormatSpec;
+ }
+ }
+ }
+ }
+ }
+}
+
+class gnu::java::awt::peer::gtk::GdkPixbufDecoder$ImageFormatSpec : public ::java::lang::Object
+{
+
+public:
+ GdkPixbufDecoder$ImageFormatSpec(::java::lang::String *, jboolean);
+ virtual void addMimeType(::java::lang::String *);
+ virtual void addExtension(::java::lang::String *);
+ ::java::lang::String * __attribute__((aligned(__alignof__( ::java::lang::Object)))) name;
+ jboolean writable;
+ ::java::util::ArrayList * mimeTypes;
+ ::java::util::ArrayList * extensions;
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_java_awt_peer_gtk_GdkPixbufDecoder$ImageFormatSpec__
diff --git a/libjava/gnu/java/awt/peer/gtk/GdkPixbufDecoder.h b/libjava/gnu/java/awt/peer/gtk/GdkPixbufDecoder.h
new file mode 100644
index 000000000..1c5fa7939
--- /dev/null
+++ b/libjava/gnu/java/awt/peer/gtk/GdkPixbufDecoder.h
@@ -0,0 +1,115 @@
+
+// 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__
diff --git a/libjava/gnu/java/awt/peer/gtk/GdkRobotPeer.h b/libjava/gnu/java/awt/peer/gtk/GdkRobotPeer.h
new file mode 100644
index 000000000..24c6a853c
--- /dev/null
+++ b/libjava/gnu/java/awt/peer/gtk/GdkRobotPeer.h
@@ -0,0 +1,70 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_java_awt_peer_gtk_GdkRobotPeer__
+#define __gnu_java_awt_peer_gtk_GdkRobotPeer__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace java
+ {
+ namespace awt
+ {
+ namespace peer
+ {
+ namespace gtk
+ {
+ class GdkRobotPeer;
+ }
+ }
+ }
+ }
+ }
+ namespace java
+ {
+ namespace awt
+ {
+ class GraphicsDevice;
+ class Rectangle;
+ namespace image
+ {
+ class ColorModel;
+ }
+ }
+ }
+}
+
+class gnu::java::awt::peer::gtk::GdkRobotPeer : public ::java::lang::Object
+{
+
+public:
+ GdkRobotPeer(::java::awt::GraphicsDevice *);
+public: // actually package-private
+ virtual jboolean initXTest();
+public:
+ virtual void mouseMove(jint, jint);
+ virtual void mousePress(jint);
+ virtual void mouseRelease(jint);
+ virtual void mouseWheel(jint);
+ virtual void keyPress(jint);
+ virtual void keyRelease(jint);
+public: // actually package-private
+ virtual JArray< jint > * nativeGetRGBPixels(jint, jint, jint, jint);
+public:
+ virtual jint getRGBPixel(jint, jint);
+ virtual JArray< jint > * getRGBPixels(::java::awt::Rectangle *);
+ virtual void dispose();
+public: // actually package-private
+ static ::java::awt::image::ColorModel * cm;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_java_awt_peer_gtk_GdkRobotPeer__
diff --git a/libjava/gnu/java/awt/peer/gtk/GdkScreenGraphicsDevice$X11DisplayMode.h b/libjava/gnu/java/awt/peer/gtk/GdkScreenGraphicsDevice$X11DisplayMode.h
new file mode 100644
index 000000000..5c27e4c25
--- /dev/null
+++ b/libjava/gnu/java/awt/peer/gtk/GdkScreenGraphicsDevice$X11DisplayMode.h
@@ -0,0 +1,44 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_java_awt_peer_gtk_GdkScreenGraphicsDevice$X11DisplayMode__
+#define __gnu_java_awt_peer_gtk_GdkScreenGraphicsDevice$X11DisplayMode__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace java
+ {
+ namespace awt
+ {
+ namespace peer
+ {
+ namespace gtk
+ {
+ class GdkScreenGraphicsDevice$X11DisplayMode;
+ }
+ }
+ }
+ }
+ }
+}
+
+class gnu::java::awt::peer::gtk::GdkScreenGraphicsDevice$X11DisplayMode : public ::java::lang::Object
+{
+
+public: // actually package-private
+ GdkScreenGraphicsDevice$X11DisplayMode(jint, jint, JArray< jshort > *);
+ JArray< jshort > * __attribute__((aligned(__alignof__( ::java::lang::Object)))) rates;
+ jint width;
+ jint height;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_java_awt_peer_gtk_GdkScreenGraphicsDevice$X11DisplayMode__
diff --git a/libjava/gnu/java/awt/peer/gtk/GdkScreenGraphicsDevice.h b/libjava/gnu/java/awt/peer/gtk/GdkScreenGraphicsDevice.h
new file mode 100644
index 000000000..ff0362b99
--- /dev/null
+++ b/libjava/gnu/java/awt/peer/gtk/GdkScreenGraphicsDevice.h
@@ -0,0 +1,103 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_java_awt_peer_gtk_GdkScreenGraphicsDevice__
+#define __gnu_java_awt_peer_gtk_GdkScreenGraphicsDevice__
+
+#pragma interface
+
+#include <java/awt/GraphicsDevice.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace classpath
+ {
+ class Pointer;
+ }
+ namespace java
+ {
+ namespace awt
+ {
+ namespace peer
+ {
+ namespace gtk
+ {
+ class GdkGraphicsConfiguration;
+ class GdkGraphicsEnvironment;
+ class GdkScreenGraphicsDevice;
+ class GdkScreenGraphicsDevice$X11DisplayMode;
+ }
+ }
+ }
+ }
+ }
+ namespace java
+ {
+ namespace awt
+ {
+ class DisplayMode;
+ class GraphicsConfiguration;
+ class Rectangle;
+ class Window;
+ }
+ }
+}
+
+class gnu::java::awt::peer::gtk::GdkScreenGraphicsDevice : public ::java::awt::GraphicsDevice
+{
+
+public: // actually package-private
+ static void initIDs();
+ GdkScreenGraphicsDevice(::gnu::java::awt::peer::gtk::GdkGraphicsEnvironment *);
+ virtual void init();
+ virtual ::java::awt::DisplayMode * nativeGetFixedDisplayMode(::gnu::java::awt::peer::gtk::GdkGraphicsEnvironment *);
+public:
+ virtual jint getType();
+ virtual ::java::lang::String * getIDstring();
+private:
+ ::java::lang::String * nativeGetIDString();
+public:
+ virtual JArray< ::java::awt::GraphicsConfiguration * > * getConfigurations();
+ virtual ::java::awt::GraphicsConfiguration * getDefaultConfiguration();
+ virtual ::java::awt::DisplayMode * getDisplayMode();
+public: // actually package-private
+ virtual jint nativeGetDisplayModeIndex(::gnu::java::awt::peer::gtk::GdkGraphicsEnvironment *);
+ virtual jint nativeGetDisplayModeRate(::gnu::java::awt::peer::gtk::GdkGraphicsEnvironment *);
+public:
+ virtual JArray< ::java::awt::DisplayMode * > * getDisplayModes();
+public: // actually package-private
+ virtual JArray< ::gnu::java::awt::peer::gtk::GdkScreenGraphicsDevice$X11DisplayMode * > * nativeGetDisplayModes(::gnu::java::awt::peer::gtk::GdkGraphicsEnvironment *);
+public:
+ virtual jboolean isFullScreenSupported();
+ virtual jboolean isDisplayChangeSupported();
+ virtual void setDisplayMode(::java::awt::DisplayMode *);
+public: // actually package-private
+ virtual void nativeSetDisplayMode(::gnu::java::awt::peer::gtk::GdkGraphicsEnvironment *, jint, jshort);
+public:
+ virtual void setFullScreenWindow(::java::awt::Window *);
+ virtual ::java::awt::Window * getFullScreenWindow();
+public: // actually package-private
+ virtual ::java::awt::Rectangle * getBounds();
+ virtual ::java::awt::Rectangle * nativeGetBounds();
+private:
+ jint __attribute__((aligned(__alignof__( ::java::awt::GraphicsDevice)))) native_state;
+ ::java::awt::Window * fullscreenWindow;
+ jboolean oldWindowDecorationState;
+ ::java::awt::Rectangle * oldWindowBounds;
+ ::java::awt::Rectangle * bounds;
+ JArray< ::gnu::java::awt::peer::gtk::GdkGraphicsConfiguration * > * configurations;
+public: // actually package-private
+ ::gnu::java::awt::peer::gtk::GdkGraphicsEnvironment * env;
+ ::java::lang::String * idString;
+ JArray< ::gnu::java::awt::peer::gtk::GdkScreenGraphicsDevice$X11DisplayMode * > * displayModes;
+ ::java::awt::DisplayMode * fixedDisplayMode;
+private:
+ ::gnu::classpath::Pointer * screen;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_java_awt_peer_gtk_GdkScreenGraphicsDevice__
diff --git a/libjava/gnu/java/awt/peer/gtk/GtkButtonPeer.h b/libjava/gnu/java/awt/peer/gtk/GtkButtonPeer.h
new file mode 100644
index 000000000..6abd26741
--- /dev/null
+++ b/libjava/gnu/java/awt/peer/gtk/GtkButtonPeer.h
@@ -0,0 +1,68 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_java_awt_peer_gtk_GtkButtonPeer__
+#define __gnu_java_awt_peer_gtk_GtkButtonPeer__
+
+#pragma interface
+
+#include <gnu/java/awt/peer/gtk/GtkComponentPeer.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace java
+ {
+ namespace awt
+ {
+ namespace peer
+ {
+ namespace gtk
+ {
+ class GtkButtonPeer;
+ }
+ }
+ }
+ }
+ }
+ namespace java
+ {
+ namespace awt
+ {
+ class Button;
+ }
+ }
+}
+
+class gnu::java::awt::peer::gtk::GtkButtonPeer : public ::gnu::java::awt::peer::gtk::GtkComponentPeer
+{
+
+public: // actually package-private
+ virtual void create(::java::lang::String *);
+public:
+ virtual void connectSignals();
+public: // actually protected
+ virtual void gtkWidgetModifyFont(::java::lang::String *, jint, jint);
+public: // actually package-private
+ virtual void gtkSetLabel(::java::lang::String *);
+ virtual void gtkWidgetSetForeground(jint, jint, jint);
+ virtual void gtkWidgetSetBackground(jint, jint, jint);
+ virtual void gtkActivate();
+ virtual void gtkWidgetRequestFocus();
+ virtual void setNativeBounds(jint, jint, jint, jint);
+ virtual void gtkWidgetGetPreferredDimensions(JArray< jint > *);
+public:
+ GtkButtonPeer(::java::awt::Button *);
+public: // actually package-private
+ virtual void create();
+public:
+ virtual void setLabel(::java::lang::String *);
+public: // actually package-private
+ virtual void postActionEvent(jint);
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_java_awt_peer_gtk_GtkButtonPeer__
diff --git a/libjava/gnu/java/awt/peer/gtk/GtkCanvasPeer.h b/libjava/gnu/java/awt/peer/gtk/GtkCanvasPeer.h
new file mode 100644
index 000000000..3808c2fae
--- /dev/null
+++ b/libjava/gnu/java/awt/peer/gtk/GtkCanvasPeer.h
@@ -0,0 +1,49 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_java_awt_peer_gtk_GtkCanvasPeer__
+#define __gnu_java_awt_peer_gtk_GtkCanvasPeer__
+
+#pragma interface
+
+#include <gnu/java/awt/peer/gtk/GtkComponentPeer.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace java
+ {
+ namespace awt
+ {
+ namespace peer
+ {
+ namespace gtk
+ {
+ class GtkCanvasPeer;
+ }
+ }
+ }
+ }
+ }
+ namespace java
+ {
+ namespace awt
+ {
+ class Canvas;
+ class Dimension;
+ }
+ }
+}
+
+class gnu::java::awt::peer::gtk::GtkCanvasPeer : public ::gnu::java::awt::peer::gtk::GtkComponentPeer
+{
+
+public: // actually package-private
+ virtual void create();
+public:
+ GtkCanvasPeer(::java::awt::Canvas *);
+ virtual ::java::awt::Dimension * preferredSize();
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_java_awt_peer_gtk_GtkCanvasPeer__
diff --git a/libjava/gnu/java/awt/peer/gtk/GtkCheckboxMenuItemPeer.h b/libjava/gnu/java/awt/peer/gtk/GtkCheckboxMenuItemPeer.h
new file mode 100644
index 000000000..2a2f4559c
--- /dev/null
+++ b/libjava/gnu/java/awt/peer/gtk/GtkCheckboxMenuItemPeer.h
@@ -0,0 +1,51 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer__
+#define __gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer__
+
+#pragma interface
+
+#include <gnu/java/awt/peer/gtk/GtkMenuItemPeer.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace java
+ {
+ namespace awt
+ {
+ namespace peer
+ {
+ namespace gtk
+ {
+ class GtkCheckboxMenuItemPeer;
+ }
+ }
+ }
+ }
+ }
+ namespace java
+ {
+ namespace awt
+ {
+ class CheckboxMenuItem;
+ }
+ }
+}
+
+class gnu::java::awt::peer::gtk::GtkCheckboxMenuItemPeer : public ::gnu::java::awt::peer::gtk::GtkMenuItemPeer
+{
+
+public: // actually protected
+ virtual void create(::java::lang::String *);
+public:
+ GtkCheckboxMenuItemPeer(::java::awt::CheckboxMenuItem *);
+ virtual void setState(jboolean);
+public: // actually protected
+ virtual void postMenuActionEvent();
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer__
diff --git a/libjava/gnu/java/awt/peer/gtk/GtkCheckboxPeer.h b/libjava/gnu/java/awt/peer/gtk/GtkCheckboxPeer.h
new file mode 100644
index 000000000..e97d21f9d
--- /dev/null
+++ b/libjava/gnu/java/awt/peer/gtk/GtkCheckboxPeer.h
@@ -0,0 +1,70 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_java_awt_peer_gtk_GtkCheckboxPeer__
+#define __gnu_java_awt_peer_gtk_GtkCheckboxPeer__
+
+#pragma interface
+
+#include <gnu/java/awt/peer/gtk/GtkComponentPeer.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace java
+ {
+ namespace awt
+ {
+ namespace peer
+ {
+ namespace gtk
+ {
+ class GtkCheckboxPeer;
+ }
+ }
+ }
+ }
+ }
+ namespace java
+ {
+ namespace awt
+ {
+ class Checkbox;
+ class CheckboxGroup;
+ }
+ }
+}
+
+class gnu::java::awt::peer::gtk::GtkCheckboxPeer : public ::gnu::java::awt::peer::gtk::GtkComponentPeer
+{
+
+public:
+ virtual void createCheckButton();
+ virtual void createRadioButton(jlong);
+ virtual void addToGroup(jlong);
+ virtual void removeFromGroup();
+ virtual void switchToGroup(jlong);
+ virtual void connectSignals();
+public: // actually protected
+ virtual void gtkWidgetModifyFont(::java::lang::String *, jint, jint);
+public: // actually package-private
+ virtual void gtkButtonSetLabel(::java::lang::String *);
+ virtual void gtkToggleButtonSetActive(jboolean);
+public:
+ GtkCheckboxPeer(::java::awt::Checkbox *);
+ virtual void create();
+ virtual void setState(jboolean);
+ virtual void setLabel(::java::lang::String *);
+ virtual void setCheckboxGroup(::java::awt::CheckboxGroup *);
+ virtual void postItemEvent(::java::lang::Object *, jboolean);
+ virtual void addToGroupMap(jlong);
+ virtual void dispose();
+ ::java::awt::CheckboxGroup * __attribute__((aligned(__alignof__( ::gnu::java::awt::peer::gtk::GtkComponentPeer)))) current_group;
+private:
+ jboolean currentState;
+ static ::java::util::WeakHashMap * groupMap;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_java_awt_peer_gtk_GtkCheckboxPeer__
diff --git a/libjava/gnu/java/awt/peer/gtk/GtkChoicePeer.h b/libjava/gnu/java/awt/peer/gtk/GtkChoicePeer.h
new file mode 100644
index 000000000..632fb4063
--- /dev/null
+++ b/libjava/gnu/java/awt/peer/gtk/GtkChoicePeer.h
@@ -0,0 +1,69 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_java_awt_peer_gtk_GtkChoicePeer__
+#define __gnu_java_awt_peer_gtk_GtkChoicePeer__
+
+#pragma interface
+
+#include <gnu/java/awt/peer/gtk/GtkComponentPeer.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace java
+ {
+ namespace awt
+ {
+ namespace peer
+ {
+ namespace gtk
+ {
+ class GtkChoicePeer;
+ }
+ }
+ }
+ }
+ }
+ namespace java
+ {
+ namespace awt
+ {
+ class AWTEvent;
+ class Choice;
+ }
+ }
+}
+
+class gnu::java::awt::peer::gtk::GtkChoicePeer : public ::gnu::java::awt::peer::gtk::GtkComponentPeer
+{
+
+public:
+ GtkChoicePeer(::java::awt::Choice *);
+public: // actually package-private
+ virtual void create();
+ virtual jint nativeGetSelected();
+ virtual void connectSignals();
+ virtual void selectNative(jint);
+ virtual void selectNativeUnlocked(jint);
+public:
+ virtual void add(::java::lang::String *, jint);
+public: // actually package-private
+ virtual void nativeRemove(jint);
+ virtual void nativeRemoveAll();
+public:
+ virtual void select(jint);
+ virtual void remove(jint);
+ virtual void removeAll();
+ virtual void addItem(::java::lang::String *, jint);
+public: // actually protected
+ virtual void postChoiceItemEvent(jint);
+public:
+ virtual void handleEvent(::java::awt::AWTEvent *);
+private:
+ jint __attribute__((aligned(__alignof__( ::gnu::java::awt::peer::gtk::GtkComponentPeer)))) selected;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_java_awt_peer_gtk_GtkChoicePeer__
diff --git a/libjava/gnu/java/awt/peer/gtk/GtkClipboard.h b/libjava/gnu/java/awt/peer/gtk/GtkClipboard.h
new file mode 100644
index 000000000..24b275a78
--- /dev/null
+++ b/libjava/gnu/java/awt/peer/gtk/GtkClipboard.h
@@ -0,0 +1,73 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_java_awt_peer_gtk_GtkClipboard__
+#define __gnu_java_awt_peer_gtk_GtkClipboard__
+
+#pragma interface
+
+#include <java/awt/datatransfer/Clipboard.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace java
+ {
+ namespace awt
+ {
+ namespace peer
+ {
+ namespace gtk
+ {
+ class GtkClipboard;
+ class GtkImage;
+ }
+ }
+ }
+ }
+ }
+ namespace java
+ {
+ namespace awt
+ {
+ namespace datatransfer
+ {
+ class ClipboardOwner;
+ class Transferable;
+ }
+ }
+ }
+}
+
+class gnu::java::awt::peer::gtk::GtkClipboard : public ::java::awt::datatransfer::Clipboard
+{
+
+ GtkClipboard(::java::lang::String *);
+public: // actually package-private
+ static ::gnu::java::awt::peer::gtk::GtkClipboard * getClipboardInstance();
+ static ::gnu::java::awt::peer::gtk::GtkClipboard * getSelectionInstance();
+private:
+ void setSystemContents(jboolean);
+public:
+ virtual void setContents(::java::awt::datatransfer::Transferable *, ::java::awt::datatransfer::ClipboardOwner *);
+private:
+ void advertiseContent(JArray< ::java::lang::String * > *, jboolean, jboolean, jboolean);
+ ::java::lang::String * provideText();
+ ::gnu::java::awt::peer::gtk::GtkImage * provideImage();
+ JArray< ::java::lang::String * > * provideURIs();
+ JArray< jbyte > * provideContent(::java::lang::String *);
+ static jboolean initNativeState(::gnu::java::awt::peer::gtk::GtkClipboard *, ::gnu::java::awt::peer::gtk::GtkClipboard *, ::java::lang::String *, ::java::lang::String *, ::java::lang::String *);
+public: // actually package-private
+ static ::gnu::java::awt::peer::gtk::GtkClipboard * clipboard;
+ static ::gnu::java::awt::peer::gtk::GtkClipboard * selection;
+ static ::java::lang::String * stringMimeType;
+ static ::java::lang::String * imageMimeType;
+ static ::java::lang::String * filesMimeType;
+ static jboolean canCache;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_java_awt_peer_gtk_GtkClipboard__
diff --git a/libjava/gnu/java/awt/peer/gtk/GtkClipboardNotifier.h b/libjava/gnu/java/awt/peer/gtk/GtkClipboardNotifier.h
new file mode 100644
index 000000000..59d04d0f8
--- /dev/null
+++ b/libjava/gnu/java/awt/peer/gtk/GtkClipboardNotifier.h
@@ -0,0 +1,47 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_java_awt_peer_gtk_GtkClipboardNotifier__
+#define __gnu_java_awt_peer_gtk_GtkClipboardNotifier__
+
+#pragma interface
+
+#include <java/lang/Thread.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace java
+ {
+ namespace awt
+ {
+ namespace peer
+ {
+ namespace gtk
+ {
+ class GtkClipboard;
+ class GtkClipboardNotifier;
+ }
+ }
+ }
+ }
+ }
+}
+
+class gnu::java::awt::peer::gtk::GtkClipboardNotifier : public ::java::lang::Thread
+{
+
+ GtkClipboardNotifier();
+public: // actually package-private
+ static void announce(::gnu::java::awt::peer::gtk::GtkClipboard *);
+public:
+ virtual void run();
+private:
+ static jboolean announceClipboardChange;
+ static jboolean announcePrimaryChange;
+ static ::gnu::java::awt::peer::gtk::GtkClipboardNotifier * notifier;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_java_awt_peer_gtk_GtkClipboardNotifier__
diff --git a/libjava/gnu/java/awt/peer/gtk/GtkComponentPeer$RepaintTimerTask.h b/libjava/gnu/java/awt/peer/gtk/GtkComponentPeer$RepaintTimerTask.h
new file mode 100644
index 000000000..c556b5250
--- /dev/null
+++ b/libjava/gnu/java/awt/peer/gtk/GtkComponentPeer$RepaintTimerTask.h
@@ -0,0 +1,57 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_java_awt_peer_gtk_GtkComponentPeer$RepaintTimerTask__
+#define __gnu_java_awt_peer_gtk_GtkComponentPeer$RepaintTimerTask__
+
+#pragma interface
+
+#include <java/util/TimerTask.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace java
+ {
+ namespace awt
+ {
+ namespace peer
+ {
+ namespace gtk
+ {
+ class GtkComponentPeer$RepaintTimerTask;
+ }
+ }
+ }
+ }
+ }
+ namespace java
+ {
+ namespace awt
+ {
+ class Component;
+ }
+ }
+}
+
+class gnu::java::awt::peer::gtk::GtkComponentPeer$RepaintTimerTask : public ::java::util::TimerTask
+{
+
+public: // actually package-private
+ GtkComponentPeer$RepaintTimerTask(::java::awt::Component *, jint, jint, jint, jint);
+public:
+ virtual void run();
+public: // actually package-private
+ static void schedule(jlong, jint, jint, jint, jint, ::java::awt::Component *);
+private:
+ static ::java::util::Timer * repaintTimer;
+ jint __attribute__((aligned(__alignof__( ::java::util::TimerTask)))) x;
+ jint y;
+ jint width;
+ jint height;
+ ::java::awt::Component * awtComponent;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_java_awt_peer_gtk_GtkComponentPeer$RepaintTimerTask__
diff --git a/libjava/gnu/java/awt/peer/gtk/GtkComponentPeer.h b/libjava/gnu/java/awt/peer/gtk/GtkComponentPeer.h
new file mode 100644
index 000000000..78c7127c8
--- /dev/null
+++ b/libjava/gnu/java/awt/peer/gtk/GtkComponentPeer.h
@@ -0,0 +1,208 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_java_awt_peer_gtk_GtkComponentPeer__
+#define __gnu_java_awt_peer_gtk_GtkComponentPeer__
+
+#pragma interface
+
+#include <gnu/java/awt/peer/gtk/GtkGenericPeer.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace java
+ {
+ namespace awt
+ {
+ namespace peer
+ {
+ namespace gtk
+ {
+ class GtkComponentPeer;
+ class GtkImage;
+ }
+ }
+ }
+ }
+ }
+ namespace java
+ {
+ namespace awt
+ {
+ class AWTEvent;
+ class BufferCapabilities;
+ class BufferCapabilities$FlipContents;
+ class Color;
+ class Component;
+ class Cursor;
+ class Dimension;
+ class Font;
+ class FontMetrics;
+ class Graphics;
+ class GraphicsConfiguration;
+ class Image;
+ class Insets;
+ class Point;
+ class Rectangle;
+ class Toolkit;
+ class Window;
+ namespace event
+ {
+ class PaintEvent;
+ }
+ namespace image
+ {
+ class ColorModel;
+ class ImageObserver;
+ class ImageProducer;
+ class VolatileImage;
+ }
+ namespace peer
+ {
+ class ComponentPeer;
+ class ContainerPeer;
+ }
+ }
+ }
+ namespace sun
+ {
+ namespace awt
+ {
+ class CausedFocusEvent$Cause;
+ }
+ }
+}
+
+class gnu::java::awt::peer::gtk::GtkComponentPeer : public ::gnu::java::awt::peer::gtk::GtkGenericPeer
+{
+
+public: // actually package-private
+ virtual jboolean isEnabled();
+ static jboolean modalHasGrab();
+ virtual JArray< jint > * gtkWidgetGetForeground();
+ virtual JArray< jint > * gtkWidgetGetBackground();
+ virtual void gtkWidgetGetDimensions(JArray< jint > *);
+ virtual void gtkWidgetGetPreferredDimensions(JArray< jint > *);
+ virtual void gtkWindowGetLocationOnScreen(JArray< jint > *);
+ virtual void gtkWindowGetLocationOnScreenUnlocked(JArray< jint > *);
+ virtual void gtkWidgetGetLocationOnScreen(JArray< jint > *);
+ virtual void gtkWidgetGetLocationOnScreenUnlocked(JArray< jint > *);
+ virtual void gtkWidgetSetCursor(jint, ::gnu::java::awt::peer::gtk::GtkImage *, jint, jint);
+ virtual void gtkWidgetSetCursorUnlocked(jint, ::gnu::java::awt::peer::gtk::GtkImage *, jint, jint);
+ virtual void gtkWidgetSetBackground(jint, jint, jint);
+ virtual void gtkWidgetSetForeground(jint, jint, jint);
+ virtual void gtkWidgetSetSensitive(jboolean);
+ virtual void gtkWidgetSetParent(::java::awt::peer::ComponentPeer *);
+ virtual void gtkWidgetRequestFocus();
+ virtual void gtkWidgetDispatchKeyEvent(jint, jlong, jint, jint, jint);
+ virtual jboolean gtkWidgetHasFocus();
+ virtual jboolean gtkWidgetCanFocus();
+ virtual void realize();
+ virtual void setNativeEventMask();
+ virtual void create();
+ virtual void connectSignals();
+public: // actually protected
+ GtkComponentPeer(::java::awt::Component *);
+public: // actually package-private
+ virtual void setParentAndBounds();
+ virtual void setParent();
+ virtual void setComponentBounds();
+ virtual void setVisibleAndEnabled();
+public:
+ virtual jint checkImage(::java::awt::Image *, jint, jint, ::java::awt::image::ImageObserver *);
+ virtual ::java::awt::Image * createImage(::java::awt::image::ImageProducer *);
+ virtual ::java::awt::Image * createImage(jint, jint);
+ virtual void disable();
+ virtual void enable();
+ virtual ::java::awt::image::ColorModel * getColorModel();
+ virtual ::java::awt::FontMetrics * getFontMetrics(::java::awt::Font *);
+ virtual ::java::awt::Graphics * getGraphics();
+ virtual ::java::awt::Point * getLocationOnScreen();
+ virtual ::java::awt::Dimension * getMinimumSize();
+ virtual ::java::awt::Dimension * getPreferredSize();
+ virtual ::java::awt::Toolkit * getToolkit();
+ virtual void handleEvent(::java::awt::AWTEvent *);
+public: // actually protected
+ virtual void paintComponent(::java::awt::event::PaintEvent *);
+ virtual void updateComponent(::java::awt::event::PaintEvent *);
+public:
+ virtual jboolean isFocusTraversable();
+ virtual ::java::awt::Dimension * minimumSize();
+ virtual void paint(::java::awt::Graphics *);
+ virtual ::java::awt::Dimension * preferredSize();
+ virtual jboolean prepareImage(::java::awt::Image *, jint, jint, ::java::awt::image::ImageObserver *);
+ virtual void print(::java::awt::Graphics *);
+ virtual void repaint(jlong, jint, jint, jint, jint);
+ virtual void requestFocus();
+ virtual void reshape(jint, jint, jint, jint);
+ virtual void setBackground(::java::awt::Color *);
+public: // actually package-private
+ virtual void setNativeBounds(jint, jint, jint, jint);
+public:
+ virtual void setBounds(jint, jint, jint, jint);
+public: // actually package-private
+ virtual void setCursor();
+public:
+ virtual void setCursor(::java::awt::Cursor *);
+ virtual void setEnabled(jboolean);
+ virtual void setFont(::java::awt::Font *);
+ virtual void setForeground(::java::awt::Color *);
+ virtual ::java::awt::Color * getForeground();
+ virtual ::java::awt::Color * getBackground();
+ virtual void setVisibleNative(jboolean);
+ virtual void setVisibleNativeUnlocked(jboolean);
+ virtual void setVisible(jboolean);
+ virtual void hide();
+ virtual void show();
+public: // actually protected
+ virtual void postMouseEvent(jint, jlong, jint, jint, jint, jint, jboolean);
+ virtual void postMouseWheelEvent(jint, jlong, jint, jint, jint, jint, jboolean, jint, jint, jint);
+ virtual void postExposeEvent(jint, jint, jint, jint);
+ virtual void postKeyEvent(jint, jlong, jint, jint, jchar, jint);
+ virtual void postFocusEvent(jint, jboolean);
+ virtual void postItemEvent(::java::lang::Object *, jint);
+ virtual void postTextEvent();
+public:
+ virtual ::java::awt::GraphicsConfiguration * getGraphicsConfiguration();
+ virtual void setEventMask(jlong);
+ virtual jboolean isFocusable();
+ virtual jboolean requestFocus(::java::awt::Component *, jboolean, jboolean, jlong);
+private:
+ ::java::awt::Window * getWindowFor(::java::awt::Component *);
+public: // actually protected
+ virtual jboolean isLightweightDescendant(::java::awt::Component *);
+public:
+ virtual jboolean isObscured();
+ virtual jboolean canDetermineObscurity();
+ virtual void coalescePaintEvent(::java::awt::event::PaintEvent *);
+ virtual void updateCursorImmediately();
+ virtual jboolean handlesWheelScrolling();
+ virtual ::java::awt::image::VolatileImage * createVolatileImage(jint, jint);
+ virtual void createBuffers(jint, ::java::awt::BufferCapabilities *);
+ virtual ::java::awt::Image * getBackBuffer();
+ virtual void flip(::java::awt::BufferCapabilities$FlipContents *);
+ virtual void destroyBuffers();
+ virtual ::java::lang::String * toString();
+ virtual ::java::awt::Rectangle * getBounds();
+ virtual void reparent(::java::awt::peer::ContainerPeer *);
+ virtual void setBounds(jint, jint, jint, jint, jint);
+ virtual jboolean isReparentSupported();
+ virtual void layout();
+ virtual jboolean requestFocus(::java::awt::Component *, jboolean, jboolean, jlong, ::sun::awt::CausedFocusEvent$Cause *);
+public: // actually package-private
+ ::java::awt::image::VolatileImage * __attribute__((aligned(__alignof__( ::gnu::java::awt::peer::gtk::GtkGenericPeer)))) backBuffer;
+ ::java::awt::BufferCapabilities * caps;
+ ::java::awt::Component * awtComponent;
+ ::java::awt::Insets * insets;
+private:
+ ::java::awt::Rectangle * currentPaintArea;
+public: // actually package-private
+ static jboolean $assertionsDisabled;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_java_awt_peer_gtk_GtkComponentPeer__
diff --git a/libjava/gnu/java/awt/peer/gtk/GtkContainerPeer.h b/libjava/gnu/java/awt/peer/gtk/GtkContainerPeer.h
new file mode 100644
index 000000000..6097fc88c
--- /dev/null
+++ b/libjava/gnu/java/awt/peer/gtk/GtkContainerPeer.h
@@ -0,0 +1,64 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_java_awt_peer_gtk_GtkContainerPeer__
+#define __gnu_java_awt_peer_gtk_GtkContainerPeer__
+
+#pragma interface
+
+#include <gnu/java/awt/peer/gtk/GtkComponentPeer.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace java
+ {
+ namespace awt
+ {
+ namespace peer
+ {
+ namespace gtk
+ {
+ class GtkContainerPeer;
+ }
+ }
+ }
+ }
+ }
+ namespace java
+ {
+ namespace awt
+ {
+ class Color;
+ class Container;
+ class Font;
+ class Insets;
+ }
+ }
+}
+
+class gnu::java::awt::peer::gtk::GtkContainerPeer : public ::gnu::java::awt::peer::gtk::GtkComponentPeer
+{
+
+public:
+ GtkContainerPeer(::java::awt::Container *);
+ virtual void beginValidate();
+ virtual void endValidate();
+ virtual ::java::awt::Insets * getInsets();
+ virtual ::java::awt::Insets * insets();
+ virtual void setBounds(jint, jint, jint, jint);
+ virtual void setFont(::java::awt::Font *);
+ virtual void beginLayout();
+ virtual void endLayout();
+ virtual jboolean isPaintPending();
+ virtual void setBackground(::java::awt::Color *);
+ virtual jboolean isRestackSupported();
+ virtual void cancelPendingPaint(jint, jint, jint, jint);
+ virtual void restack();
+public: // actually package-private
+ ::java::awt::Container * __attribute__((aligned(__alignof__( ::gnu::java::awt::peer::gtk::GtkComponentPeer)))) c;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_java_awt_peer_gtk_GtkContainerPeer__
diff --git a/libjava/gnu/java/awt/peer/gtk/GtkCursor.h b/libjava/gnu/java/awt/peer/gtk/GtkCursor.h
new file mode 100644
index 000000000..c0e637585
--- /dev/null
+++ b/libjava/gnu/java/awt/peer/gtk/GtkCursor.h
@@ -0,0 +1,53 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_java_awt_peer_gtk_GtkCursor__
+#define __gnu_java_awt_peer_gtk_GtkCursor__
+
+#pragma interface
+
+#include <java/awt/Cursor.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace java
+ {
+ namespace awt
+ {
+ namespace peer
+ {
+ namespace gtk
+ {
+ class GtkCursor;
+ class GtkImage;
+ }
+ }
+ }
+ }
+ }
+ namespace java
+ {
+ namespace awt
+ {
+ class Image;
+ class Point;
+ }
+ }
+}
+
+class gnu::java::awt::peer::gtk::GtkCursor : public ::java::awt::Cursor
+{
+
+public: // actually package-private
+ GtkCursor(::java::awt::Image *, ::java::awt::Point *, ::java::lang::String *);
+ virtual ::gnu::java::awt::peer::gtk::GtkImage * getGtkImage();
+ virtual ::java::awt::Point * getHotspot();
+private:
+ ::gnu::java::awt::peer::gtk::GtkImage * __attribute__((aligned(__alignof__( ::java::awt::Cursor)))) image;
+ ::java::awt::Point * hotspot;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_java_awt_peer_gtk_GtkCursor__
diff --git a/libjava/gnu/java/awt/peer/gtk/GtkDialogPeer.h b/libjava/gnu/java/awt/peer/gtk/GtkDialogPeer.h
new file mode 100644
index 000000000..d143f4775
--- /dev/null
+++ b/libjava/gnu/java/awt/peer/gtk/GtkDialogPeer.h
@@ -0,0 +1,48 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_java_awt_peer_gtk_GtkDialogPeer__
+#define __gnu_java_awt_peer_gtk_GtkDialogPeer__
+
+#pragma interface
+
+#include <gnu/java/awt/peer/gtk/GtkWindowPeer.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace java
+ {
+ namespace awt
+ {
+ namespace peer
+ {
+ namespace gtk
+ {
+ class GtkDialogPeer;
+ }
+ }
+ }
+ }
+ }
+ namespace java
+ {
+ namespace awt
+ {
+ class Dialog;
+ }
+ }
+}
+
+class gnu::java::awt::peer::gtk::GtkDialogPeer : public ::gnu::java::awt::peer::gtk::GtkWindowPeer
+{
+
+public:
+ GtkDialogPeer(::java::awt::Dialog *);
+public: // actually package-private
+ virtual void create();
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_java_awt_peer_gtk_GtkDialogPeer__
diff --git a/libjava/gnu/java/awt/peer/gtk/GtkEmbeddedWindowPeer.h b/libjava/gnu/java/awt/peer/gtk/GtkEmbeddedWindowPeer.h
new file mode 100644
index 000000000..6dea24e17
--- /dev/null
+++ b/libjava/gnu/java/awt/peer/gtk/GtkEmbeddedWindowPeer.h
@@ -0,0 +1,44 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer__
+#define __gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer__
+
+#pragma interface
+
+#include <gnu/java/awt/peer/gtk/GtkFramePeer.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace java
+ {
+ namespace awt
+ {
+ class EmbeddedWindow;
+ namespace peer
+ {
+ namespace gtk
+ {
+ class GtkEmbeddedWindowPeer;
+ }
+ }
+ }
+ }
+ }
+}
+
+class gnu::java::awt::peer::gtk::GtkEmbeddedWindowPeer : public ::gnu::java::awt::peer::gtk::GtkFramePeer
+{
+
+public: // actually package-private
+ virtual void create(jlong);
+ virtual void create();
+ virtual void construct(jlong);
+public:
+ virtual void embed(jlong);
+ GtkEmbeddedWindowPeer(::gnu::java::awt::EmbeddedWindow *);
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer__
diff --git a/libjava/gnu/java/awt/peer/gtk/GtkFileDialogPeer.h b/libjava/gnu/java/awt/peer/gtk/GtkFileDialogPeer.h
new file mode 100644
index 000000000..7bf3529ce
--- /dev/null
+++ b/libjava/gnu/java/awt/peer/gtk/GtkFileDialogPeer.h
@@ -0,0 +1,80 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_java_awt_peer_gtk_GtkFileDialogPeer__
+#define __gnu_java_awt_peer_gtk_GtkFileDialogPeer__
+
+#pragma interface
+
+#include <gnu/java/awt/peer/gtk/GtkDialogPeer.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace java
+ {
+ namespace awt
+ {
+ namespace peer
+ {
+ namespace gtk
+ {
+ class GtkContainerPeer;
+ class GtkFileDialogPeer;
+ }
+ }
+ }
+ }
+ }
+ namespace java
+ {
+ namespace awt
+ {
+ class FileDialog;
+ namespace event
+ {
+ class PaintEvent;
+ }
+ }
+ }
+}
+
+class gnu::java::awt::peer::gtk::GtkFileDialogPeer : public ::gnu::java::awt::peer::gtk::GtkDialogPeer
+{
+
+public: // actually package-private
+ virtual void create(::gnu::java::awt::peer::gtk::GtkContainerPeer *, jint);
+ virtual void connectSignals();
+ virtual void nativeSetFile(::java::lang::String *);
+public:
+ virtual ::java::lang::String * nativeGetDirectory();
+ virtual void nativeSetDirectory(::java::lang::String *);
+public: // actually package-private
+ virtual void nativeSetFilenameFilter(::java::io::FilenameFilter *);
+public:
+ virtual void create();
+ GtkFileDialogPeer(::java::awt::FileDialog *);
+public: // actually package-private
+ virtual void setComponentBounds();
+public:
+ virtual void setFile(::java::lang::String *);
+ virtual void setDirectory(::java::lang::String *);
+ virtual void setFilenameFilter(::java::io::FilenameFilter *);
+public: // actually package-private
+ virtual jboolean filenameFilterCallback(::java::lang::String *);
+public: // actually protected
+ virtual void updateComponent(::java::awt::event::PaintEvent *);
+public: // actually package-private
+ virtual void gtkHideFileDialog();
+ virtual void gtkDisposeFileDialog();
+ virtual void gtkSetFilename(::java::lang::String *);
+ static ::java::lang::String * FS;
+private:
+ ::java::lang::String * __attribute__((aligned(__alignof__( ::gnu::java::awt::peer::gtk::GtkDialogPeer)))) currentFile;
+ ::java::lang::String * currentDirectory;
+ ::java::io::FilenameFilter * filter;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_java_awt_peer_gtk_GtkFileDialogPeer__
diff --git a/libjava/gnu/java/awt/peer/gtk/GtkFramePeer.h b/libjava/gnu/java/awt/peer/gtk/GtkFramePeer.h
new file mode 100644
index 000000000..2c8ea0ee3
--- /dev/null
+++ b/libjava/gnu/java/awt/peer/gtk/GtkFramePeer.h
@@ -0,0 +1,91 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_java_awt_peer_gtk_GtkFramePeer__
+#define __gnu_java_awt_peer_gtk_GtkFramePeer__
+
+#pragma interface
+
+#include <gnu/java/awt/peer/gtk/GtkWindowPeer.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace java
+ {
+ namespace awt
+ {
+ namespace peer
+ {
+ namespace gtk
+ {
+ class GtkFramePeer;
+ class GtkImage;
+ }
+ }
+ }
+ }
+ }
+ namespace java
+ {
+ namespace awt
+ {
+ class Frame;
+ class Image;
+ class MenuBar;
+ class Rectangle;
+ namespace peer
+ {
+ class MenuBarPeer;
+ }
+ }
+ }
+}
+
+class gnu::java::awt::peer::gtk::GtkFramePeer : public ::gnu::java::awt::peer::gtk::GtkWindowPeer
+{
+
+public: // actually package-private
+ virtual jint getMenuBarHeight(::java::awt::peer::MenuBarPeer *);
+ virtual void setMenuBarWidthUnlocked(::java::awt::peer::MenuBarPeer *, jint);
+ virtual void setMenuBarWidth(::java::awt::peer::MenuBarPeer *, jint);
+ virtual void setMenuBarPeer(::java::awt::peer::MenuBarPeer *);
+ virtual void removeMenuBarPeer();
+ virtual void gtkFixedSetVisible(jboolean);
+private:
+ void maximize();
+ void unmaximize();
+ void iconify();
+ void deiconify();
+public: // actually package-private
+ virtual jint getMenuBarHeight();
+public:
+ virtual void setMenuBar(::java::awt::MenuBar *);
+ virtual void setBounds(jint, jint, jint, jint);
+ virtual void setResizable(jboolean);
+public: // actually protected
+ virtual void postInsetsChangedEvent(jint, jint, jint, jint);
+public:
+ GtkFramePeer(::java::awt::Frame *);
+public: // actually package-private
+ virtual void create();
+ virtual void nativeSetIconImage(::gnu::java::awt::peer::gtk::GtkImage *);
+public:
+ virtual void setIconImage(::java::awt::Image *);
+public: // actually protected
+ virtual void postConfigureEvent(jint, jint, jint, jint);
+public:
+ virtual jint getState();
+ virtual void setState(jint);
+ virtual void setMaximizedBounds(::java::awt::Rectangle *);
+ virtual void setBoundsPrivate(jint, jint, jint, jint);
+ virtual jboolean requestWindowFocus();
+ virtual ::java::awt::Rectangle * getBoundsPrivate();
+private:
+ jint __attribute__((aligned(__alignof__( ::gnu::java::awt::peer::gtk::GtkWindowPeer)))) menuBarHeight;
+ ::java::awt::peer::MenuBarPeer * menuBar;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_java_awt_peer_gtk_GtkFramePeer__
diff --git a/libjava/gnu/java/awt/peer/gtk/GtkGenericPeer.h b/libjava/gnu/java/awt/peer/gtk/GtkGenericPeer.h
new file mode 100644
index 000000000..ffb135bac
--- /dev/null
+++ b/libjava/gnu/java/awt/peer/gtk/GtkGenericPeer.h
@@ -0,0 +1,72 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_java_awt_peer_gtk_GtkGenericPeer__
+#define __gnu_java_awt_peer_gtk_GtkGenericPeer__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace classpath
+ {
+ class Pointer;
+ }
+ namespace java
+ {
+ namespace awt
+ {
+ namespace peer
+ {
+ namespace gtk
+ {
+ class GtkGenericPeer;
+ }
+ }
+ }
+ }
+ }
+ namespace java
+ {
+ namespace awt
+ {
+ class EventQueue;
+ class Font;
+ }
+ }
+}
+
+class gnu::java::awt::peer::gtk::GtkGenericPeer : public ::java::lang::Object
+{
+
+ static void initIDs();
+public:
+ virtual void dispose();
+public: // actually package-private
+ static ::java::awt::EventQueue * q();
+public: // actually protected
+ GtkGenericPeer(::java::lang::Object *);
+ virtual void postActionEvent(::java::lang::String *, jint);
+public: // actually package-private
+ static jint getUniqueInteger();
+public: // actually protected
+ virtual void gtkWidgetModifyFont(::java::awt::Font *);
+ virtual void gtkWidgetModifyFont(::java::lang::String *, jint, jint);
+public: // actually package-private
+ static void printCurrentThread();
+ jint __attribute__((aligned(__alignof__( ::java::lang::Object)))) native_state;
+private:
+ static jint next_native_state;
+public: // actually protected
+ ::java::lang::Object * awtWidget;
+private:
+ ::gnu::classpath::Pointer * widget;
+ ::gnu::classpath::Pointer * globalRef;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_java_awt_peer_gtk_GtkGenericPeer__
diff --git a/libjava/gnu/java/awt/peer/gtk/GtkImage.h b/libjava/gnu/java/awt/peer/gtk/GtkImage.h
new file mode 100644
index 000000000..4028d93f5
--- /dev/null
+++ b/libjava/gnu/java/awt/peer/gtk/GtkImage.h
@@ -0,0 +1,113 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_java_awt_peer_gtk_GtkImage__
+#define __gnu_java_awt_peer_gtk_GtkImage__
+
+#pragma interface
+
+#include <java/awt/Image.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace classpath
+ {
+ class Pointer;
+ }
+ namespace java
+ {
+ namespace awt
+ {
+ namespace peer
+ {
+ namespace gtk
+ {
+ class GtkImage;
+ }
+ }
+ }
+ }
+ }
+ namespace java
+ {
+ namespace awt
+ {
+ class Graphics;
+ class Image;
+ namespace image
+ {
+ class ColorModel;
+ class ImageObserver;
+ class ImageProducer;
+ }
+ }
+ namespace net
+ {
+ class URL;
+ }
+ }
+}
+
+class gnu::java::awt::peer::gtk::GtkImage : public ::java::awt::Image
+{
+
+ void initFromBuffer(jlong);
+public: // actually package-private
+ virtual JArray< jint > * getPixels();
+private:
+ void setPixels(JArray< jint > *);
+ jboolean loadPixbuf(::java::lang::String *);
+ jboolean loadImageFromData(JArray< jbyte > *);
+ void createPixbuf();
+ void freePixbuf();
+ void createScaledPixbuf(::gnu::java::awt::peer::gtk::GtkImage *, jint);
+public:
+ GtkImage(::java::awt::image::ImageProducer *);
+ GtkImage();
+ GtkImage(::java::lang::String *);
+ GtkImage(JArray< jbyte > *);
+ GtkImage(::java::net::URL *);
+private:
+ GtkImage(::gnu::java::awt::peer::gtk::GtkImage *, jint, jint, jint);
+public: // actually package-private
+ GtkImage(::gnu::classpath::Pointer *);
+ GtkImage(jint, jint, jlong);
+ static ::gnu::java::awt::peer::gtk::GtkImage * getErrorImage();
+private:
+ void createFromPixbuf();
+public:
+ virtual void setImage(jint, jint, JArray< jint > *, ::java::util::Hashtable *);
+ virtual jint getWidth(::java::awt::image::ImageObserver *);
+ virtual jint getHeight(::java::awt::image::ImageObserver *);
+ virtual ::java::lang::Object * getProperty(::java::lang::String *, ::java::awt::image::ImageObserver *);
+ virtual ::java::awt::image::ImageProducer * getSource();
+ virtual ::java::awt::Graphics * getGraphics();
+ virtual ::java::awt::Image * getScaledInstance(jint, jint, jint);
+ virtual void flush();
+ virtual void finalize();
+ virtual jint checkImage(::java::awt::image::ImageObserver *);
+private:
+ void deliver();
+ jboolean addObserver(::java::awt::image::ImageObserver *);
+public: // actually package-private
+ jint __attribute__((aligned(__alignof__( ::java::awt::Image)))) width;
+ jint height;
+ ::java::util::Hashtable * props;
+ jboolean isLoaded;
+ ::gnu::classpath::Pointer * pixbuf;
+ ::java::util::Vector * observers;
+ jboolean errorLoading;
+ ::java::awt::image::ImageProducer * source;
+ static ::java::awt::image::ColorModel * nativeModel;
+private:
+ static ::gnu::java::awt::peer::gtk::GtkImage * errorImage;
+public: // actually package-private
+ static ::java::lang::Object * pixbufLock;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_java_awt_peer_gtk_GtkImage__
diff --git a/libjava/gnu/java/awt/peer/gtk/GtkImageConsumer.h b/libjava/gnu/java/awt/peer/gtk/GtkImageConsumer.h
new file mode 100644
index 000000000..aeccd061d
--- /dev/null
+++ b/libjava/gnu/java/awt/peer/gtk/GtkImageConsumer.h
@@ -0,0 +1,70 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_java_awt_peer_gtk_GtkImageConsumer__
+#define __gnu_java_awt_peer_gtk_GtkImageConsumer__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace java
+ {
+ namespace awt
+ {
+ namespace peer
+ {
+ namespace gtk
+ {
+ class GtkImage;
+ class GtkImageConsumer;
+ }
+ }
+ }
+ }
+ }
+ namespace java
+ {
+ namespace awt
+ {
+ namespace image
+ {
+ class ColorModel;
+ class ImageProducer;
+ }
+ }
+ }
+}
+
+class gnu::java::awt::peer::gtk::GtkImageConsumer : public ::java::lang::Object
+{
+
+public:
+ GtkImageConsumer(::gnu::java::awt::peer::gtk::GtkImage *, ::java::awt::image::ImageProducer *);
+ virtual void imageComplete(jint);
+ virtual void setColorModel(::java::awt::image::ColorModel *);
+ virtual void setDimensions(jint, jint);
+ virtual void setHints(jint);
+ virtual void setPixels(jint, jint, jint, jint, ::java::awt::image::ColorModel *, JArray< jbyte > *, jint, jint);
+ virtual void setPixels(jint, jint, jint, jint, ::java::awt::image::ColorModel *, JArray< jint > *, jint, jint);
+private:
+ JArray< jint > * convertPixels(JArray< jbyte > *);
+public:
+ virtual void setProperties(::java::util::Hashtable *);
+private:
+ ::gnu::java::awt::peer::gtk::GtkImage * __attribute__((aligned(__alignof__( ::java::lang::Object)))) target;
+ jint width;
+ jint height;
+ ::java::util::Hashtable * properties;
+ JArray< jint > * pixelCache;
+ ::java::awt::image::ImageProducer * source;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_java_awt_peer_gtk_GtkImageConsumer__
diff --git a/libjava/gnu/java/awt/peer/gtk/GtkLabelPeer.h b/libjava/gnu/java/awt/peer/gtk/GtkLabelPeer.h
new file mode 100644
index 000000000..c80c6f47a
--- /dev/null
+++ b/libjava/gnu/java/awt/peer/gtk/GtkLabelPeer.h
@@ -0,0 +1,64 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_java_awt_peer_gtk_GtkLabelPeer__
+#define __gnu_java_awt_peer_gtk_GtkLabelPeer__
+
+#pragma interface
+
+#include <gnu/java/awt/peer/gtk/GtkComponentPeer.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace java
+ {
+ namespace awt
+ {
+ namespace peer
+ {
+ namespace gtk
+ {
+ class GtkLabelPeer;
+ }
+ }
+ }
+ }
+ }
+ namespace java
+ {
+ namespace awt
+ {
+ class Label;
+ }
+ }
+}
+
+class gnu::java::awt::peer::gtk::GtkLabelPeer : public ::gnu::java::awt::peer::gtk::GtkComponentPeer
+{
+
+public: // actually package-private
+ virtual void create(::java::lang::String *, jfloat);
+public: // actually protected
+ virtual void gtkWidgetModifyFont(::java::lang::String *, jint, jint);
+public: // actually package-private
+ virtual void nativeSetAlignment(jfloat);
+public:
+ virtual void setNativeText(::java::lang::String *);
+public: // actually package-private
+ virtual void setNativeBounds(jint, jint, jint, jint);
+ virtual void gtkWidgetGetPreferredDimensions(JArray< jint > *);
+ virtual void create();
+public:
+ virtual void setText(::java::lang::String *);
+ GtkLabelPeer(::java::awt::Label *);
+ virtual void setAlignment(jint);
+public: // actually package-private
+ virtual jfloat getGtkAlignment(jint);
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_java_awt_peer_gtk_GtkLabelPeer__
diff --git a/libjava/gnu/java/awt/peer/gtk/GtkListPeer.h b/libjava/gnu/java/awt/peer/gtk/GtkListPeer.h
new file mode 100644
index 000000000..8d8a7a0ac
--- /dev/null
+++ b/libjava/gnu/java/awt/peer/gtk/GtkListPeer.h
@@ -0,0 +1,80 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_java_awt_peer_gtk_GtkListPeer__
+#define __gnu_java_awt_peer_gtk_GtkListPeer__
+
+#pragma interface
+
+#include <gnu/java/awt/peer/gtk/GtkComponentPeer.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace java
+ {
+ namespace awt
+ {
+ namespace peer
+ {
+ namespace gtk
+ {
+ class GtkListPeer;
+ }
+ }
+ }
+ }
+ }
+ namespace java
+ {
+ namespace awt
+ {
+ class AWTEvent;
+ class Dimension;
+ class List;
+ }
+ }
+}
+
+class gnu::java::awt::peer::gtk::GtkListPeer : public ::gnu::java::awt::peer::gtk::GtkComponentPeer
+{
+
+public: // actually package-private
+ virtual void create();
+ virtual void create(jint);
+ virtual void connectSignals();
+public: // actually protected
+ virtual void gtkWidgetModifyFont(::java::lang::String *, jint, jint);
+public: // actually package-private
+ virtual void gtkWidgetRequestFocus();
+ virtual void getSize(jint, jint, JArray< jint > *);
+public:
+ GtkListPeer(::java::awt::List *);
+public: // actually package-private
+ virtual void append(JArray< ::java::lang::String * > *);
+public:
+ virtual void add(::java::lang::String *, jint);
+ virtual void addItem(::java::lang::String *, jint);
+ virtual void clear();
+ virtual void delItems(jint, jint);
+ virtual void deselect(jint);
+ virtual ::java::awt::Dimension * getMinimumSize(jint);
+ virtual ::java::awt::Dimension * getPreferredSize(jint);
+ virtual JArray< jint > * getSelectedIndexes();
+ virtual void makeVisible(jint);
+ virtual ::java::awt::Dimension * minimumSize(jint);
+ virtual ::java::awt::Dimension * preferredSize(jint);
+ virtual void removeAll();
+ virtual void select(jint);
+ virtual void setMultipleMode(jboolean);
+ virtual void setMultipleSelections(jboolean);
+ virtual void handleEvent(::java::awt::AWTEvent *);
+public: // actually protected
+ virtual void postItemEvent(jint, jint);
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_java_awt_peer_gtk_GtkListPeer__
diff --git a/libjava/gnu/java/awt/peer/gtk/GtkMainThread.h b/libjava/gnu/java/awt/peer/gtk/GtkMainThread.h
new file mode 100644
index 000000000..159ec7838
--- /dev/null
+++ b/libjava/gnu/java/awt/peer/gtk/GtkMainThread.h
@@ -0,0 +1,53 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_java_awt_peer_gtk_GtkMainThread__
+#define __gnu_java_awt_peer_gtk_GtkMainThread__
+
+#pragma interface
+
+#include <java/lang/Thread.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace java
+ {
+ namespace awt
+ {
+ namespace peer
+ {
+ namespace gtk
+ {
+ class GtkMainThread;
+ }
+ }
+ }
+ }
+ }
+}
+
+class gnu::java::awt::peer::gtk::GtkMainThread : public ::java::lang::Thread
+{
+
+ GtkMainThread();
+public:
+ virtual void run();
+private:
+ static void setRunning(jboolean);
+ static void startMainThread();
+ static void endMainThread();
+public:
+ static void createWindow();
+ static void destroyWindow();
+private:
+ static jint numberOfWindows;
+ static ::java::lang::Object * nWindowsLock;
+ static jboolean running;
+ static ::java::lang::Object * runningLock;
+public:
+ static ::gnu::java::awt::peer::gtk::GtkMainThread * mainThread;
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_java_awt_peer_gtk_GtkMainThread__
diff --git a/libjava/gnu/java/awt/peer/gtk/GtkMenuBarPeer.h b/libjava/gnu/java/awt/peer/gtk/GtkMenuBarPeer.h
new file mode 100644
index 000000000..916d6dd93
--- /dev/null
+++ b/libjava/gnu/java/awt/peer/gtk/GtkMenuBarPeer.h
@@ -0,0 +1,57 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_java_awt_peer_gtk_GtkMenuBarPeer__
+#define __gnu_java_awt_peer_gtk_GtkMenuBarPeer__
+
+#pragma interface
+
+#include <gnu/java/awt/peer/gtk/GtkMenuComponentPeer.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace java
+ {
+ namespace awt
+ {
+ namespace peer
+ {
+ namespace gtk
+ {
+ class GtkMenuBarPeer;
+ class GtkMenuPeer;
+ }
+ }
+ }
+ }
+ }
+ namespace java
+ {
+ namespace awt
+ {
+ class Menu;
+ class MenuBar;
+ }
+ }
+}
+
+class gnu::java::awt::peer::gtk::GtkMenuBarPeer : public ::gnu::java::awt::peer::gtk::GtkMenuComponentPeer
+{
+
+public: // actually protected
+ virtual void create();
+private:
+ void addMenu(::gnu::java::awt::peer::gtk::GtkMenuPeer *);
+public:
+ GtkMenuBarPeer(::java::awt::MenuBar *);
+ virtual void addHelpMenu(::java::awt::Menu *);
+ virtual void delMenu(jint);
+ virtual void addMenu(::java::awt::Menu *);
+private:
+ jboolean __attribute__((aligned(__alignof__( ::gnu::java::awt::peer::gtk::GtkMenuComponentPeer)))) hasHelpMenu;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_java_awt_peer_gtk_GtkMenuBarPeer__
diff --git a/libjava/gnu/java/awt/peer/gtk/GtkMenuComponentPeer.h b/libjava/gnu/java/awt/peer/gtk/GtkMenuComponentPeer.h
new file mode 100644
index 000000000..500f5a94d
--- /dev/null
+++ b/libjava/gnu/java/awt/peer/gtk/GtkMenuComponentPeer.h
@@ -0,0 +1,52 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_java_awt_peer_gtk_GtkMenuComponentPeer__
+#define __gnu_java_awt_peer_gtk_GtkMenuComponentPeer__
+
+#pragma interface
+
+#include <gnu/java/awt/peer/gtk/GtkGenericPeer.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace java
+ {
+ namespace awt
+ {
+ namespace peer
+ {
+ namespace gtk
+ {
+ class GtkMenuComponentPeer;
+ }
+ }
+ }
+ }
+ }
+ namespace java
+ {
+ namespace awt
+ {
+ class Font;
+ class MenuComponent;
+ }
+ }
+}
+
+class gnu::java::awt::peer::gtk::GtkMenuComponentPeer : public ::gnu::java::awt::peer::gtk::GtkGenericPeer
+{
+
+public: // actually protected
+ virtual void create() = 0;
+private:
+ void setFont();
+public:
+ GtkMenuComponentPeer(::java::awt::MenuComponent *);
+ virtual void dispose();
+ virtual void setFont(::java::awt::Font *);
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_java_awt_peer_gtk_GtkMenuComponentPeer__
diff --git a/libjava/gnu/java/awt/peer/gtk/GtkMenuItemPeer.h b/libjava/gnu/java/awt/peer/gtk/GtkMenuItemPeer.h
new file mode 100644
index 000000000..e84841cc3
--- /dev/null
+++ b/libjava/gnu/java/awt/peer/gtk/GtkMenuItemPeer.h
@@ -0,0 +1,57 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_java_awt_peer_gtk_GtkMenuItemPeer__
+#define __gnu_java_awt_peer_gtk_GtkMenuItemPeer__
+
+#pragma interface
+
+#include <gnu/java/awt/peer/gtk/GtkMenuComponentPeer.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace java
+ {
+ namespace awt
+ {
+ namespace peer
+ {
+ namespace gtk
+ {
+ class GtkMenuItemPeer;
+ }
+ }
+ }
+ }
+ }
+ namespace java
+ {
+ namespace awt
+ {
+ class MenuItem;
+ }
+ }
+}
+
+class gnu::java::awt::peer::gtk::GtkMenuItemPeer : public ::gnu::java::awt::peer::gtk::GtkMenuComponentPeer
+{
+
+public: // actually protected
+ virtual void create(::java::lang::String *);
+ virtual void connectSignals();
+ virtual void gtkWidgetModifyFont(::java::lang::String *, jint, jint);
+ virtual void create();
+public:
+ GtkMenuItemPeer(::java::awt::MenuItem *);
+ virtual void disable();
+ virtual void enable();
+ virtual void setEnabled(jboolean);
+ virtual void setLabel(::java::lang::String *);
+public: // actually protected
+ virtual void postMenuActionEvent();
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_java_awt_peer_gtk_GtkMenuItemPeer__
diff --git a/libjava/gnu/java/awt/peer/gtk/GtkMenuPeer.h b/libjava/gnu/java/awt/peer/gtk/GtkMenuPeer.h
new file mode 100644
index 000000000..1d1f84a90
--- /dev/null
+++ b/libjava/gnu/java/awt/peer/gtk/GtkMenuPeer.h
@@ -0,0 +1,66 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_java_awt_peer_gtk_GtkMenuPeer__
+#define __gnu_java_awt_peer_gtk_GtkMenuPeer__
+
+#pragma interface
+
+#include <gnu/java/awt/peer/gtk/GtkMenuItemPeer.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace java
+ {
+ namespace awt
+ {
+ namespace peer
+ {
+ namespace gtk
+ {
+ class GtkGenericPeer;
+ class GtkMenuPeer;
+ }
+ }
+ }
+ }
+ }
+ namespace java
+ {
+ namespace awt
+ {
+ class Menu;
+ class MenuItem;
+ class MenuShortcut;
+ namespace peer
+ {
+ class MenuItemPeer;
+ }
+ }
+ }
+}
+
+class gnu::java::awt::peer::gtk::GtkMenuPeer : public ::gnu::java::awt::peer::gtk::GtkMenuItemPeer
+{
+
+public: // actually protected
+ virtual void create(::java::lang::String *);
+private:
+ void addItem(::java::awt::peer::MenuItemPeer *, jint, jboolean);
+public: // actually package-private
+ virtual void setupAccelGroup(::gnu::java::awt::peer::gtk::GtkGenericPeer *);
+private:
+ void addTearOff();
+public: // actually protected
+ virtual void connectSignals();
+public:
+ GtkMenuPeer(::java::awt::Menu *);
+ virtual void addItem(::java::awt::MenuItem *);
+ virtual void addItem(::java::awt::peer::MenuItemPeer *, ::java::awt::MenuShortcut *);
+ virtual void delItem(jint);
+ virtual void addSeparator();
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_java_awt_peer_gtk_GtkMenuPeer__
diff --git a/libjava/gnu/java/awt/peer/gtk/GtkMouseInfoPeer.h b/libjava/gnu/java/awt/peer/gtk/GtkMouseInfoPeer.h
new file mode 100644
index 000000000..8edc66349
--- /dev/null
+++ b/libjava/gnu/java/awt/peer/gtk/GtkMouseInfoPeer.h
@@ -0,0 +1,52 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_java_awt_peer_gtk_GtkMouseInfoPeer__
+#define __gnu_java_awt_peer_gtk_GtkMouseInfoPeer__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace java
+ {
+ namespace awt
+ {
+ namespace peer
+ {
+ namespace gtk
+ {
+ class GdkGraphicsEnvironment;
+ class GtkMouseInfoPeer;
+ }
+ }
+ }
+ }
+ }
+ namespace java
+ {
+ namespace awt
+ {
+ class Point;
+ class Window;
+ }
+ }
+}
+
+class gnu::java::awt::peer::gtk::GtkMouseInfoPeer : public ::java::lang::Object
+{
+
+public:
+ GtkMouseInfoPeer();
+ virtual jint fillPointWithCoords(::java::awt::Point *);
+ virtual jboolean isWindowUnderMouse(::java::awt::Window *);
+private:
+ static ::gnu::java::awt::peer::gtk::GdkGraphicsEnvironment * gde;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_java_awt_peer_gtk_GtkMouseInfoPeer__
diff --git a/libjava/gnu/java/awt/peer/gtk/GtkPanelPeer.h b/libjava/gnu/java/awt/peer/gtk/GtkPanelPeer.h
new file mode 100644
index 000000000..b4349ee5d
--- /dev/null
+++ b/libjava/gnu/java/awt/peer/gtk/GtkPanelPeer.h
@@ -0,0 +1,52 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_java_awt_peer_gtk_GtkPanelPeer__
+#define __gnu_java_awt_peer_gtk_GtkPanelPeer__
+
+#pragma interface
+
+#include <gnu/java/awt/peer/gtk/GtkContainerPeer.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace java
+ {
+ namespace awt
+ {
+ namespace peer
+ {
+ namespace gtk
+ {
+ class GtkPanelPeer;
+ }
+ }
+ }
+ }
+ }
+ namespace java
+ {
+ namespace awt
+ {
+ class AWTEvent;
+ class Panel;
+ }
+ }
+}
+
+class gnu::java::awt::peer::gtk::GtkPanelPeer : public ::gnu::java::awt::peer::gtk::GtkContainerPeer
+{
+
+public: // actually package-private
+ virtual void create();
+public:
+ GtkPanelPeer(::java::awt::Panel *);
+ virtual void handleEvent(::java::awt::AWTEvent *);
+public: // actually package-private
+ virtual void connectSignals();
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_java_awt_peer_gtk_GtkPanelPeer__
diff --git a/libjava/gnu/java/awt/peer/gtk/GtkPopupMenuPeer.h b/libjava/gnu/java/awt/peer/gtk/GtkPopupMenuPeer.h
new file mode 100644
index 000000000..f62b014d7
--- /dev/null
+++ b/libjava/gnu/java/awt/peer/gtk/GtkPopupMenuPeer.h
@@ -0,0 +1,54 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_java_awt_peer_gtk_GtkPopupMenuPeer__
+#define __gnu_java_awt_peer_gtk_GtkPopupMenuPeer__
+
+#pragma interface
+
+#include <gnu/java/awt/peer/gtk/GtkMenuPeer.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace java
+ {
+ namespace awt
+ {
+ namespace peer
+ {
+ namespace gtk
+ {
+ class GtkGenericPeer;
+ class GtkPopupMenuPeer;
+ }
+ }
+ }
+ }
+ }
+ namespace java
+ {
+ namespace awt
+ {
+ class Component;
+ class Event;
+ class PopupMenu;
+ }
+ }
+}
+
+class gnu::java::awt::peer::gtk::GtkPopupMenuPeer : public ::gnu::java::awt::peer::gtk::GtkMenuPeer
+{
+
+public:
+ GtkPopupMenuPeer(::java::awt::PopupMenu *);
+public: // actually package-private
+ virtual void setupAccelGroup(::gnu::java::awt::peer::gtk::GtkGenericPeer *);
+ virtual void show(jint, jint, jlong);
+public:
+ virtual void show(::java::awt::Component *, jint, jint);
+ virtual void show(::java::awt::Event *);
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_java_awt_peer_gtk_GtkPopupMenuPeer__
diff --git a/libjava/gnu/java/awt/peer/gtk/GtkScrollPanePeer.h b/libjava/gnu/java/awt/peer/gtk/GtkScrollPanePeer.h
new file mode 100644
index 000000000..051fd8334
--- /dev/null
+++ b/libjava/gnu/java/awt/peer/gtk/GtkScrollPanePeer.h
@@ -0,0 +1,62 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_java_awt_peer_gtk_GtkScrollPanePeer__
+#define __gnu_java_awt_peer_gtk_GtkScrollPanePeer__
+
+#pragma interface
+
+#include <gnu/java/awt/peer/gtk/GtkContainerPeer.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace java
+ {
+ namespace awt
+ {
+ namespace peer
+ {
+ namespace gtk
+ {
+ class GtkScrollPanePeer;
+ }
+ }
+ }
+ }
+ }
+ namespace java
+ {
+ namespace awt
+ {
+ class Adjustable;
+ class Dimension;
+ class ScrollPane;
+ }
+ }
+}
+
+class gnu::java::awt::peer::gtk::GtkScrollPanePeer : public ::gnu::java::awt::peer::gtk::GtkContainerPeer
+{
+
+public: // actually package-private
+ virtual void create(jint, jint);
+ virtual void create();
+ virtual void gtkScrolledWindowSetHScrollIncrement(jint);
+ virtual void gtkScrolledWindowSetVScrollIncrement(jint);
+public:
+ GtkScrollPanePeer(::java::awt::ScrollPane *);
+public: // actually package-private
+ virtual void setPolicy(jint);
+public:
+ virtual void childResized(jint, jint);
+ virtual jint getHScrollbarHeight();
+ virtual jint getVScrollbarWidth();
+ virtual void setScrollPosition(jint, jint);
+ virtual ::java::awt::Dimension * getPreferredSize();
+ virtual void setUnitIncrement(::java::awt::Adjustable *, jint);
+ virtual void setValue(::java::awt::Adjustable *, jint);
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_java_awt_peer_gtk_GtkScrollPanePeer__
diff --git a/libjava/gnu/java/awt/peer/gtk/GtkScrollbarPeer.h b/libjava/gnu/java/awt/peer/gtk/GtkScrollbarPeer.h
new file mode 100644
index 000000000..3557d624a
--- /dev/null
+++ b/libjava/gnu/java/awt/peer/gtk/GtkScrollbarPeer.h
@@ -0,0 +1,57 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_java_awt_peer_gtk_GtkScrollbarPeer__
+#define __gnu_java_awt_peer_gtk_GtkScrollbarPeer__
+
+#pragma interface
+
+#include <gnu/java/awt/peer/gtk/GtkComponentPeer.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace java
+ {
+ namespace awt
+ {
+ namespace peer
+ {
+ namespace gtk
+ {
+ class GtkScrollbarPeer;
+ }
+ }
+ }
+ }
+ }
+ namespace java
+ {
+ namespace awt
+ {
+ class Scrollbar;
+ }
+ }
+}
+
+class gnu::java::awt::peer::gtk::GtkScrollbarPeer : public ::gnu::java::awt::peer::gtk::GtkComponentPeer
+{
+
+public: // actually package-private
+ virtual void create();
+ virtual void create(jint, jint, jint, jint, jint, jint, jint);
+ virtual void connectSignals();
+public:
+ GtkScrollbarPeer(::java::awt::Scrollbar *);
+ virtual void setLineIncrement(jint);
+ virtual void setPageIncrement(jint);
+ virtual void setValues(jint, jint, jint, jint);
+private:
+ void setBarValues(jint, jint, jint, jint);
+public: // actually protected
+ virtual void postAdjustmentEvent(jint, jint);
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_java_awt_peer_gtk_GtkScrollbarPeer__
diff --git a/libjava/gnu/java/awt/peer/gtk/GtkSelection.h b/libjava/gnu/java/awt/peer/gtk/GtkSelection.h
new file mode 100644
index 000000000..5ed45d00c
--- /dev/null
+++ b/libjava/gnu/java/awt/peer/gtk/GtkSelection.h
@@ -0,0 +1,94 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_java_awt_peer_gtk_GtkSelection__
+#define __gnu_java_awt_peer_gtk_GtkSelection__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace classpath
+ {
+ class Pointer;
+ }
+ namespace java
+ {
+ namespace awt
+ {
+ namespace peer
+ {
+ namespace gtk
+ {
+ class GtkClipboard;
+ class GtkSelection;
+ }
+ }
+ }
+ }
+ }
+ namespace java
+ {
+ namespace awt
+ {
+ class Image;
+ namespace datatransfer
+ {
+ class DataFlavor;
+ }
+ }
+ }
+}
+
+class gnu::java::awt::peer::gtk::GtkSelection : public ::java::lang::Object
+{
+
+public: // actually package-private
+ GtkSelection(::gnu::java::awt::peer::gtk::GtkClipboard *);
+public:
+ virtual JArray< ::java::awt::datatransfer::DataFlavor * > * getTransferDataFlavors();
+private:
+ void mimeTypesAvailable(JArray< ::java::lang::String * > *);
+public:
+ virtual jboolean isDataFlavorSupported(::java::awt::datatransfer::DataFlavor *);
+private:
+ ::java::lang::String * getText();
+ void textAvailable(::java::lang::String *);
+ ::java::awt::Image * getImage();
+ void imageAvailable(::gnu::classpath::Pointer *);
+ ::java::util::List * getURIs();
+ void urisAvailable(JArray< ::java::lang::String * > *);
+ JArray< jbyte > * getBytes(::java::lang::String *);
+ void bytesAvailable(JArray< jbyte > *);
+public:
+ virtual ::java::lang::Object * getTransferData(::java::awt::datatransfer::DataFlavor *);
+private:
+ void requestText(jboolean);
+ void requestImage(jboolean);
+ void requestURIs(jboolean);
+ void requestBytes(jboolean, ::java::lang::String *);
+ void requestMimeTypes(jboolean);
+ static ::java::lang::Object * requestLock;
+ jboolean __attribute__((aligned(__alignof__( ::java::lang::Object)))) clipboard;
+ jboolean requestInProgress;
+ jboolean mimeTypesDelivered;
+ JArray< ::java::awt::datatransfer::DataFlavor * > * dataFlavors;
+ jboolean textDelivered;
+ ::java::lang::String * text;
+ jboolean imageDelivered;
+ ::gnu::classpath::Pointer * imagePointer;
+ ::java::awt::Image * image;
+ jboolean urisDelivered;
+ ::java::util::List * uris;
+ jboolean bytesDelivered;
+ JArray< jbyte > * bytes;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_java_awt_peer_gtk_GtkSelection__
diff --git a/libjava/gnu/java/awt/peer/gtk/GtkTextAreaPeer.h b/libjava/gnu/java/awt/peer/gtk/GtkTextAreaPeer.h
new file mode 100644
index 000000000..5d4b14ee5
--- /dev/null
+++ b/libjava/gnu/java/awt/peer/gtk/GtkTextAreaPeer.h
@@ -0,0 +1,89 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_java_awt_peer_gtk_GtkTextAreaPeer__
+#define __gnu_java_awt_peer_gtk_GtkTextAreaPeer__
+
+#pragma interface
+
+#include <gnu/java/awt/peer/gtk/GtkComponentPeer.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace java
+ {
+ namespace awt
+ {
+ namespace peer
+ {
+ namespace gtk
+ {
+ class GtkTextAreaPeer;
+ }
+ }
+ }
+ }
+ }
+ namespace java
+ {
+ namespace awt
+ {
+ class Dimension;
+ class Rectangle;
+ class TextArea;
+ namespace im
+ {
+ class InputMethodRequests;
+ }
+ }
+ }
+}
+
+class gnu::java::awt::peer::gtk::GtkTextAreaPeer : public ::gnu::java::awt::peer::gtk::GtkComponentPeer
+{
+
+public: // actually package-private
+ virtual void create(jint, jint, jint);
+public: // actually protected
+ virtual void gtkWidgetModifyFont(::java::lang::String *, jint, jint);
+public: // actually package-private
+ virtual void gtkWidgetRequestFocus();
+public:
+ virtual void connectSignals();
+ virtual jint getCaretPosition();
+ virtual void setCaretPosition(jint);
+ virtual jint getSelectionStart();
+ virtual jint getSelectionEnd();
+ virtual ::java::lang::String * getText();
+ virtual void select(jint, jint);
+ virtual void setEditable(jboolean);
+ virtual void setText(::java::lang::String *);
+ virtual jint getIndexAtPoint(jint, jint);
+ virtual ::java::awt::Rectangle * getCharacterBounds(jint);
+ virtual jlong filterEvents(jlong);
+public: // actually package-private
+ virtual void create();
+public:
+ GtkTextAreaPeer(::java::awt::TextArea *);
+ virtual void insert(::java::lang::String *, jint);
+ virtual void replaceRange(::java::lang::String *, jint, jint);
+ virtual ::java::awt::Dimension * getMinimumSize(jint, jint);
+ virtual ::java::awt::Dimension * getPreferredSize(jint, jint);
+public: // actually package-private
+ virtual jint getHScrollbarHeight();
+ virtual jint getVScrollbarWidth();
+public:
+ virtual ::java::awt::Dimension * minimumSize(jint, jint);
+ virtual ::java::awt::Dimension * preferredSize(jint, jint);
+ virtual void replaceText(::java::lang::String *, jint, jint);
+ virtual void insertText(::java::lang::String *, jint);
+ virtual ::java::awt::im::InputMethodRequests * getInputMethodRequests();
+private:
+ static jint DEFAULT_ROWS;
+ static jint DEFAULT_COLS;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_java_awt_peer_gtk_GtkTextAreaPeer__
diff --git a/libjava/gnu/java/awt/peer/gtk/GtkTextFieldPeer.h b/libjava/gnu/java/awt/peer/gtk/GtkTextFieldPeer.h
new file mode 100644
index 000000000..ddcf366aa
--- /dev/null
+++ b/libjava/gnu/java/awt/peer/gtk/GtkTextFieldPeer.h
@@ -0,0 +1,80 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_java_awt_peer_gtk_GtkTextFieldPeer__
+#define __gnu_java_awt_peer_gtk_GtkTextFieldPeer__
+
+#pragma interface
+
+#include <gnu/java/awt/peer/gtk/GtkComponentPeer.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace java
+ {
+ namespace awt
+ {
+ namespace peer
+ {
+ namespace gtk
+ {
+ class GtkTextFieldPeer;
+ }
+ }
+ }
+ }
+ }
+ namespace java
+ {
+ namespace awt
+ {
+ class AWTEvent;
+ class Dimension;
+ class Rectangle;
+ class TextField;
+ namespace im
+ {
+ class InputMethodRequests;
+ }
+ }
+ }
+}
+
+class gnu::java::awt::peer::gtk::GtkTextFieldPeer : public ::gnu::java::awt::peer::gtk::GtkComponentPeer
+{
+
+public: // actually package-private
+ virtual void create(jint);
+ virtual void gtkWidgetSetBackground(jint, jint, jint);
+ virtual void gtkWidgetSetForeground(jint, jint, jint);
+public:
+ virtual void connectSignals();
+ virtual jint getCaretPosition();
+ virtual void setCaretPosition(jint);
+ virtual jint getSelectionStart();
+ virtual jint getSelectionEnd();
+ virtual ::java::lang::String * getText();
+ virtual void select(jint, jint);
+ virtual void setEditable(jboolean);
+ virtual void setText(::java::lang::String *);
+ virtual jint getIndexAtPoint(jint, jint);
+ virtual ::java::awt::Rectangle * getCharacterBounds(jint);
+ virtual jlong filterEvents(jlong);
+public: // actually package-private
+ virtual void create();
+ virtual jint gtkEntryGetBorderWidth();
+public:
+ GtkTextFieldPeer(::java::awt::TextField *);
+ virtual ::java::awt::Dimension * getMinimumSize(jint);
+ virtual ::java::awt::Dimension * getPreferredSize(jint);
+ virtual void setEchoChar(jchar);
+ virtual ::java::awt::Dimension * minimumSize(jint);
+ virtual ::java::awt::Dimension * preferredSize(jint);
+ virtual void setEchoCharacter(jchar);
+ virtual void handleEvent(::java::awt::AWTEvent *);
+ virtual ::java::awt::im::InputMethodRequests * getInputMethodRequests();
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_java_awt_peer_gtk_GtkTextFieldPeer__
diff --git a/libjava/gnu/java/awt/peer/gtk/GtkToolkit$LRUCache.h b/libjava/gnu/java/awt/peer/gtk/GtkToolkit$LRUCache.h
new file mode 100644
index 000000000..c8d404bd4
--- /dev/null
+++ b/libjava/gnu/java/awt/peer/gtk/GtkToolkit$LRUCache.h
@@ -0,0 +1,43 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_java_awt_peer_gtk_GtkToolkit$LRUCache__
+#define __gnu_java_awt_peer_gtk_GtkToolkit$LRUCache__
+
+#pragma interface
+
+#include <java/util/LinkedHashMap.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace java
+ {
+ namespace awt
+ {
+ namespace peer
+ {
+ namespace gtk
+ {
+ class GtkToolkit$LRUCache;
+ }
+ }
+ }
+ }
+ }
+}
+
+class gnu::java::awt::peer::gtk::GtkToolkit$LRUCache : public ::java::util::LinkedHashMap
+{
+
+public:
+ GtkToolkit$LRUCache(jint);
+public: // actually protected
+ virtual jboolean removeEldestEntry(::java::util::Map$Entry *);
+public: // actually package-private
+ jint __attribute__((aligned(__alignof__( ::java::util::LinkedHashMap)))) max_entries;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_java_awt_peer_gtk_GtkToolkit$LRUCache__
diff --git a/libjava/gnu/java/awt/peer/gtk/GtkToolkit.h b/libjava/gnu/java/awt/peer/gtk/GtkToolkit.h
new file mode 100644
index 000000000..c562e059e
--- /dev/null
+++ b/libjava/gnu/java/awt/peer/gtk/GtkToolkit.h
@@ -0,0 +1,250 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_java_awt_peer_gtk_GtkToolkit__
+#define __gnu_java_awt_peer_gtk_GtkToolkit__
+
+#pragma interface
+
+#include <gnu/java/awt/ClasspathToolkit.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace java
+ {
+ namespace awt
+ {
+ class EmbeddedWindow;
+ namespace peer
+ {
+ class ClasspathFontPeer;
+ class EmbeddedWindowPeer;
+ namespace gtk
+ {
+ class GtkComponentPeer;
+ class GtkToolkit;
+ class GtkToolkit$LRUCache;
+ }
+ }
+ }
+ }
+ }
+ namespace java
+ {
+ namespace awt
+ {
+ class Button;
+ class Canvas;
+ class Checkbox;
+ class CheckboxMenuItem;
+ class Choice;
+ class Component;
+ class Cursor;
+ class Dialog;
+ class Dialog$ModalExclusionType;
+ class Dialog$ModalityType;
+ class Dimension;
+ class EventQueue;
+ class FileDialog;
+ class Font;
+ class FontMetrics;
+ class Frame;
+ class GraphicsDevice;
+ class GraphicsEnvironment;
+ class Image;
+ class Label;
+ class List;
+ class Menu;
+ class MenuBar;
+ class MenuItem;
+ class Panel;
+ class Point;
+ class PopupMenu;
+ class PrintJob;
+ class Rectangle;
+ class ScrollPane;
+ class Scrollbar;
+ class TextArea;
+ class TextField;
+ class Window;
+ namespace datatransfer
+ {
+ class Clipboard;
+ }
+ namespace dnd
+ {
+ class DragGestureEvent;
+ class DragGestureListener;
+ class DragGestureRecognizer;
+ class DragSource;
+ namespace peer
+ {
+ class DragSourceContextPeer;
+ }
+ }
+ namespace im
+ {
+ class InputMethodHighlight;
+ }
+ namespace image
+ {
+ class ColorModel;
+ class ImageObserver;
+ class ImageProducer;
+ }
+ namespace peer
+ {
+ class ButtonPeer;
+ class CanvasPeer;
+ class CheckboxMenuItemPeer;
+ class CheckboxPeer;
+ class ChoicePeer;
+ class DialogPeer;
+ class FileDialogPeer;
+ class FontPeer;
+ class FramePeer;
+ class LabelPeer;
+ class ListPeer;
+ class MenuBarPeer;
+ class MenuItemPeer;
+ class MenuPeer;
+ class MouseInfoPeer;
+ class PanelPeer;
+ class PopupMenuPeer;
+ class RobotPeer;
+ class ScrollPanePeer;
+ class ScrollbarPeer;
+ class TextAreaPeer;
+ class TextFieldPeer;
+ class WindowPeer;
+ }
+ }
+ namespace net
+ {
+ class URL;
+ }
+ }
+ namespace javax
+ {
+ namespace imageio
+ {
+ namespace spi
+ {
+ class IIORegistry;
+ }
+ }
+ }
+}
+
+class gnu::java::awt::peer::gtk::GtkToolkit : public ::gnu::java::awt::ClasspathToolkit
+{
+
+public: // actually package-private
+ static void gtkInit(jint, ::java::lang::Object *);
+ static void gtkMain();
+ static void gtkQuit();
+private:
+ static void initIDs();
+public: // actually package-private
+ static void initializeGlobalIDs();
+public:
+ GtkToolkit();
+ virtual void beep();
+private:
+ void getScreenSizeDimensions(JArray< jint > *);
+public:
+ virtual jint checkImage(::java::awt::Image *, jint, jint, ::java::awt::image::ImageObserver *);
+public: // actually package-private
+ static ::java::awt::Image * imageOrError(::java::awt::Image *);
+public:
+ virtual ::java::awt::Image * createImage(::java::lang::String *);
+ virtual ::java::awt::Image * createImage(::java::net::URL *);
+ virtual ::java::awt::Image * createImage(::java::awt::image::ImageProducer *);
+ virtual ::java::awt::Image * createImage(JArray< jbyte > *, jint, jint);
+ virtual ::java::awt::image::ImageProducer * createImageProducer(::java::net::URL *);
+ virtual ::java::awt::image::ColorModel * getColorModel();
+ virtual JArray< ::java::lang::String * > * getFontList();
+ virtual ::java::awt::FontMetrics * getFontMetrics(::java::awt::Font *);
+ virtual ::java::awt::Image * getImage(::java::lang::String *);
+ virtual ::java::awt::Image * getImage(::java::net::URL *);
+ virtual ::java::awt::PrintJob * getPrintJob(::java::awt::Frame *, ::java::lang::String *, ::java::util::Properties *);
+ virtual jint getScreenResolution();
+ virtual ::java::awt::Dimension * getScreenSize();
+ virtual ::java::awt::datatransfer::Clipboard * getSystemClipboard();
+ virtual ::java::awt::datatransfer::Clipboard * getSystemSelection();
+ virtual jboolean prepareImage(::java::awt::Image *, jint, jint, ::java::awt::image::ImageObserver *);
+ virtual void sync();
+public: // actually protected
+ virtual void setComponentState(::java::awt::Component *, ::gnu::java::awt::peer::gtk::GtkComponentPeer *);
+ virtual ::java::awt::peer::ButtonPeer * createButton(::java::awt::Button *);
+ virtual ::java::awt::peer::CanvasPeer * createCanvas(::java::awt::Canvas *);
+ virtual ::java::awt::peer::CheckboxPeer * createCheckbox(::java::awt::Checkbox *);
+ virtual ::java::awt::peer::CheckboxMenuItemPeer * createCheckboxMenuItem(::java::awt::CheckboxMenuItem *);
+ virtual ::java::awt::peer::ChoicePeer * createChoice(::java::awt::Choice *);
+ virtual ::java::awt::peer::DialogPeer * createDialog(::java::awt::Dialog *);
+ virtual ::java::awt::peer::FileDialogPeer * createFileDialog(::java::awt::FileDialog *);
+ virtual ::java::awt::peer::FramePeer * createFrame(::java::awt::Frame *);
+ virtual ::java::awt::peer::LabelPeer * createLabel(::java::awt::Label *);
+ virtual ::java::awt::peer::ListPeer * createList(::java::awt::List *);
+ virtual ::java::awt::peer::MenuPeer * createMenu(::java::awt::Menu *);
+ virtual ::java::awt::peer::MenuBarPeer * createMenuBar(::java::awt::MenuBar *);
+ virtual ::java::awt::peer::MenuItemPeer * createMenuItem(::java::awt::MenuItem *);
+ virtual ::java::awt::peer::PanelPeer * createPanel(::java::awt::Panel *);
+ virtual ::java::awt::peer::PopupMenuPeer * createPopupMenu(::java::awt::PopupMenu *);
+ virtual ::java::awt::peer::ScrollPanePeer * createScrollPane(::java::awt::ScrollPane *);
+ virtual ::java::awt::peer::ScrollbarPeer * createScrollbar(::java::awt::Scrollbar *);
+ virtual ::java::awt::peer::TextAreaPeer * createTextArea(::java::awt::TextArea *);
+ virtual ::java::awt::peer::TextFieldPeer * createTextField(::java::awt::TextField *);
+ virtual ::java::awt::peer::WindowPeer * createWindow(::java::awt::Window *);
+public:
+ virtual ::gnu::java::awt::peer::EmbeddedWindowPeer * createEmbeddedWindow(::gnu::java::awt::EmbeddedWindow *);
+public: // actually protected
+ virtual ::java::awt::peer::FontPeer * getFontPeer(::java::lang::String *, jint);
+private:
+ ::java::awt::peer::FontPeer * getFontPeer(::java::lang::String *, jint, jint);
+public:
+ virtual ::gnu::java::awt::peer::ClasspathFontPeer * getClasspathFontPeer(::java::lang::String *, ::java::util::Map *);
+public: // actually protected
+ virtual ::java::awt::EventQueue * getSystemEventQueueImpl();
+public:
+ virtual ::java::awt::Cursor * createCustomCursor(::java::awt::Image *, ::java::awt::Point *, ::java::lang::String *);
+public: // actually protected
+ virtual void loadSystemColors(JArray< jint > *);
+public:
+ virtual ::java::awt::dnd::peer::DragSourceContextPeer * createDragSourceContextPeer(::java::awt::dnd::DragGestureEvent *);
+ virtual ::java::awt::dnd::DragGestureRecognizer * createDragGestureRecognizer(::java::lang::Class *, ::java::awt::dnd::DragSource *, ::java::awt::Component *, jint, ::java::awt::dnd::DragGestureListener *);
+ virtual ::java::util::Map * mapInputMethodHighlight(::java::awt::im::InputMethodHighlight *);
+ virtual ::java::awt::Rectangle * getBounds();
+ virtual ::java::awt::GraphicsEnvironment * getLocalGraphicsEnvironment();
+ virtual ::java::awt::Font * createFont(jint, ::java::io::InputStream *);
+ virtual ::java::awt::peer::RobotPeer * createRobot(::java::awt::GraphicsDevice *);
+ virtual jboolean getLockingKeyState(jint);
+public: // actually protected
+ virtual jint getLockState(jint);
+public:
+ virtual void registerImageIOSpis(::javax::imageio::spi::IIORegistry *);
+public: // actually protected
+ virtual ::java::awt::peer::MouseInfoPeer * getMouseInfoPeer();
+public:
+ virtual jboolean isFrameStateSupported(jint);
+private:
+ void checkHeadless();
+public:
+ virtual jint getMouseNumberOfButtons();
+ virtual jboolean isModalExclusionTypeSupported(::java::awt::Dialog$ModalExclusionType *);
+ virtual jboolean isModalityTypeSupported(::java::awt::Dialog$ModalityType *);
+public: // actually package-private
+ static ::java::lang::Object * GTK_LOCK;
+private:
+ static ::java::awt::EventQueue * q;
+ static jboolean initializedGlobalIDs;
+ ::gnu::java::awt::peer::gtk::GtkToolkit$LRUCache * __attribute__((aligned(__alignof__( ::gnu::java::awt::ClasspathToolkit)))) fontCache;
+ ::gnu::java::awt::peer::gtk::GtkToolkit$LRUCache * imageCache;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_java_awt_peer_gtk_GtkToolkit__
diff --git a/libjava/gnu/java/awt/peer/gtk/GtkVolatileImage.h b/libjava/gnu/java/awt/peer/gtk/GtkVolatileImage.h
new file mode 100644
index 000000000..308bc8e7d
--- /dev/null
+++ b/libjava/gnu/java/awt/peer/gtk/GtkVolatileImage.h
@@ -0,0 +1,98 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_java_awt_peer_gtk_GtkVolatileImage__
+#define __gnu_java_awt_peer_gtk_GtkVolatileImage__
+
+#pragma interface
+
+#include <java/awt/image/VolatileImage.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace java
+ {
+ namespace awt
+ {
+ namespace peer
+ {
+ namespace gtk
+ {
+ class GtkComponentPeer;
+ class GtkVolatileImage;
+ }
+ }
+ }
+ }
+ }
+ namespace java
+ {
+ namespace awt
+ {
+ class Graphics;
+ class Graphics2D;
+ class GraphicsConfiguration;
+ class ImageCapabilities;
+ namespace image
+ {
+ class BufferedImage;
+ class ColorModel;
+ class ImageObserver;
+ class SampleModel;
+ }
+ }
+ }
+}
+
+class gnu::java::awt::peer::gtk::GtkVolatileImage : public ::java::awt::image::VolatileImage
+{
+
+public: // actually package-private
+ virtual jlong init(::gnu::java::awt::peer::gtk::GtkComponentPeer *, jint, jint);
+ virtual void destroy(jlong);
+ virtual JArray< jint > * nativeGetPixels(jlong);
+public:
+ virtual JArray< jint > * getPixels();
+public: // actually package-private
+ virtual void nativeCopyArea(jlong, jint, jint, jint, jint, jint, jint);
+public:
+ virtual void copyArea(jint, jint, jint, jint, jint, jint);
+public: // actually package-private
+ virtual void nativeDrawVolatile(jlong, jlong, jint, jint, jint, jint);
+public:
+ virtual void drawVolatile(jlong, jint, jint, jint, jint);
+ GtkVolatileImage(::gnu::java::awt::peer::gtk::GtkComponentPeer *, jint, jint, ::java::awt::ImageCapabilities *);
+ GtkVolatileImage(jint, jint, ::java::awt::ImageCapabilities *);
+ GtkVolatileImage(jint, jint);
+ virtual void finalize();
+ virtual void dispose();
+ virtual ::java::awt::image::BufferedImage * getSnapshot();
+ virtual ::java::awt::Graphics * getGraphics();
+ virtual ::java::awt::Graphics2D * createGraphics();
+ virtual jint validate(::java::awt::GraphicsConfiguration *);
+ virtual jboolean contentsLost();
+ virtual ::java::awt::ImageCapabilities * getCapabilities();
+ virtual jint getWidth();
+ virtual jint getHeight();
+ virtual jint getWidth(::java::awt::image::ImageObserver *);
+ virtual jint getHeight(::java::awt::image::ImageObserver *);
+ virtual ::java::lang::Object * getProperty(::java::lang::String *, ::java::awt::image::ImageObserver *);
+public: // actually protected
+ static ::java::awt::image::SampleModel * createGdkSampleModel(jint, jint);
+public: // actually package-private
+ jint __attribute__((aligned(__alignof__( ::java::awt::image::VolatileImage)))) width;
+ jint height;
+private:
+ ::java::awt::ImageCapabilities * caps;
+public: // actually package-private
+ ::gnu::java::awt::peer::gtk::GtkComponentPeer * component;
+ static ::java::awt::image::ColorModel * gdkColorModel;
+ jlong nativePointer;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_java_awt_peer_gtk_GtkVolatileImage__
diff --git a/libjava/gnu/java/awt/peer/gtk/GtkWindowPeer.h b/libjava/gnu/java/awt/peer/gtk/GtkWindowPeer.h
new file mode 100644
index 000000000..a40f4168d
--- /dev/null
+++ b/libjava/gnu/java/awt/peer/gtk/GtkWindowPeer.h
@@ -0,0 +1,133 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_java_awt_peer_gtk_GtkWindowPeer__
+#define __gnu_java_awt_peer_gtk_GtkWindowPeer__
+
+#pragma interface
+
+#include <gnu/java/awt/peer/gtk/GtkContainerPeer.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace java
+ {
+ namespace awt
+ {
+ namespace peer
+ {
+ namespace gtk
+ {
+ class GtkWindowPeer;
+ }
+ }
+ }
+ }
+ }
+ namespace java
+ {
+ namespace awt
+ {
+ class Component;
+ class Dialog;
+ class Graphics;
+ class Point;
+ class Rectangle;
+ class Window;
+ }
+ }
+}
+
+class gnu::java::awt::peer::gtk::GtkWindowPeer : public ::gnu::java::awt::peer::gtk::GtkContainerPeer
+{
+
+public: // actually package-private
+ virtual void gtkWindowSetTitle(::java::lang::String *);
+ virtual void gtkWindowSetResizable(jboolean);
+ virtual void gtkWindowSetModal(jboolean);
+ virtual void gtkWindowSetAlwaysOnTop(jboolean);
+ virtual jboolean gtkWindowHasFocus();
+ virtual void realize();
+public:
+ virtual void dispose();
+public: // actually package-private
+ virtual jint getX();
+ virtual jint getY();
+ virtual jint getWidth();
+ virtual jint getHeight();
+ virtual void create(jint, jboolean, ::gnu::java::awt::peer::gtk::GtkWindowPeer *);
+ virtual void create(jint, jboolean);
+ virtual void create();
+ virtual void setParent();
+ virtual void setVisibleAndEnabled();
+public:
+ virtual void setVisibleNative(jboolean);
+ virtual void setVisibleNativeUnlocked(jboolean);
+public: // actually package-private
+ virtual void connectSignals();
+public:
+ GtkWindowPeer(::java::awt::Window *);
+ virtual void toBack();
+ virtual void toFront();
+public: // actually package-private
+ virtual void nativeSetBounds(jint, jint, jint, jint);
+ virtual void nativeSetBoundsUnlocked(jint, jint, jint, jint);
+ virtual void nativeSetLocation(jint, jint);
+ virtual void nativeSetLocationUnlocked(jint, jint);
+public: // actually protected
+ virtual void setLocation(jint, jint);
+public:
+ virtual void setBounds(jint, jint, jint, jint);
+ virtual void setTitle(::java::lang::String *);
+public: // actually protected
+ virtual void setSize(jint, jint);
+public:
+ virtual void setResizable(jboolean);
+public: // actually protected
+ virtual void postInsetsChangedEvent(jint, jint, jint, jint);
+ virtual void postConfigureEvent(jint, jint, jint, jint);
+public:
+ virtual void show();
+public: // actually package-private
+ virtual void postWindowEvent(jint, ::java::awt::Window *, jint);
+public:
+ virtual void updateAlwaysOnTop();
+public: // actually protected
+ virtual void postExposeEvent(jint, jint, jint, jint);
+public:
+ virtual jboolean requestWindowFocus();
+ virtual jboolean requestFocus(::java::awt::Component *, jboolean, jboolean, jlong);
+ virtual ::java::awt::Graphics * getGraphics();
+public: // actually protected
+ virtual void postMouseEvent(jint, jlong, jint, jint, jint, jint, jboolean);
+public:
+ virtual ::java::awt::Point * getLocationOnScreen();
+ virtual ::java::awt::Rectangle * getBounds();
+ virtual void updateIconImages();
+ virtual void updateMinimumSize();
+ virtual void setModalBlocked(::java::awt::Dialog *, jboolean);
+ virtual void updateFocusableWindowState();
+ virtual void setAlwaysOnTop(jboolean);
+public: // actually protected
+ static const jint GDK_WINDOW_TYPE_HINT_NORMAL = 0;
+ static const jint GDK_WINDOW_TYPE_HINT_DIALOG = 1;
+ static const jint GDK_WINDOW_TYPE_HINT_MENU = 2;
+ static const jint GDK_WINDOW_TYPE_HINT_TOOLBAR = 3;
+ static const jint GDK_WINDOW_TYPE_HINT_SPLASHSCREEN = 4;
+ static const jint GDK_WINDOW_TYPE_HINT_UTILITY = 5;
+ static const jint GDK_WINDOW_TYPE_HINT_DOCK = 6;
+ static const jint GDK_WINDOW_TYPE_HINT_DESKTOP = 7;
+ jint __attribute__((aligned(__alignof__( ::gnu::java::awt::peer::gtk::GtkContainerPeer)))) windowState;
+private:
+ jint x;
+ jint y;
+ jint width;
+ jint height;
+public: // actually package-private
+ static jboolean $assertionsDisabled;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_java_awt_peer_gtk_GtkWindowPeer__
diff --git a/libjava/gnu/java/awt/peer/gtk/VolatileImageGraphics.h b/libjava/gnu/java/awt/peer/gtk/VolatileImageGraphics.h
new file mode 100644
index 000000000..b7f0121d9
--- /dev/null
+++ b/libjava/gnu/java/awt/peer/gtk/VolatileImageGraphics.h
@@ -0,0 +1,90 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_java_awt_peer_gtk_VolatileImageGraphics__
+#define __gnu_java_awt_peer_gtk_VolatileImageGraphics__
+
+#pragma interface
+
+#include <gnu/java/awt/peer/gtk/ComponentGraphics.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace java
+ {
+ namespace awt
+ {
+ namespace peer
+ {
+ namespace gtk
+ {
+ class GtkVolatileImage;
+ class VolatileImageGraphics;
+ }
+ }
+ }
+ }
+ }
+ namespace java
+ {
+ namespace awt
+ {
+ class Color;
+ class Graphics;
+ class GraphicsConfiguration;
+ class Image;
+ class Shape;
+ namespace font
+ {
+ class GlyphVector;
+ }
+ namespace geom
+ {
+ class AffineTransform;
+ class Rectangle2D;
+ }
+ namespace image
+ {
+ class BufferedImage;
+ class ColorModel;
+ class ImageObserver;
+ }
+ }
+ }
+}
+
+class gnu::java::awt::peer::gtk::VolatileImageGraphics : public ::gnu::java::awt::peer::gtk::ComponentGraphics
+{
+
+public:
+ VolatileImageGraphics(::gnu::java::awt::peer::gtk::GtkVolatileImage *);
+private:
+ VolatileImageGraphics(::gnu::java::awt::peer::gtk::VolatileImageGraphics *);
+public:
+ virtual void copyAreaImpl(jint, jint, jint, jint, jint, jint);
+ virtual ::java::awt::GraphicsConfiguration * getDeviceConfiguration();
+ virtual ::java::awt::Graphics * create();
+ virtual void draw(::java::awt::Shape *);
+ virtual void fill(::java::awt::Shape *);
+ virtual void drawGlyphVector(::java::awt::font::GlyphVector *, jfloat, jfloat);
+public: // actually protected
+ virtual jboolean drawImage(::java::awt::Image *, ::java::awt::geom::AffineTransform *, ::java::awt::Color *, ::java::awt::image::ImageObserver *);
+public:
+ virtual jboolean drawImage(::java::awt::Image *, jint, jint, ::java::awt::image::ImageObserver *);
+ virtual jboolean drawImage(::java::awt::Image *, jint, jint, jint, jint, ::java::awt::image::ImageObserver *);
+public: // actually protected
+ virtual ::java::awt::geom::Rectangle2D * getRealBounds();
+private:
+ jboolean drawComposite(::java::awt::geom::Rectangle2D *, ::java::awt::image::ImageObserver *);
+ void createBuffer();
+public: // actually protected
+ virtual ::java::awt::image::ColorModel * getNativeCM();
+private:
+ ::gnu::java::awt::peer::gtk::GtkVolatileImage * __attribute__((aligned(__alignof__( ::gnu::java::awt::peer::gtk::ComponentGraphics)))) owner;
+ ::java::awt::image::BufferedImage * buffer;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_java_awt_peer_gtk_VolatileImageGraphics__
diff --git a/libjava/gnu/java/awt/peer/headless/HeadlessGraphicsEnvironment.h b/libjava/gnu/java/awt/peer/headless/HeadlessGraphicsEnvironment.h
new file mode 100644
index 000000000..fc1b98df6
--- /dev/null
+++ b/libjava/gnu/java/awt/peer/headless/HeadlessGraphicsEnvironment.h
@@ -0,0 +1,59 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_java_awt_peer_headless_HeadlessGraphicsEnvironment__
+#define __gnu_java_awt_peer_headless_HeadlessGraphicsEnvironment__
+
+#pragma interface
+
+#include <java/awt/GraphicsEnvironment.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace java
+ {
+ namespace awt
+ {
+ namespace peer
+ {
+ namespace headless
+ {
+ class HeadlessGraphicsEnvironment;
+ }
+ }
+ }
+ }
+ }
+ namespace java
+ {
+ namespace awt
+ {
+ class Font;
+ class Graphics2D;
+ class GraphicsDevice;
+ namespace image
+ {
+ class BufferedImage;
+ }
+ }
+ }
+}
+
+class gnu::java::awt::peer::headless::HeadlessGraphicsEnvironment : public ::java::awt::GraphicsEnvironment
+{
+
+public:
+ HeadlessGraphicsEnvironment();
+ virtual ::java::awt::Graphics2D * createGraphics(::java::awt::image::BufferedImage *);
+ virtual JArray< ::java::awt::Font * > * getAllFonts();
+ virtual JArray< ::java::lang::String * > * getAvailableFontFamilyNames();
+ virtual JArray< ::java::lang::String * > * getAvailableFontFamilyNames(::java::util::Locale *);
+ virtual ::java::awt::GraphicsDevice * getDefaultScreenDevice();
+ virtual JArray< ::java::awt::GraphicsDevice * > * getScreenDevices();
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_java_awt_peer_headless_HeadlessGraphicsEnvironment__
diff --git a/libjava/gnu/java/awt/peer/headless/HeadlessToolkit.h b/libjava/gnu/java/awt/peer/headless/HeadlessToolkit.h
new file mode 100644
index 000000000..657b32333
--- /dev/null
+++ b/libjava/gnu/java/awt/peer/headless/HeadlessToolkit.h
@@ -0,0 +1,192 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_java_awt_peer_headless_HeadlessToolkit__
+#define __gnu_java_awt_peer_headless_HeadlessToolkit__
+
+#pragma interface
+
+#include <gnu/java/awt/ClasspathToolkit.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace java
+ {
+ namespace awt
+ {
+ class EmbeddedWindow;
+ namespace peer
+ {
+ class ClasspathFontPeer;
+ class EmbeddedWindowPeer;
+ namespace headless
+ {
+ class HeadlessGraphicsEnvironment;
+ class HeadlessToolkit;
+ }
+ }
+ }
+ }
+ }
+ namespace java
+ {
+ namespace awt
+ {
+ class Button;
+ class Canvas;
+ class Checkbox;
+ class CheckboxMenuItem;
+ class Choice;
+ class Dialog;
+ class Dialog$ModalExclusionType;
+ class Dialog$ModalityType;
+ class Dimension;
+ class EventQueue;
+ class FileDialog;
+ class Font;
+ class FontMetrics;
+ class Frame;
+ class GraphicsDevice;
+ class GraphicsEnvironment;
+ class Image;
+ class Label;
+ class List;
+ class Menu;
+ class MenuBar;
+ class MenuItem;
+ class Panel;
+ class PopupMenu;
+ class PrintJob;
+ class ScrollPane;
+ class Scrollbar;
+ class TextArea;
+ class TextField;
+ class Window;
+ namespace datatransfer
+ {
+ class Clipboard;
+ }
+ namespace dnd
+ {
+ class DragGestureEvent;
+ namespace peer
+ {
+ class DragSourceContextPeer;
+ }
+ }
+ namespace im
+ {
+ class InputMethodHighlight;
+ }
+ namespace image
+ {
+ class ColorModel;
+ class ImageObserver;
+ class ImageProducer;
+ }
+ namespace peer
+ {
+ class ButtonPeer;
+ class CanvasPeer;
+ class CheckboxMenuItemPeer;
+ class CheckboxPeer;
+ class ChoicePeer;
+ class DialogPeer;
+ class FileDialogPeer;
+ class FontPeer;
+ class FramePeer;
+ class LabelPeer;
+ class ListPeer;
+ class MenuBarPeer;
+ class MenuItemPeer;
+ class MenuPeer;
+ class PanelPeer;
+ class PopupMenuPeer;
+ class RobotPeer;
+ class ScrollPanePeer;
+ class ScrollbarPeer;
+ class TextAreaPeer;
+ class TextFieldPeer;
+ class WindowPeer;
+ }
+ }
+ namespace net
+ {
+ class URL;
+ }
+ }
+}
+
+class gnu::java::awt::peer::headless::HeadlessToolkit : public ::gnu::java::awt::ClasspathToolkit
+{
+
+public:
+ HeadlessToolkit();
+ virtual void beep();
+ virtual jint checkImage(::java::awt::Image *, jint, jint, ::java::awt::image::ImageObserver *);
+public: // actually protected
+ virtual ::java::awt::peer::ButtonPeer * createButton(::java::awt::Button *);
+ virtual ::java::awt::peer::CanvasPeer * createCanvas(::java::awt::Canvas *);
+ virtual ::java::awt::peer::CheckboxPeer * createCheckbox(::java::awt::Checkbox *);
+ virtual ::java::awt::peer::CheckboxMenuItemPeer * createCheckboxMenuItem(::java::awt::CheckboxMenuItem *);
+ virtual ::java::awt::peer::ChoicePeer * createChoice(::java::awt::Choice *);
+ virtual ::java::awt::peer::DialogPeer * createDialog(::java::awt::Dialog *);
+public:
+ virtual ::java::awt::dnd::peer::DragSourceContextPeer * createDragSourceContextPeer(::java::awt::dnd::DragGestureEvent *);
+public: // actually protected
+ virtual ::java::awt::peer::FileDialogPeer * createFileDialog(::java::awt::FileDialog *);
+ virtual ::java::awt::peer::FramePeer * createFrame(::java::awt::Frame *);
+public:
+ virtual ::java::awt::Image * createImage(::java::lang::String *);
+ virtual ::java::awt::Image * createImage(::java::net::URL *);
+ virtual ::java::awt::Image * createImage(::java::awt::image::ImageProducer *);
+ virtual ::java::awt::Image * createImage(JArray< jbyte > *, jint, jint);
+public: // actually protected
+ virtual ::java::awt::peer::LabelPeer * createLabel(::java::awt::Label *);
+ virtual ::java::awt::peer::ListPeer * createList(::java::awt::List *);
+ virtual ::java::awt::peer::MenuPeer * createMenu(::java::awt::Menu *);
+ virtual ::java::awt::peer::MenuBarPeer * createMenuBar(::java::awt::MenuBar *);
+ virtual ::java::awt::peer::MenuItemPeer * createMenuItem(::java::awt::MenuItem *);
+ virtual ::java::awt::peer::PanelPeer * createPanel(::java::awt::Panel *);
+ virtual ::java::awt::peer::PopupMenuPeer * createPopupMenu(::java::awt::PopupMenu *);
+ virtual ::java::awt::peer::ScrollPanePeer * createScrollPane(::java::awt::ScrollPane *);
+ virtual ::java::awt::peer::ScrollbarPeer * createScrollbar(::java::awt::Scrollbar *);
+ virtual ::java::awt::peer::TextAreaPeer * createTextArea(::java::awt::TextArea *);
+ virtual ::java::awt::peer::TextFieldPeer * createTextField(::java::awt::TextField *);
+ virtual ::java::awt::peer::WindowPeer * createWindow(::java::awt::Window *);
+public:
+ virtual ::java::awt::image::ColorModel * getColorModel();
+ virtual JArray< ::java::lang::String * > * getFontList();
+ virtual ::java::awt::FontMetrics * getFontMetrics(::java::awt::Font *);
+public: // actually protected
+ virtual ::java::awt::peer::FontPeer * getFontPeer(::java::lang::String *, jint);
+public:
+ virtual ::java::awt::Image * getImage(::java::lang::String *);
+ virtual ::java::awt::Image * getImage(::java::net::URL *);
+ virtual ::java::awt::PrintJob * getPrintJob(::java::awt::Frame *, ::java::lang::String *, ::java::util::Properties *);
+ virtual jint getScreenResolution();
+ virtual ::java::awt::Dimension * getScreenSize();
+ virtual ::java::awt::datatransfer::Clipboard * getSystemClipboard();
+public: // actually protected
+ virtual ::java::awt::EventQueue * getSystemEventQueueImpl();
+public:
+ virtual ::java::util::Map * mapInputMethodHighlight(::java::awt::im::InputMethodHighlight *);
+ virtual jboolean prepareImage(::java::awt::Image *, jint, jint, ::java::awt::image::ImageObserver *);
+ virtual void sync();
+ virtual ::gnu::java::awt::peer::EmbeddedWindowPeer * createEmbeddedWindow(::gnu::java::awt::EmbeddedWindow *);
+ virtual ::java::awt::Font * createFont(jint, ::java::io::InputStream *);
+ virtual ::java::awt::peer::RobotPeer * createRobot(::java::awt::GraphicsDevice *);
+ virtual ::gnu::java::awt::peer::ClasspathFontPeer * getClasspathFontPeer(::java::lang::String *, ::java::util::Map *);
+ virtual ::java::awt::GraphicsEnvironment * getLocalGraphicsEnvironment();
+ virtual jboolean isModalExclusionTypeSupported(::java::awt::Dialog$ModalExclusionType *);
+ virtual jboolean isModalityTypeSupported(::java::awt::Dialog$ModalityType *);
+private:
+ ::gnu::java::awt::peer::headless::HeadlessGraphicsEnvironment * __attribute__((aligned(__alignof__( ::gnu::java::awt::ClasspathToolkit)))) graphicsEnv;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_java_awt_peer_headless_HeadlessToolkit__
diff --git a/libjava/gnu/java/awt/peer/qt/MainQtThread.h b/libjava/gnu/java/awt/peer/qt/MainQtThread.h
new file mode 100644
index 000000000..9d3b74635
--- /dev/null
+++ b/libjava/gnu/java/awt/peer/qt/MainQtThread.h
@@ -0,0 +1,50 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_java_awt_peer_qt_MainQtThread__
+#define __gnu_java_awt_peer_qt_MainQtThread__
+
+#pragma interface
+
+#include <java/lang/Thread.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace java
+ {
+ namespace awt
+ {
+ namespace peer
+ {
+ namespace qt
+ {
+ class MainQtThread;
+ }
+ }
+ }
+ }
+ }
+}
+
+class gnu::java::awt::peer::qt::MainQtThread : public ::java::lang::Thread
+{
+
+public:
+ MainQtThread(::java::lang::String *, jboolean);
+ virtual jboolean isRunning();
+ virtual jlong init(::java::lang::String *, jboolean);
+ virtual void exec(jlong);
+ virtual void run();
+public: // actually package-private
+ jlong __attribute__((aligned(__alignof__( ::java::lang::Thread)))) QApplicationPointer;
+ jlong mainThreadInterface;
+ ::java::lang::String * theme;
+private:
+ jboolean running;
+ jboolean doublebuffer;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_java_awt_peer_qt_MainQtThread__
diff --git a/libjava/gnu/java/awt/peer/qt/NativeWrapper.h b/libjava/gnu/java/awt/peer/qt/NativeWrapper.h
new file mode 100644
index 000000000..0bf62e0d3
--- /dev/null
+++ b/libjava/gnu/java/awt/peer/qt/NativeWrapper.h
@@ -0,0 +1,41 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_java_awt_peer_qt_NativeWrapper__
+#define __gnu_java_awt_peer_qt_NativeWrapper__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace java
+ {
+ namespace awt
+ {
+ namespace peer
+ {
+ namespace qt
+ {
+ class NativeWrapper;
+ }
+ }
+ }
+ }
+ }
+}
+
+class gnu::java::awt::peer::qt::NativeWrapper : public ::java::lang::Object
+{
+
+public:
+ NativeWrapper();
+public: // actually protected
+ jlong __attribute__((aligned(__alignof__( ::java::lang::Object)))) nativeObject;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_java_awt_peer_qt_NativeWrapper__
diff --git a/libjava/gnu/java/awt/peer/qt/QMatrix.h b/libjava/gnu/java/awt/peer/qt/QMatrix.h
new file mode 100644
index 000000000..7ff6bfbca
--- /dev/null
+++ b/libjava/gnu/java/awt/peer/qt/QMatrix.h
@@ -0,0 +1,57 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_java_awt_peer_qt_QMatrix__
+#define __gnu_java_awt_peer_qt_QMatrix__
+
+#pragma interface
+
+#include <gnu/java/awt/peer/qt/NativeWrapper.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace java
+ {
+ namespace awt
+ {
+ namespace peer
+ {
+ namespace qt
+ {
+ class QMatrix;
+ }
+ }
+ }
+ }
+ }
+ namespace java
+ {
+ namespace awt
+ {
+ namespace geom
+ {
+ class AffineTransform;
+ }
+ }
+ }
+}
+
+class gnu::java::awt::peer::qt::QMatrix : public ::gnu::java::awt::peer::qt::NativeWrapper
+{
+
+public:
+ QMatrix(::java::awt::geom::AffineTransform *);
+private:
+ void init(jdouble, jdouble, jdouble, jdouble, jdouble, jdouble);
+ JArray< jdouble > * getMatrix();
+public:
+ virtual ::java::awt::geom::AffineTransform * getTransform();
+ virtual void dispose();
+ virtual void finalize();
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_java_awt_peer_qt_QMatrix__
diff --git a/libjava/gnu/java/awt/peer/qt/QPainterPath.h b/libjava/gnu/java/awt/peer/qt/QPainterPath.h
new file mode 100644
index 000000000..ffc104ea6
--- /dev/null
+++ b/libjava/gnu/java/awt/peer/qt/QPainterPath.h
@@ -0,0 +1,64 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_java_awt_peer_qt_QPainterPath__
+#define __gnu_java_awt_peer_qt_QPainterPath__
+
+#pragma interface
+
+#include <gnu/java/awt/peer/qt/NativeWrapper.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace java
+ {
+ namespace awt
+ {
+ namespace peer
+ {
+ namespace qt
+ {
+ class QPainterPath;
+ }
+ }
+ }
+ }
+ }
+ namespace java
+ {
+ namespace awt
+ {
+ class Shape;
+ namespace geom
+ {
+ class GeneralPath;
+ }
+ }
+ }
+}
+
+class gnu::java::awt::peer::qt::QPainterPath : public ::gnu::java::awt::peer::qt::NativeWrapper
+{
+
+public: // actually package-private
+ QPainterPath();
+public:
+ QPainterPath(::java::awt::Shape *);
+ QPainterPath(jdouble, jdouble, jdouble, jdouble);
+ QPainterPath(jdouble, jdouble, jdouble, jdouble, jboolean);
+ virtual ::java::awt::geom::GeneralPath * getPath();
+private:
+ void init(jint);
+ void moveTo(jdouble, jdouble);
+ void close();
+ void lineTo(jdouble, jdouble);
+ void quadTo(jdouble, jdouble, jdouble, jdouble);
+ void cubicTo(jdouble, jdouble, jdouble, jdouble, jdouble, jdouble);
+public:
+ virtual void dispose();
+ virtual void finalize();
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_java_awt_peer_qt_QPainterPath__
diff --git a/libjava/gnu/java/awt/peer/qt/QPen.h b/libjava/gnu/java/awt/peer/qt/QPen.h
new file mode 100644
index 000000000..973e24c31
--- /dev/null
+++ b/libjava/gnu/java/awt/peer/qt/QPen.h
@@ -0,0 +1,50 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_java_awt_peer_qt_QPen__
+#define __gnu_java_awt_peer_qt_QPen__
+
+#pragma interface
+
+#include <gnu/java/awt/peer/qt/NativeWrapper.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace java
+ {
+ namespace awt
+ {
+ namespace peer
+ {
+ namespace qt
+ {
+ class QPen;
+ }
+ }
+ }
+ }
+ }
+ namespace java
+ {
+ namespace awt
+ {
+ class Stroke;
+ }
+ }
+}
+
+class gnu::java::awt::peer::qt::QPen : public ::gnu::java::awt::peer::qt::NativeWrapper
+{
+
+public:
+ QPen(::java::awt::Stroke *);
+private:
+ void init(jdouble, jint, jint, jdouble);
+public:
+ virtual void dispose();
+ virtual void finalize();
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_java_awt_peer_qt_QPen__
diff --git a/libjava/gnu/java/awt/peer/qt/QtAudioClip.h b/libjava/gnu/java/awt/peer/qt/QtAudioClip.h
new file mode 100644
index 000000000..4e74b63a6
--- /dev/null
+++ b/libjava/gnu/java/awt/peer/qt/QtAudioClip.h
@@ -0,0 +1,64 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_java_awt_peer_qt_QtAudioClip__
+#define __gnu_java_awt_peer_qt_QtAudioClip__
+
+#pragma interface
+
+#include <gnu/java/awt/peer/qt/NativeWrapper.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace java
+ {
+ namespace awt
+ {
+ namespace peer
+ {
+ namespace qt
+ {
+ class QtAudioClip;
+ }
+ }
+ }
+ }
+ }
+ namespace java
+ {
+ namespace awt
+ {
+ class Toolkit;
+ }
+ namespace net
+ {
+ class URL;
+ }
+ }
+}
+
+class gnu::java::awt::peer::qt::QtAudioClip : public ::gnu::java::awt::peer::qt::NativeWrapper
+{
+
+public:
+ QtAudioClip(::java::lang::String *);
+ QtAudioClip(::java::net::URL *);
+private:
+ void loadClip(::java::lang::String *);
+ void play(jboolean);
+ jboolean isAvailable();
+ void checkForQt();
+public:
+ virtual void loop();
+ virtual void play();
+ virtual void stop();
+ virtual void dispose();
+ virtual void finalize();
+private:
+ static ::java::awt::Toolkit * t;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_java_awt_peer_qt_QtAudioClip__
diff --git a/libjava/gnu/java/awt/peer/qt/QtButtonPeer.h b/libjava/gnu/java/awt/peer/qt/QtButtonPeer.h
new file mode 100644
index 000000000..5476a04ba
--- /dev/null
+++ b/libjava/gnu/java/awt/peer/qt/QtButtonPeer.h
@@ -0,0 +1,53 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_java_awt_peer_qt_QtButtonPeer__
+#define __gnu_java_awt_peer_qt_QtButtonPeer__
+
+#pragma interface
+
+#include <gnu/java/awt/peer/qt/QtComponentPeer.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace java
+ {
+ namespace awt
+ {
+ namespace peer
+ {
+ namespace qt
+ {
+ class QtButtonPeer;
+ class QtToolkit;
+ }
+ }
+ }
+ }
+ }
+ namespace java
+ {
+ namespace awt
+ {
+ class Button;
+ }
+ }
+}
+
+class gnu::java::awt::peer::qt::QtButtonPeer : public ::gnu::java::awt::peer::qt::QtComponentPeer
+{
+
+public:
+ QtButtonPeer(::gnu::java::awt::peer::qt::QtToolkit *, ::java::awt::Button *);
+ virtual void init();
+public: // actually protected
+ virtual void setup();
+public: // actually package-private
+ virtual void fireClick(jint);
+public:
+ virtual void setLabel(::java::lang::String *);
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_java_awt_peer_qt_QtButtonPeer__
diff --git a/libjava/gnu/java/awt/peer/qt/QtCanvasPeer.h b/libjava/gnu/java/awt/peer/qt/QtCanvasPeer.h
new file mode 100644
index 000000000..1d8be8c36
--- /dev/null
+++ b/libjava/gnu/java/awt/peer/qt/QtCanvasPeer.h
@@ -0,0 +1,52 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_java_awt_peer_qt_QtCanvasPeer__
+#define __gnu_java_awt_peer_qt_QtCanvasPeer__
+
+#pragma interface
+
+#include <gnu/java/awt/peer/qt/QtComponentPeer.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace java
+ {
+ namespace awt
+ {
+ namespace peer
+ {
+ namespace qt
+ {
+ class QtCanvasPeer;
+ class QtToolkit;
+ }
+ }
+ }
+ }
+ }
+ namespace java
+ {
+ namespace awt
+ {
+ class Canvas;
+ class Dimension;
+ }
+ }
+}
+
+class gnu::java::awt::peer::qt::QtCanvasPeer : public ::gnu::java::awt::peer::qt::QtComponentPeer
+{
+
+public:
+ QtCanvasPeer(::gnu::java::awt::peer::qt::QtToolkit *, ::java::awt::Canvas *);
+ virtual void init();
+public: // actually protected
+ virtual void setup();
+public:
+ virtual ::java::awt::Dimension * getPreferredSize();
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_java_awt_peer_qt_QtCanvasPeer__
diff --git a/libjava/gnu/java/awt/peer/qt/QtCheckboxPeer.h b/libjava/gnu/java/awt/peer/qt/QtCheckboxPeer.h
new file mode 100644
index 000000000..f90ce36e3
--- /dev/null
+++ b/libjava/gnu/java/awt/peer/qt/QtCheckboxPeer.h
@@ -0,0 +1,60 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_java_awt_peer_qt_QtCheckboxPeer__
+#define __gnu_java_awt_peer_qt_QtCheckboxPeer__
+
+#pragma interface
+
+#include <gnu/java/awt/peer/qt/QtComponentPeer.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace java
+ {
+ namespace awt
+ {
+ namespace peer
+ {
+ namespace qt
+ {
+ class QtCheckboxPeer;
+ class QtToolkit;
+ }
+ }
+ }
+ }
+ }
+ namespace java
+ {
+ namespace awt
+ {
+ class Checkbox;
+ class CheckboxGroup;
+ }
+ }
+}
+
+class gnu::java::awt::peer::qt::QtCheckboxPeer : public ::gnu::java::awt::peer::qt::QtComponentPeer
+{
+
+public:
+ QtCheckboxPeer(::gnu::java::awt::peer::qt::QtToolkit *, ::java::awt::Checkbox *);
+public: // actually protected
+ virtual void init();
+ virtual void setup();
+private:
+ void fireToggle(jboolean);
+public:
+ virtual void setCheckboxGroup(::java::awt::CheckboxGroup *);
+ virtual void setLabel(::java::lang::String *);
+ virtual void setState(jboolean);
+private:
+ ::java::awt::CheckboxGroup * __attribute__((aligned(__alignof__( ::gnu::java::awt::peer::qt::QtComponentPeer)))) group;
+ static ::java::util::WeakHashMap * groupMap;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_java_awt_peer_qt_QtCheckboxPeer__
diff --git a/libjava/gnu/java/awt/peer/qt/QtChoicePeer.h b/libjava/gnu/java/awt/peer/qt/QtChoicePeer.h
new file mode 100644
index 000000000..46a12c255
--- /dev/null
+++ b/libjava/gnu/java/awt/peer/qt/QtChoicePeer.h
@@ -0,0 +1,57 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_java_awt_peer_qt_QtChoicePeer__
+#define __gnu_java_awt_peer_qt_QtChoicePeer__
+
+#pragma interface
+
+#include <gnu/java/awt/peer/qt/QtComponentPeer.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace java
+ {
+ namespace awt
+ {
+ namespace peer
+ {
+ namespace qt
+ {
+ class QtChoicePeer;
+ class QtToolkit;
+ }
+ }
+ }
+ }
+ }
+ namespace java
+ {
+ namespace awt
+ {
+ class Choice;
+ }
+ }
+}
+
+class gnu::java::awt::peer::qt::QtChoicePeer : public ::gnu::java::awt::peer::qt::QtComponentPeer
+{
+
+public:
+ QtChoicePeer(::gnu::java::awt::peer::qt::QtToolkit *, ::java::awt::Choice *);
+public: // actually protected
+ virtual void init();
+ virtual void setup();
+private:
+ void fireChoice(jint);
+public:
+ virtual void add(::java::lang::String *, jint);
+ virtual void addItem(::java::lang::String *, jint);
+ virtual void remove(jint);
+ virtual void removeAll();
+ virtual void select(jint);
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_java_awt_peer_qt_QtChoicePeer__
diff --git a/libjava/gnu/java/awt/peer/qt/QtComponentGraphics.h b/libjava/gnu/java/awt/peer/qt/QtComponentGraphics.h
new file mode 100644
index 000000000..733247abf
--- /dev/null
+++ b/libjava/gnu/java/awt/peer/qt/QtComponentGraphics.h
@@ -0,0 +1,56 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_java_awt_peer_qt_QtComponentGraphics__
+#define __gnu_java_awt_peer_qt_QtComponentGraphics__
+
+#pragma interface
+
+#include <gnu/java/awt/peer/qt/QtGraphics.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace java
+ {
+ namespace awt
+ {
+ namespace peer
+ {
+ namespace qt
+ {
+ class QtComponentGraphics;
+ class QtComponentPeer;
+ }
+ }
+ }
+ }
+ }
+ namespace java
+ {
+ namespace awt
+ {
+ class Graphics;
+ class GraphicsConfiguration;
+ }
+ }
+}
+
+class gnu::java::awt::peer::qt::QtComponentGraphics : public ::gnu::java::awt::peer::qt::QtGraphics
+{
+
+public:
+ QtComponentGraphics(jlong, ::gnu::java::awt::peer::qt::QtComponentPeer *, jint, jint, jint, jint);
+public: // actually package-private
+ QtComponentGraphics(::gnu::java::awt::peer::qt::QtComponentGraphics *);
+public:
+ virtual ::java::awt::Graphics * create();
+ virtual void copyArea(jint, jint, jint, jint, jint, jint);
+ virtual ::java::awt::GraphicsConfiguration * getDeviceConfiguration();
+private:
+ ::gnu::java::awt::peer::qt::QtComponentPeer * __attribute__((aligned(__alignof__( ::gnu::java::awt::peer::qt::QtGraphics)))) peer;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_java_awt_peer_qt_QtComponentGraphics__
diff --git a/libjava/gnu/java/awt/peer/qt/QtComponentPeer$RepaintTimerTask.h b/libjava/gnu/java/awt/peer/qt/QtComponentPeer$RepaintTimerTask.h
new file mode 100644
index 000000000..90f962941
--- /dev/null
+++ b/libjava/gnu/java/awt/peer/qt/QtComponentPeer$RepaintTimerTask.h
@@ -0,0 +1,50 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_java_awt_peer_qt_QtComponentPeer$RepaintTimerTask__
+#define __gnu_java_awt_peer_qt_QtComponentPeer$RepaintTimerTask__
+
+#pragma interface
+
+#include <java/util/TimerTask.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace java
+ {
+ namespace awt
+ {
+ namespace peer
+ {
+ namespace qt
+ {
+ class QtComponentPeer;
+ class QtComponentPeer$RepaintTimerTask;
+ }
+ }
+ }
+ }
+ }
+}
+
+class gnu::java::awt::peer::qt::QtComponentPeer$RepaintTimerTask : public ::java::util::TimerTask
+{
+
+public: // actually package-private
+ QtComponentPeer$RepaintTimerTask(::gnu::java::awt::peer::qt::QtComponentPeer *, ::gnu::java::awt::peer::qt::QtComponentPeer *, jint, jint, jint, jint);
+public:
+ virtual void run();
+private:
+ jint __attribute__((aligned(__alignof__( ::java::util::TimerTask)))) x;
+ jint y;
+ jint w;
+ jint h;
+ ::gnu::java::awt::peer::qt::QtComponentPeer * peer;
+public: // actually package-private
+ ::gnu::java::awt::peer::qt::QtComponentPeer * this$0;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_java_awt_peer_qt_QtComponentPeer$RepaintTimerTask__
diff --git a/libjava/gnu/java/awt/peer/qt/QtComponentPeer.h b/libjava/gnu/java/awt/peer/qt/QtComponentPeer.h
new file mode 100644
index 000000000..4688b8e3f
--- /dev/null
+++ b/libjava/gnu/java/awt/peer/qt/QtComponentPeer.h
@@ -0,0 +1,197 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_java_awt_peer_qt_QtComponentPeer__
+#define __gnu_java_awt_peer_qt_QtComponentPeer__
+
+#pragma interface
+
+#include <gnu/java/awt/peer/qt/NativeWrapper.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace java
+ {
+ namespace awt
+ {
+ namespace peer
+ {
+ namespace qt
+ {
+ class QtComponentPeer;
+ class QtContainerPeer;
+ class QtFontPeer;
+ class QtImage;
+ class QtToolkit;
+ }
+ }
+ }
+ }
+ }
+ namespace java
+ {
+ namespace awt
+ {
+ class AWTEvent;
+ class BufferCapabilities;
+ class BufferCapabilities$FlipContents;
+ class Color;
+ class Component;
+ class Cursor;
+ class Dimension;
+ class Font;
+ class FontMetrics;
+ class Graphics;
+ class GraphicsConfiguration;
+ class Image;
+ class Point;
+ class Rectangle;
+ class Toolkit;
+ namespace event
+ {
+ class PaintEvent;
+ }
+ namespace image
+ {
+ class ColorModel;
+ class ImageObserver;
+ class ImageProducer;
+ class VolatileImage;
+ }
+ namespace peer
+ {
+ class ContainerPeer;
+ }
+ }
+ }
+ namespace sun
+ {
+ namespace awt
+ {
+ class CausedFocusEvent$Cause;
+ }
+ }
+}
+
+class gnu::java::awt::peer::qt::QtComponentPeer : public ::gnu::java::awt::peer::qt::NativeWrapper
+{
+
+public: // actually package-private
+ QtComponentPeer(::gnu::java::awt::peer::qt::QtToolkit *, ::java::awt::Component *);
+public: // actually protected
+ virtual void callInit();
+ virtual void init();
+ virtual void setup();
+public: // actually package-private
+ virtual void QtUpdate();
+ virtual void QtUpdateArea(jint, jint, jint, jint);
+private:
+ void disposeNative();
+ void setGround(jint, jint, jint, jboolean);
+ void setBoundsNative(jint, jint, jint, jint);
+ void setCursor(jint);
+ ::java::awt::Color * getNativeBackground();
+ void setFontNative(::gnu::java::awt::peer::qt::QtFontPeer *);
+ jint whichScreen();
+ void reparentNative(::gnu::java::awt::peer::qt::QtContainerPeer *);
+ void getLocationOnScreenNative(::java::awt::Point *);
+ jboolean drawableComponent();
+public: // actually package-private
+ virtual void updateBounds();
+ virtual void updateBackBuffer(jint, jint);
+public: // actually protected
+ virtual void closeEvent();
+ virtual void enterEvent(jint, jint, jint, jint);
+ virtual void focusInEvent();
+ virtual void focusOutEvent();
+ virtual void keyPressEvent(jint, jint, jint, jint);
+ virtual void keyReleaseEvent(jint, jint, jint, jint);
+ virtual void leaveEvent(jint, jint, jint, jint);
+ virtual void mouseDoubleClickEvent(jint, jint, jint, jint);
+ virtual void mouseMoveEvent(jint, jint, jint, jint);
+ virtual void mousePressEvent(jint, jint, jint, jint);
+ virtual void mouseReleaseEvent(jint, jint, jint, jint);
+ virtual void moveEvent(jint, jint, jint, jint);
+ virtual void resizeEvent(jint, jint, jint, jint);
+ virtual void showEvent();
+ virtual void hideEvent();
+public:
+ virtual void setEventMask(jlong);
+ virtual jboolean canDetermineObscurity();
+ virtual jint checkImage(::java::awt::Image *, jint, jint, ::java::awt::image::ImageObserver *);
+ virtual void createBuffers(jint, ::java::awt::BufferCapabilities *);
+ virtual ::java::awt::Image * createImage(::java::awt::image::ImageProducer *);
+ virtual ::java::awt::Image * createImage(jint, jint);
+ virtual void coalescePaintEvent(::java::awt::event::PaintEvent *);
+ virtual ::java::awt::image::VolatileImage * createVolatileImage(jint, jint);
+ virtual void destroyBuffers();
+ virtual void disable();
+ virtual void dispose();
+ virtual void enable();
+ virtual void finalize();
+ virtual void flip(::java::awt::BufferCapabilities$FlipContents *);
+ virtual ::java::awt::Image * getBackBuffer();
+ virtual ::java::awt::image::ColorModel * getColorModel();
+ virtual ::java::awt::FontMetrics * getFontMetrics(::java::awt::Font *);
+ virtual ::java::awt::Graphics * getGraphics();
+ virtual ::java::awt::GraphicsConfiguration * getGraphicsConfiguration();
+ virtual ::java::awt::Point * getLocationOnScreen();
+private:
+ void getSizeNative(::java::awt::Dimension *, jboolean);
+ ::java::awt::Dimension * getSize(jboolean);
+public:
+ virtual ::java::awt::Dimension * getMinimumSize();
+ virtual ::java::awt::Dimension * getPreferredSize();
+ virtual ::java::awt::Toolkit * getToolkit();
+ virtual jboolean handlesWheelScrolling();
+ virtual void hide();
+ virtual jboolean isFocusable();
+ virtual jboolean isFocusTraversable();
+ virtual jboolean isObscured();
+ virtual ::java::awt::Dimension * minimumSize();
+ virtual ::java::awt::Dimension * preferredSize();
+ virtual void requestFocus();
+ virtual jboolean requestFocus(::java::awt::Component *, jboolean, jboolean, jlong);
+ virtual void reshape(jint, jint, jint, jint);
+ virtual void setBackground(::java::awt::Color *);
+ virtual void setBounds(jint, jint, jint, jint);
+ virtual void setCursor(::java::awt::Cursor *);
+ virtual void setEnabled(jboolean);
+ virtual void setFont(::java::awt::Font *);
+ virtual void setForeground(::java::awt::Color *);
+ virtual void setVisible(jboolean);
+ virtual void show();
+ virtual void handleEvent(::java::awt::AWTEvent *);
+ virtual void paint(::java::awt::Graphics *);
+ virtual void paintBackBuffer();
+ virtual void paintBackBuffer(jint, jint, jint, jint);
+ virtual jboolean prepareImage(::java::awt::Image *, jint, jint, ::java::awt::image::ImageObserver *);
+ virtual void print(::java::awt::Graphics *);
+ virtual void repaint(jlong, jint, jint, jint, jint);
+ virtual void updateCursorImmediately();
+ virtual ::java::awt::Rectangle * getBounds();
+ virtual void reparent(::java::awt::peer::ContainerPeer *);
+ virtual void setBounds(jint, jint, jint, jint, jint);
+ virtual jboolean isReparentSupported();
+ virtual void layout();
+ virtual jboolean requestFocus(::java::awt::Component *, jboolean, jboolean, jlong, ::sun::awt::CausedFocusEvent$Cause *);
+public: // actually protected
+ static const jint POPUP_TRIGGER = 3;
+ ::gnu::java::awt::peer::qt::QtToolkit * __attribute__((aligned(__alignof__( ::gnu::java::awt::peer::qt::NativeWrapper)))) toolkit;
+public: // actually package-private
+ ::java::awt::Component * owner;
+private:
+ jlong eventMask;
+ jboolean hasMotionListeners;
+public: // actually protected
+ ::gnu::java::awt::peer::qt::QtImage * backBuffer;
+ jlong qtApp;
+private:
+ jboolean settingUp;
+ jboolean ignoreResize;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_java_awt_peer_qt_QtComponentPeer__
diff --git a/libjava/gnu/java/awt/peer/qt/QtContainerPeer.h b/libjava/gnu/java/awt/peer/qt/QtContainerPeer.h
new file mode 100644
index 000000000..f9e60b3cc
--- /dev/null
+++ b/libjava/gnu/java/awt/peer/qt/QtContainerPeer.h
@@ -0,0 +1,61 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_java_awt_peer_qt_QtContainerPeer__
+#define __gnu_java_awt_peer_qt_QtContainerPeer__
+
+#pragma interface
+
+#include <gnu/java/awt/peer/qt/QtComponentPeer.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace java
+ {
+ namespace awt
+ {
+ namespace peer
+ {
+ namespace qt
+ {
+ class QtContainerPeer;
+ class QtToolkit;
+ }
+ }
+ }
+ }
+ }
+ namespace java
+ {
+ namespace awt
+ {
+ class Component;
+ class Insets;
+ }
+ }
+}
+
+class gnu::java::awt::peer::qt::QtContainerPeer : public ::gnu::java::awt::peer::qt::QtComponentPeer
+{
+
+public:
+ QtContainerPeer(::gnu::java::awt::peer::qt::QtToolkit *, ::java::awt::Component *);
+public: // actually protected
+ virtual void init();
+ virtual void setup();
+public:
+ virtual void beginLayout();
+ virtual void beginValidate();
+ virtual void endLayout();
+ virtual void endValidate();
+ virtual ::java::awt::Insets * getInsets();
+ virtual ::java::awt::Insets * insets();
+ virtual jboolean isPaintPending();
+ virtual jboolean isRestackSupported();
+ virtual void cancelPendingPaint(jint, jint, jint, jint);
+ virtual void restack();
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_java_awt_peer_qt_QtContainerPeer__
diff --git a/libjava/gnu/java/awt/peer/qt/QtDialogPeer.h b/libjava/gnu/java/awt/peer/qt/QtDialogPeer.h
new file mode 100644
index 000000000..483aa8e51
--- /dev/null
+++ b/libjava/gnu/java/awt/peer/qt/QtDialogPeer.h
@@ -0,0 +1,56 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_java_awt_peer_qt_QtDialogPeer__
+#define __gnu_java_awt_peer_qt_QtDialogPeer__
+
+#pragma interface
+
+#include <gnu/java/awt/peer/qt/QtWindowPeer.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace java
+ {
+ namespace awt
+ {
+ namespace peer
+ {
+ namespace qt
+ {
+ class QtDialogPeer;
+ class QtToolkit;
+ }
+ }
+ }
+ }
+ }
+ namespace java
+ {
+ namespace awt
+ {
+ class Dialog;
+ }
+ }
+}
+
+class gnu::java::awt::peer::qt::QtDialogPeer : public ::gnu::java::awt::peer::qt::QtWindowPeer
+{
+
+public:
+ QtDialogPeer(::gnu::java::awt::peer::qt::QtToolkit *, ::java::awt::Dialog *);
+public: // actually protected
+ virtual void init();
+ virtual void setup();
+public: // actually package-private
+ virtual void setModal(jboolean);
+private:
+ void setBoundsNative(jint, jint, jint, jint, jboolean);
+public:
+ virtual void setResizable(jboolean);
+ virtual void setBounds(jint, jint, jint, jint);
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_java_awt_peer_qt_QtDialogPeer__
diff --git a/libjava/gnu/java/awt/peer/qt/QtEmbeddedWindowPeer.h b/libjava/gnu/java/awt/peer/qt/QtEmbeddedWindowPeer.h
new file mode 100644
index 000000000..5ee942d6f
--- /dev/null
+++ b/libjava/gnu/java/awt/peer/qt/QtEmbeddedWindowPeer.h
@@ -0,0 +1,51 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_java_awt_peer_qt_QtEmbeddedWindowPeer__
+#define __gnu_java_awt_peer_qt_QtEmbeddedWindowPeer__
+
+#pragma interface
+
+#include <gnu/java/awt/peer/qt/QtFramePeer.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace java
+ {
+ namespace awt
+ {
+ namespace peer
+ {
+ namespace qt
+ {
+ class QtEmbeddedWindowPeer;
+ class QtToolkit;
+ }
+ }
+ }
+ }
+ }
+ namespace java
+ {
+ namespace awt
+ {
+ class Component;
+ }
+ }
+}
+
+class gnu::java::awt::peer::qt::QtEmbeddedWindowPeer : public ::gnu::java::awt::peer::qt::QtFramePeer
+{
+
+public:
+ QtEmbeddedWindowPeer(::gnu::java::awt::peer::qt::QtToolkit *, ::java::awt::Component *);
+public: // actually protected
+ virtual void init();
+ virtual void setup();
+public:
+ virtual void embed(jlong);
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_java_awt_peer_qt_QtEmbeddedWindowPeer__
diff --git a/libjava/gnu/java/awt/peer/qt/QtFileDialogPeer.h b/libjava/gnu/java/awt/peer/qt/QtFileDialogPeer.h
new file mode 100644
index 000000000..a87e72f1b
--- /dev/null
+++ b/libjava/gnu/java/awt/peer/qt/QtFileDialogPeer.h
@@ -0,0 +1,56 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_java_awt_peer_qt_QtFileDialogPeer__
+#define __gnu_java_awt_peer_qt_QtFileDialogPeer__
+
+#pragma interface
+
+#include <gnu/java/awt/peer/qt/QtDialogPeer.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace java
+ {
+ namespace awt
+ {
+ namespace peer
+ {
+ namespace qt
+ {
+ class QtFileDialogPeer;
+ class QtToolkit;
+ }
+ }
+ }
+ }
+ }
+ namespace java
+ {
+ namespace awt
+ {
+ class FileDialog;
+ }
+ }
+}
+
+class gnu::java::awt::peer::qt::QtFileDialogPeer : public ::gnu::java::awt::peer::qt::QtDialogPeer
+{
+
+public:
+ QtFileDialogPeer(::gnu::java::awt::peer::qt::QtToolkit *, ::java::awt::FileDialog *);
+public: // actually protected
+ virtual void init();
+ virtual void setup();
+private:
+ void setMode(jint);
+ void fileDialogDone(::java::lang::String *, ::java::lang::String *);
+public:
+ virtual void setFile(::java::lang::String *);
+ virtual void setDirectory(::java::lang::String *);
+ virtual void setFilenameFilter(::java::io::FilenameFilter *);
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_java_awt_peer_qt_QtFileDialogPeer__
diff --git a/libjava/gnu/java/awt/peer/qt/QtFontMetrics.h b/libjava/gnu/java/awt/peer/qt/QtFontMetrics.h
new file mode 100644
index 000000000..fcb30d235
--- /dev/null
+++ b/libjava/gnu/java/awt/peer/qt/QtFontMetrics.h
@@ -0,0 +1,80 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_java_awt_peer_qt_QtFontMetrics__
+#define __gnu_java_awt_peer_qt_QtFontMetrics__
+
+#pragma interface
+
+#include <java/awt/FontMetrics.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace java
+ {
+ namespace awt
+ {
+ namespace peer
+ {
+ namespace qt
+ {
+ class QtFontMetrics;
+ class QtFontPeer;
+ class QtGraphics;
+ }
+ }
+ }
+ }
+ }
+ namespace java
+ {
+ namespace awt
+ {
+ class Font;
+ class Graphics;
+ namespace geom
+ {
+ class Rectangle2D;
+ }
+ }
+ }
+}
+
+class gnu::java::awt::peer::qt::QtFontMetrics : public ::java::awt::FontMetrics
+{
+
+public:
+ QtFontMetrics(::java::awt::Font *);
+ QtFontMetrics(::java::awt::Font *, ::java::awt::Graphics *);
+public: // actually package-private
+ QtFontMetrics(::gnu::java::awt::peer::qt::QtFontPeer *, ::java::awt::Graphics *);
+public:
+ QtFontMetrics(::gnu::java::awt::peer::qt::QtFontPeer *);
+private:
+ void init(::gnu::java::awt::peer::qt::QtFontPeer *);
+ void initGraphics(::gnu::java::awt::peer::qt::QtFontPeer *, ::gnu::java::awt::peer::qt::QtGraphics *);
+ void dispose();
+public: // actually package-private
+ virtual ::java::awt::geom::Rectangle2D * getStringBounds(::java::lang::String *);
+ virtual jboolean canDisplay(jint);
+public:
+ virtual jint getAscent();
+ virtual jint getDescent();
+ virtual jint getHeight();
+ virtual jint getLeading();
+ virtual jint getMaxAdvance();
+ virtual jint charWidth(jchar);
+ virtual jint charsWidth(JArray< jchar > *, jint, jint);
+ virtual jint stringWidth(::java::lang::String *);
+ virtual ::java::awt::geom::Rectangle2D * getStringBounds(::java::lang::String *, ::java::awt::Graphics *);
+private:
+ jlong __attribute__((aligned(__alignof__( ::java::awt::FontMetrics)))) nativeObject;
+ ::gnu::java::awt::peer::qt::QtFontPeer * peer;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_java_awt_peer_qt_QtFontMetrics__
diff --git a/libjava/gnu/java/awt/peer/qt/QtFontPeer.h b/libjava/gnu/java/awt/peer/qt/QtFontPeer.h
new file mode 100644
index 000000000..0daebcc13
--- /dev/null
+++ b/libjava/gnu/java/awt/peer/qt/QtFontPeer.h
@@ -0,0 +1,89 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_java_awt_peer_qt_QtFontPeer__
+#define __gnu_java_awt_peer_qt_QtFontPeer__
+
+#pragma interface
+
+#include <gnu/java/awt/peer/ClasspathFontPeer.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace java
+ {
+ namespace awt
+ {
+ namespace peer
+ {
+ namespace qt
+ {
+ class QtFontMetrics;
+ class QtFontPeer;
+ }
+ }
+ }
+ }
+ }
+ namespace java
+ {
+ namespace awt
+ {
+ class Font;
+ class FontMetrics;
+ namespace font
+ {
+ class FontRenderContext;
+ class GlyphVector;
+ class LineMetrics;
+ }
+ namespace geom
+ {
+ class Rectangle2D;
+ }
+ }
+ namespace text
+ {
+ class CharacterIterator;
+ }
+ }
+}
+
+class gnu::java::awt::peer::qt::QtFontPeer : public ::gnu::java::awt::peer::ClasspathFontPeer
+{
+
+public:
+ QtFontPeer(::java::lang::String *, jint);
+ QtFontPeer(::java::lang::String *, jint, jint);
+ QtFontPeer(::java::lang::String *, ::java::util::Map *);
+ virtual void init();
+private:
+ void create(::java::lang::String *, jint, jint);
+public:
+ virtual void dispose();
+ virtual jboolean canDisplay(::java::awt::Font *, jint);
+ virtual jint canDisplayUpTo(::java::awt::Font *, ::java::text::CharacterIterator *, jint, jint);
+ virtual ::java::lang::String * getSubFamilyName(::java::awt::Font *, ::java::util::Locale *);
+ virtual ::java::lang::String * getPostScriptName(::java::awt::Font *);
+ virtual jint getNumGlyphs(::java::awt::Font *);
+ virtual jint getMissingGlyphCode(::java::awt::Font *);
+ virtual jbyte getBaselineFor(::java::awt::Font *, jchar);
+ virtual ::java::lang::String * getGlyphName(::java::awt::Font *, jint);
+ virtual ::java::awt::font::GlyphVector * createGlyphVector(::java::awt::Font *, ::java::awt::font::FontRenderContext *, ::java::text::CharacterIterator *);
+ virtual ::java::awt::font::GlyphVector * createGlyphVector(::java::awt::Font *, ::java::awt::font::FontRenderContext *, JArray< jint > *);
+ virtual ::java::awt::font::GlyphVector * layoutGlyphVector(::java::awt::Font *, ::java::awt::font::FontRenderContext *, JArray< jchar > *, jint, jint, jint);
+ virtual ::java::awt::FontMetrics * getFontMetrics(::java::awt::Font *);
+ virtual jboolean hasUniformLineMetrics(::java::awt::Font *);
+ virtual ::java::awt::font::LineMetrics * getLineMetrics(::java::awt::Font *, ::java::text::CharacterIterator *, jint, jint, ::java::awt::font::FontRenderContext *);
+ virtual ::java::awt::geom::Rectangle2D * getMaxCharBounds(::java::awt::Font *, ::java::awt::font::FontRenderContext *);
+private:
+ jlong __attribute__((aligned(__alignof__( ::gnu::java::awt::peer::ClasspathFontPeer)))) nativeObject;
+ ::gnu::java::awt::peer::qt::QtFontMetrics * metrics;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_java_awt_peer_qt_QtFontPeer__
diff --git a/libjava/gnu/java/awt/peer/qt/QtFramePeer.h b/libjava/gnu/java/awt/peer/qt/QtFramePeer.h
new file mode 100644
index 000000000..a89557c60
--- /dev/null
+++ b/libjava/gnu/java/awt/peer/qt/QtFramePeer.h
@@ -0,0 +1,78 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_java_awt_peer_qt_QtFramePeer__
+#define __gnu_java_awt_peer_qt_QtFramePeer__
+
+#pragma interface
+
+#include <gnu/java/awt/peer/qt/QtWindowPeer.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace java
+ {
+ namespace awt
+ {
+ namespace peer
+ {
+ namespace qt
+ {
+ class QtFramePeer;
+ class QtImage;
+ class QtMenuBarPeer;
+ class QtToolkit;
+ }
+ }
+ }
+ }
+ }
+ namespace java
+ {
+ namespace awt
+ {
+ class Component;
+ class Image;
+ class Insets;
+ class MenuBar;
+ class Rectangle;
+ }
+ }
+}
+
+class gnu::java::awt::peer::qt::QtFramePeer : public ::gnu::java::awt::peer::qt::QtWindowPeer
+{
+
+public:
+ QtFramePeer(::gnu::java::awt::peer::qt::QtToolkit *, ::java::awt::Component *);
+public: // actually protected
+ virtual void init();
+ virtual void setup();
+private:
+ void setIcon(::gnu::java::awt::peer::qt::QtImage *);
+ void setMaximizedBounds(jint, jint);
+ void setMenu(::gnu::java::awt::peer::qt::QtMenuBarPeer *);
+ jint menuBarHeight();
+public:
+ virtual void destroy();
+ virtual jint getState();
+ virtual ::java::awt::Insets * getInsets();
+ virtual void setIconImage(::java::awt::Image *);
+ virtual void setMaximizedBounds(::java::awt::Rectangle *);
+ virtual void setMenuBar(::java::awt::MenuBar *);
+ virtual void setResizable(jboolean);
+ virtual void setState(jint);
+ virtual void setBoundsPrivate(jint, jint, jint, jint);
+ virtual void updateAlwaysOnTop();
+ virtual jboolean requestWindowFocus();
+ virtual ::java::awt::Rectangle * getBoundsPrivate();
+private:
+ jint __attribute__((aligned(__alignof__( ::gnu::java::awt::peer::qt::QtWindowPeer)))) theState;
+public: // actually package-private
+ jlong frameObject;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_java_awt_peer_qt_QtFramePeer__
diff --git a/libjava/gnu/java/awt/peer/qt/QtGraphics.h b/libjava/gnu/java/awt/peer/qt/QtGraphics.h
new file mode 100644
index 000000000..710248b0a
--- /dev/null
+++ b/libjava/gnu/java/awt/peer/qt/QtGraphics.h
@@ -0,0 +1,215 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_java_awt_peer_qt_QtGraphics__
+#define __gnu_java_awt_peer_qt_QtGraphics__
+
+#pragma interface
+
+#include <java/awt/Graphics2D.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace java
+ {
+ namespace awt
+ {
+ namespace peer
+ {
+ namespace qt
+ {
+ class QMatrix;
+ class QPainterPath;
+ class QPen;
+ class QtFontPeer;
+ class QtGraphics;
+ class QtImage;
+ class QtVolatileImage;
+ }
+ }
+ }
+ }
+ }
+ namespace java
+ {
+ namespace awt
+ {
+ class Color;
+ class Composite;
+ class Font;
+ class FontMetrics;
+ class Graphics;
+ class GraphicsConfiguration;
+ class Image;
+ class Paint;
+ class Rectangle;
+ class RenderingHints;
+ class RenderingHints$Key;
+ class Shape;
+ class Stroke;
+ namespace font
+ {
+ class FontRenderContext;
+ class GlyphVector;
+ }
+ namespace geom
+ {
+ class AffineTransform;
+ }
+ namespace image
+ {
+ class BufferedImage;
+ class BufferedImageOp;
+ class ImageObserver;
+ class RenderedImage;
+ namespace renderable
+ {
+ class RenderableImage;
+ }
+ }
+ }
+ namespace text
+ {
+ class AttributedCharacterIterator;
+ }
+ }
+}
+
+class gnu::java::awt::peer::qt::QtGraphics : public ::java::awt::Graphics2D
+{
+
+public: // actually package-private
+ QtGraphics();
+ QtGraphics(::gnu::java::awt::peer::qt::QtGraphics *);
+public: // actually protected
+ virtual void setup();
+public:
+ virtual void delete$();
+ virtual void dispose();
+private:
+ void resetClip();
+public: // actually protected
+ virtual void initImage(::gnu::java::awt::peer::qt::QtImage *);
+ virtual void initVolatileImage(::gnu::java::awt::peer::qt::QtVolatileImage *);
+private:
+ void cloneNativeContext(::gnu::java::awt::peer::qt::QtGraphics *);
+ void setColor(jint, jint, jint, jint);
+ void drawNative(::gnu::java::awt::peer::qt::QPainterPath *);
+ void fillNative(::gnu::java::awt::peer::qt::QPainterPath *);
+ void setClipNative(::gnu::java::awt::peer::qt::QPainterPath *);
+ void setClipRectNative(jint, jint, jint, jint);
+ void intersectClipNative(::gnu::java::awt::peer::qt::QPainterPath *);
+ void intersectClipRectNative(jint, jint, jint, jint);
+ void setQtTransform(::gnu::java::awt::peer::qt::QMatrix *);
+ void setNativeStroke(::gnu::java::awt::peer::qt::QPen *);
+ void setNativeComposite(jint);
+ void drawStringNative(::java::lang::String *, jdouble, jdouble);
+ void setLinearGradient(jint, jint, jint, jint, jint, jint, jdouble, jdouble, jdouble, jdouble, jboolean);
+ void setAlphaNative(jdouble);
+ void setFontNative(::gnu::java::awt::peer::qt::QtFontPeer *);
+ ::gnu::java::awt::peer::qt::QPainterPath * getClipNative();
+public: // actually package-private
+ virtual void setAlpha(jdouble);
+public:
+ virtual ::java::awt::Graphics * create() = 0;
+ virtual void copyArea(jint, jint, jint, jint, jint, jint) = 0;
+ virtual ::java::awt::GraphicsConfiguration * getDeviceConfiguration() = 0;
+ virtual ::java::awt::Color * getColor();
+ virtual void setColor(::java::awt::Color *);
+ virtual void setBackground(::java::awt::Color *);
+ virtual ::java::awt::Color * getBackground();
+ virtual void setPaintMode();
+ virtual void setXORMode(::java::awt::Color *);
+ virtual jboolean hit(::java::awt::Rectangle *, ::java::awt::Shape *, jboolean);
+ virtual ::java::awt::Font * getFont();
+ virtual void setFont(::java::awt::Font *);
+ virtual ::java::awt::FontMetrics * getFontMetrics(::java::awt::Font *);
+ virtual void clip(::java::awt::Shape *);
+ virtual void clipRect(jint, jint, jint, jint);
+ virtual void setClip(jint, jint, jint, jint);
+ virtual ::java::awt::Shape * getClip();
+ virtual ::java::awt::Rectangle * getClipBounds();
+ virtual void setClip(::java::awt::Shape *);
+ virtual void draw(::java::awt::Shape *);
+ virtual void fill(::java::awt::Shape *);
+ virtual void drawLine(jint, jint, jint, jint);
+ virtual void drawRect(jint, jint, jint, jint);
+ virtual void fillRect(jint, jint, jint, jint);
+ virtual void clearRect(jint, jint, jint, jint);
+ virtual void drawRoundRect(jint, jint, jint, jint, jint, jint);
+ virtual void fillRoundRect(jint, jint, jint, jint, jint, jint);
+ virtual void drawOval(jint, jint, jint, jint);
+ virtual void fillOval(jint, jint, jint, jint);
+ virtual void drawArc(jint, jint, jint, jint, jint, jint);
+ virtual void fillArc(jint, jint, jint, jint, jint, jint);
+ virtual void drawPolyline(JArray< jint > *, JArray< jint > *, jint);
+ virtual void drawPolygon(JArray< jint > *, JArray< jint > *, jint);
+ virtual void fillPolygon(JArray< jint > *, JArray< jint > *, jint);
+ virtual void fill3DRect(jint, jint, jint, jint, jboolean);
+ virtual void draw3DRect(jint, jint, jint, jint, jboolean);
+ virtual void drawString(::java::lang::String *, jint, jint);
+ virtual void drawString(::java::lang::String *, jfloat, jfloat);
+ virtual void drawString(::java::text::AttributedCharacterIterator *, jint, jint);
+ virtual void drawString(::java::text::AttributedCharacterIterator *, jfloat, jfloat);
+ virtual void drawGlyphVector(::java::awt::font::GlyphVector *, jfloat, jfloat);
+ virtual jboolean drawImage(::java::awt::Image *, ::java::awt::geom::AffineTransform *, ::java::awt::image::ImageObserver *);
+ virtual jboolean drawImage(::java::awt::Image *, jint, jint, ::java::awt::Color *, ::java::awt::image::ImageObserver *);
+ virtual jboolean drawImage(::java::awt::Image *, jint, jint, jint, jint, jint, jint, jint, jint, ::java::awt::Color *, ::java::awt::image::ImageObserver *);
+ virtual jboolean drawImage(::java::awt::Image *, jint, jint, jint, jint, ::java::awt::Color *, ::java::awt::image::ImageObserver *);
+ virtual jboolean drawImage(::java::awt::Image *, jint, jint, jint, jint, ::java::awt::image::ImageObserver *);
+ virtual jboolean drawImage(::java::awt::Image *, jint, jint, ::java::awt::image::ImageObserver *);
+ virtual jboolean drawImage(::java::awt::Image *, jint, jint, jint, jint, jint, jint, jint, jint, ::java::awt::image::ImageObserver *);
+ virtual ::java::awt::geom::AffineTransform * getTransform();
+ virtual void setTransform(::java::awt::geom::AffineTransform *);
+ virtual void rotate(jdouble);
+ virtual void rotate(jdouble, jdouble, jdouble);
+ virtual void scale(jdouble, jdouble);
+ virtual void shear(jdouble, jdouble);
+ virtual void transform(::java::awt::geom::AffineTransform *);
+ virtual void translate(jdouble, jdouble);
+ virtual void translate(jint, jint);
+ virtual void setStroke(::java::awt::Stroke *);
+ virtual ::java::awt::Stroke * getStroke();
+ virtual void setComposite(::java::awt::Composite *);
+ virtual ::java::awt::Composite * getComposite();
+ virtual void setPaint(::java::awt::Paint *);
+ virtual ::java::awt::Paint * getPaint();
+ virtual void addRenderingHints(::java::util::Map *);
+ virtual ::java::lang::Object * getRenderingHint(::java::awt::RenderingHints$Key *);
+ virtual ::java::awt::RenderingHints * getRenderingHints();
+ virtual void setRenderingHints(::java::util::Map *);
+ virtual void setRenderingHint(::java::awt::RenderingHints$Key *, ::java::lang::Object *);
+private:
+ void updateRenderingHints();
+public:
+ virtual ::java::awt::font::FontRenderContext * getFontRenderContext();
+ virtual void drawRenderableImage(::java::awt::image::renderable::RenderableImage *, ::java::awt::geom::AffineTransform *);
+ virtual void drawRenderedImage(::java::awt::image::RenderedImage *, ::java::awt::geom::AffineTransform *);
+ virtual void drawImage(::java::awt::image::BufferedImage *, ::java::awt::image::BufferedImageOp *, jint, jint);
+public: // actually protected
+ jlong __attribute__((aligned(__alignof__( ::java::awt::Graphics2D)))) nativeObject;
+private:
+ static ::java::awt::geom::AffineTransform * identity;
+public: // actually protected
+ ::java::awt::Font * font;
+ ::java::awt::Color * color;
+ ::java::awt::Color * bgcolor;
+ ::java::awt::Shape * clip__;
+ ::java::awt::Shape * initialClip;
+ ::java::awt::geom::AffineTransform * xform;
+ ::java::awt::Stroke * currentStroke;
+ jboolean nativeStroking;
+ ::java::awt::Composite * composite;
+ jdouble currentAlpha;
+ ::java::awt::Paint * currentPaint;
+ ::java::awt::RenderingHints * renderingHints;
+public: // actually package-private
+ ::java::awt::Graphics * parent;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_java_awt_peer_qt_QtGraphics__
diff --git a/libjava/gnu/java/awt/peer/qt/QtGraphicsEnvironment.h b/libjava/gnu/java/awt/peer/qt/QtGraphicsEnvironment.h
new file mode 100644
index 000000000..ec1e0c8a2
--- /dev/null
+++ b/libjava/gnu/java/awt/peer/qt/QtGraphicsEnvironment.h
@@ -0,0 +1,65 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_java_awt_peer_qt_QtGraphicsEnvironment__
+#define __gnu_java_awt_peer_qt_QtGraphicsEnvironment__
+
+#pragma interface
+
+#include <java/awt/GraphicsEnvironment.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace java
+ {
+ namespace awt
+ {
+ namespace peer
+ {
+ namespace qt
+ {
+ class QtGraphicsEnvironment;
+ class QtToolkit;
+ }
+ }
+ }
+ }
+ }
+ namespace java
+ {
+ namespace awt
+ {
+ class Font;
+ class Graphics2D;
+ class GraphicsDevice;
+ namespace image
+ {
+ class BufferedImage;
+ }
+ }
+ }
+}
+
+class gnu::java::awt::peer::qt::QtGraphicsEnvironment : public ::java::awt::GraphicsEnvironment
+{
+
+public:
+ QtGraphicsEnvironment(::gnu::java::awt::peer::qt::QtToolkit *);
+ virtual JArray< ::java::awt::Font * > * getAllFonts();
+ virtual JArray< ::java::lang::String * > * getAvailableFontFamilyNames();
+ virtual JArray< ::java::lang::String * > * getAvailableFontFamilyNames(::java::util::Locale *);
+ virtual ::java::awt::GraphicsDevice * getDefaultScreenDevice();
+ virtual ::java::awt::Graphics2D * createGraphics(::java::awt::image::BufferedImage *);
+ virtual JArray< ::java::awt::GraphicsDevice * > * getScreenDevices();
+ virtual ::gnu::java::awt::peer::qt::QtToolkit * getToolkit();
+public: // actually package-private
+ ::gnu::java::awt::peer::qt::QtToolkit * __attribute__((aligned(__alignof__( ::java::awt::GraphicsEnvironment)))) toolkit;
+ JArray< ::java::awt::GraphicsDevice * > * screens;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_java_awt_peer_qt_QtGraphicsEnvironment__
diff --git a/libjava/gnu/java/awt/peer/qt/QtImage.h b/libjava/gnu/java/awt/peer/qt/QtImage.h
new file mode 100644
index 000000000..4c921b228
--- /dev/null
+++ b/libjava/gnu/java/awt/peer/qt/QtImage.h
@@ -0,0 +1,128 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_java_awt_peer_qt_QtImage__
+#define __gnu_java_awt_peer_qt_QtImage__
+
+#pragma interface
+
+#include <java/awt/Image.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace java
+ {
+ namespace awt
+ {
+ namespace peer
+ {
+ namespace qt
+ {
+ class QMatrix;
+ class QtComponentPeer;
+ class QtGraphics;
+ class QtImage;
+ class QtImageGraphics;
+ }
+ }
+ }
+ }
+ }
+ namespace java
+ {
+ namespace awt
+ {
+ class Color;
+ class Graphics;
+ class Image;
+ namespace image
+ {
+ class ColorModel;
+ class ImageObserver;
+ class ImageProducer;
+ }
+ }
+ namespace net
+ {
+ class URL;
+ }
+ }
+}
+
+class gnu::java::awt::peer::qt::QtImage : public ::java::awt::Image
+{
+
+public:
+ virtual void clear();
+private:
+ JArray< jint > * getPixels();
+ void setPixels(JArray< jint > *);
+ jboolean loadImage(::java::lang::String *);
+ jboolean loadImageFromData(JArray< jbyte > *);
+ void createImage();
+ void freeImage();
+ void createScaledImage(::gnu::java::awt::peer::qt::QtImage *, jint);
+public: // actually package-private
+ virtual void drawPixels(::gnu::java::awt::peer::qt::QtGraphics *, jint, jint, jint, jint, jint, jboolean);
+private:
+ void drawPixelsScaled(::gnu::java::awt::peer::qt::QtGraphics *, jint, jint, jint, jint, jint, jint, jint, jboolean);
+ void drawPixelsTransformed(::gnu::java::awt::peer::qt::QtGraphics *, ::gnu::java::awt::peer::qt::QMatrix *);
+public: // actually package-private
+ virtual void drawPixelsScaledFlipped(::gnu::java::awt::peer::qt::QtGraphics *, jint, jint, jint, jboolean, jboolean, jint, jint, jint, jint, jint, jint, jint, jint, jboolean);
+public:
+ QtImage(::java::awt::image::ImageProducer *);
+ QtImage(::java::net::URL *);
+ QtImage(::java::lang::String *);
+ QtImage(JArray< jbyte > *);
+ QtImage(jint, jint);
+private:
+ QtImage(::gnu::java::awt::peer::qt::QtImage *, jint, jint, jint);
+public:
+ virtual void setImage(jint, jint, JArray< jint > *, ::java::util::Hashtable *);
+ virtual jint getWidth(::java::awt::image::ImageObserver *);
+ virtual jint getHeight(::java::awt::image::ImageObserver *);
+ virtual ::java::lang::Object * getProperty(::java::lang::String *, ::java::awt::image::ImageObserver *);
+ virtual ::java::awt::image::ImageProducer * getSource();
+public: // actually package-private
+ virtual void putPainter(::gnu::java::awt::peer::qt::QtImageGraphics *);
+ virtual void removePainter(::gnu::java::awt::peer::qt::QtImageGraphics *);
+public:
+ virtual ::java::awt::Graphics * getGraphics();
+public: // actually package-private
+ virtual ::java::awt::Graphics * getDirectGraphics(::gnu::java::awt::peer::qt::QtComponentPeer *);
+public:
+ virtual ::java::awt::Image * getScaledInstance(jint, jint, jint);
+ virtual void flush();
+ virtual void finalize();
+ virtual void dispose();
+ virtual jint checkImage(::java::awt::image::ImageObserver *);
+ virtual jboolean drawImage(::gnu::java::awt::peer::qt::QtGraphics *, ::gnu::java::awt::peer::qt::QMatrix *, ::java::awt::image::ImageObserver *);
+ virtual jboolean drawImage(::gnu::java::awt::peer::qt::QtGraphics *, jint, jint, ::java::awt::Color *, ::java::awt::image::ImageObserver *);
+ virtual jboolean drawImage(::gnu::java::awt::peer::qt::QtGraphics *, jint, jint, jint, jint, ::java::awt::Color *, ::java::awt::image::ImageObserver *);
+ virtual jboolean drawImage(::gnu::java::awt::peer::qt::QtGraphics *, jint, jint, jint, jint, jint, jint, jint, jint, ::java::awt::Color *, ::java::awt::image::ImageObserver *);
+ virtual void copyArea(jint, jint, jint, jint, jint, jint);
+private:
+ void deliver();
+ jboolean addObserver(::java::awt::image::ImageObserver *);
+public:
+ virtual ::java::lang::String * toString();
+public: // actually package-private
+ jint __attribute__((aligned(__alignof__( ::java::awt::Image)))) width;
+ jint height;
+ ::java::util::Hashtable * props;
+ jboolean isLoaded;
+ jlong nativeObject;
+ ::java::util::Vector * observers;
+ jboolean errorLoading;
+ ::java::awt::image::ImageProducer * source;
+ static ::java::awt::image::ColorModel * nativeModel;
+ ::java::util::WeakHashMap * painters;
+ jboolean killFlag;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_java_awt_peer_qt_QtImage__
diff --git a/libjava/gnu/java/awt/peer/qt/QtImageConsumer.h b/libjava/gnu/java/awt/peer/qt/QtImageConsumer.h
new file mode 100644
index 000000000..8c929d4f6
--- /dev/null
+++ b/libjava/gnu/java/awt/peer/qt/QtImageConsumer.h
@@ -0,0 +1,70 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_java_awt_peer_qt_QtImageConsumer__
+#define __gnu_java_awt_peer_qt_QtImageConsumer__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace java
+ {
+ namespace awt
+ {
+ namespace peer
+ {
+ namespace qt
+ {
+ class QtImage;
+ class QtImageConsumer;
+ }
+ }
+ }
+ }
+ }
+ namespace java
+ {
+ namespace awt
+ {
+ namespace image
+ {
+ class ColorModel;
+ class ImageProducer;
+ }
+ }
+ }
+}
+
+class gnu::java::awt::peer::qt::QtImageConsumer : public ::java::lang::Object
+{
+
+public:
+ QtImageConsumer(::gnu::java::awt::peer::qt::QtImage *, ::java::awt::image::ImageProducer *);
+ virtual void imageComplete(jint);
+ virtual void setColorModel(::java::awt::image::ColorModel *);
+ virtual void setDimensions(jint, jint);
+ virtual void setHints(jint);
+ virtual void setPixels(jint, jint, jint, jint, ::java::awt::image::ColorModel *, JArray< jbyte > *, jint, jint);
+ virtual void setPixels(jint, jint, jint, jint, ::java::awt::image::ColorModel *, JArray< jint > *, jint, jint);
+private:
+ JArray< jint > * convertPixels(JArray< jbyte > *);
+public:
+ virtual void setProperties(::java::util::Hashtable *);
+private:
+ ::gnu::java::awt::peer::qt::QtImage * __attribute__((aligned(__alignof__( ::java::lang::Object)))) target;
+ jint width;
+ jint height;
+ ::java::util::Hashtable * properties;
+ JArray< jint > * pixelCache;
+ ::java::awt::image::ImageProducer * source;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_java_awt_peer_qt_QtImageConsumer__
diff --git a/libjava/gnu/java/awt/peer/qt/QtImageDirectGraphics.h b/libjava/gnu/java/awt/peer/qt/QtImageDirectGraphics.h
new file mode 100644
index 000000000..d74e32444
--- /dev/null
+++ b/libjava/gnu/java/awt/peer/qt/QtImageDirectGraphics.h
@@ -0,0 +1,76 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_java_awt_peer_qt_QtImageDirectGraphics__
+#define __gnu_java_awt_peer_qt_QtImageDirectGraphics__
+
+#pragma interface
+
+#include <gnu/java/awt/peer/qt/QtImageGraphics.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace java
+ {
+ namespace awt
+ {
+ namespace peer
+ {
+ namespace qt
+ {
+ class QtComponentPeer;
+ class QtImage;
+ class QtImageDirectGraphics;
+ class QtImageGraphics;
+ }
+ }
+ }
+ }
+ }
+ namespace java
+ {
+ namespace awt
+ {
+ class Color;
+ class Image;
+ class Shape;
+ namespace geom
+ {
+ class AffineTransform;
+ }
+ namespace image
+ {
+ class ImageObserver;
+ }
+ }
+ }
+}
+
+class gnu::java::awt::peer::qt::QtImageDirectGraphics : public ::gnu::java::awt::peer::qt::QtImageGraphics
+{
+
+public:
+ QtImageDirectGraphics(::gnu::java::awt::peer::qt::QtImage *, ::gnu::java::awt::peer::qt::QtComponentPeer *);
+ QtImageDirectGraphics(::gnu::java::awt::peer::qt::QtImageGraphics *);
+private:
+ void scheduleUpdate();
+public:
+ virtual void dispose();
+ virtual void draw(::java::awt::Shape *);
+ virtual void fill(::java::awt::Shape *);
+ virtual void drawString(::java::lang::String *, jint, jint);
+ virtual void drawString(::java::lang::String *, jfloat, jfloat);
+ virtual void drawLine(jint, jint, jint, jint);
+ virtual jboolean drawImage(::java::awt::Image *, ::java::awt::geom::AffineTransform *, ::java::awt::image::ImageObserver *);
+ virtual jboolean drawImage(::java::awt::Image *, jint, jint, ::java::awt::Color *, ::java::awt::image::ImageObserver *);
+ virtual jboolean drawImage(::java::awt::Image *, jint, jint, jint, jint, jint, jint, jint, jint, ::java::awt::Color *, ::java::awt::image::ImageObserver *);
+ virtual jboolean drawImage(::java::awt::Image *, jint, jint, jint, jint, ::java::awt::Color *, ::java::awt::image::ImageObserver *);
+private:
+ ::gnu::java::awt::peer::qt::QtComponentPeer * __attribute__((aligned(__alignof__( ::gnu::java::awt::peer::qt::QtImageGraphics)))) peer;
+ jboolean modified;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_java_awt_peer_qt_QtImageDirectGraphics__
diff --git a/libjava/gnu/java/awt/peer/qt/QtImageGraphics.h b/libjava/gnu/java/awt/peer/qt/QtImageGraphics.h
new file mode 100644
index 000000000..e5adb7912
--- /dev/null
+++ b/libjava/gnu/java/awt/peer/qt/QtImageGraphics.h
@@ -0,0 +1,59 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_java_awt_peer_qt_QtImageGraphics__
+#define __gnu_java_awt_peer_qt_QtImageGraphics__
+
+#pragma interface
+
+#include <gnu/java/awt/peer/qt/QtGraphics.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace java
+ {
+ namespace awt
+ {
+ namespace peer
+ {
+ namespace qt
+ {
+ class QtImageGraphics;
+ }
+ }
+ }
+ }
+ }
+ namespace java
+ {
+ namespace awt
+ {
+ class Graphics;
+ class GraphicsConfiguration;
+ class Image;
+ }
+ }
+}
+
+class gnu::java::awt::peer::qt::QtImageGraphics : public ::gnu::java::awt::peer::qt::QtGraphics
+{
+
+public:
+ QtImageGraphics(::java::awt::Image *);
+public: // actually package-private
+ QtImageGraphics(::gnu::java::awt::peer::qt::QtImageGraphics *);
+public:
+ virtual void dispose();
+ virtual ::java::awt::Graphics * create();
+ virtual void copyArea(jint, jint, jint, jint, jint, jint);
+ virtual ::java::awt::GraphicsConfiguration * getDeviceConfiguration();
+public: // actually package-private
+ ::java::awt::Image * __attribute__((aligned(__alignof__( ::gnu::java::awt::peer::qt::QtGraphics)))) parentImage;
+ ::java::util::Stack * owners;
+ ::gnu::java::awt::peer::qt::QtImageGraphics * topParent;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_java_awt_peer_qt_QtImageGraphics__
diff --git a/libjava/gnu/java/awt/peer/qt/QtLabelPeer.h b/libjava/gnu/java/awt/peer/qt/QtLabelPeer.h
new file mode 100644
index 000000000..af81168b4
--- /dev/null
+++ b/libjava/gnu/java/awt/peer/qt/QtLabelPeer.h
@@ -0,0 +1,52 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_java_awt_peer_qt_QtLabelPeer__
+#define __gnu_java_awt_peer_qt_QtLabelPeer__
+
+#pragma interface
+
+#include <gnu/java/awt/peer/qt/QtComponentPeer.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace java
+ {
+ namespace awt
+ {
+ namespace peer
+ {
+ namespace qt
+ {
+ class QtLabelPeer;
+ class QtToolkit;
+ }
+ }
+ }
+ }
+ }
+ namespace java
+ {
+ namespace awt
+ {
+ class Label;
+ }
+ }
+}
+
+class gnu::java::awt::peer::qt::QtLabelPeer : public ::gnu::java::awt::peer::qt::QtComponentPeer
+{
+
+public:
+ QtLabelPeer(::gnu::java::awt::peer::qt::QtToolkit *, ::java::awt::Label *);
+public: // actually protected
+ virtual void init();
+ virtual void setup();
+public:
+ virtual void setAlignment(jint);
+ virtual void setText(::java::lang::String *);
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_java_awt_peer_qt_QtLabelPeer__
diff --git a/libjava/gnu/java/awt/peer/qt/QtListPeer.h b/libjava/gnu/java/awt/peer/qt/QtListPeer.h
new file mode 100644
index 000000000..0d4fbee97
--- /dev/null
+++ b/libjava/gnu/java/awt/peer/qt/QtListPeer.h
@@ -0,0 +1,75 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_java_awt_peer_qt_QtListPeer__
+#define __gnu_java_awt_peer_qt_QtListPeer__
+
+#pragma interface
+
+#include <gnu/java/awt/peer/qt/QtComponentPeer.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace java
+ {
+ namespace awt
+ {
+ namespace peer
+ {
+ namespace qt
+ {
+ class QtListPeer;
+ class QtToolkit;
+ }
+ }
+ }
+ }
+ }
+ namespace java
+ {
+ namespace awt
+ {
+ class Dimension;
+ class List;
+ }
+ }
+}
+
+class gnu::java::awt::peer::qt::QtListPeer : public ::gnu::java::awt::peer::qt::QtComponentPeer
+{
+
+public:
+ QtListPeer(::gnu::java::awt::peer::qt::QtToolkit *, ::java::awt::List *);
+ virtual void init();
+public: // actually protected
+ virtual void setup();
+private:
+ void fireChoice(jint);
+ void itemDoubleClicked(jint, jint);
+ void select(jint, jboolean);
+public:
+ virtual void add(::java::lang::String *, jint);
+ virtual void addItem(::java::lang::String *, jint);
+ virtual void clear();
+ virtual void delItems(jint, jint);
+ virtual void deselect(jint);
+ virtual JArray< jint > * getSelectedIndexes();
+ virtual void makeVisible(jint);
+ virtual ::java::awt::Dimension * minimumSize(jint);
+ virtual ::java::awt::Dimension * preferredSize(jint);
+ virtual void removeAll();
+ virtual void select(jint);
+ virtual void setMultipleMode(jboolean);
+ virtual void setMultipleSelections(jboolean);
+ virtual ::java::awt::Dimension * getPreferredSize(jint);
+ virtual ::java::awt::Dimension * getMinimumSize(jint);
+private:
+ jboolean __attribute__((aligned(__alignof__( ::gnu::java::awt::peer::qt::QtComponentPeer)))) ignoreNextSelect;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_java_awt_peer_qt_QtListPeer__
diff --git a/libjava/gnu/java/awt/peer/qt/QtMenuBarPeer.h b/libjava/gnu/java/awt/peer/qt/QtMenuBarPeer.h
new file mode 100644
index 000000000..57e6d546e
--- /dev/null
+++ b/libjava/gnu/java/awt/peer/qt/QtMenuBarPeer.h
@@ -0,0 +1,61 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_java_awt_peer_qt_QtMenuBarPeer__
+#define __gnu_java_awt_peer_qt_QtMenuBarPeer__
+
+#pragma interface
+
+#include <gnu/java/awt/peer/qt/QtMenuComponentPeer.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace java
+ {
+ namespace awt
+ {
+ namespace peer
+ {
+ namespace qt
+ {
+ class QtMenuBarPeer;
+ class QtMenuPeer;
+ class QtToolkit;
+ }
+ }
+ }
+ }
+ }
+ namespace java
+ {
+ namespace awt
+ {
+ class Menu;
+ class MenuBar;
+ }
+ }
+}
+
+class gnu::java::awt::peer::qt::QtMenuBarPeer : public ::gnu::java::awt::peer::qt::QtMenuComponentPeer
+{
+
+public:
+ QtMenuBarPeer(::gnu::java::awt::peer::qt::QtToolkit *, ::java::awt::MenuBar *);
+public: // actually protected
+ virtual void init();
+ virtual void setup();
+public: // actually package-private
+ virtual void addMenus();
+private:
+ void addMenu(::gnu::java::awt::peer::qt::QtMenuPeer *);
+ void addHelpMenu(::gnu::java::awt::peer::qt::QtMenuPeer *);
+ void delMenu(::gnu::java::awt::peer::qt::QtMenuPeer *);
+public:
+ virtual void addMenu(::java::awt::Menu *);
+ virtual void addHelpMenu(::java::awt::Menu *);
+ virtual void delMenu(jint);
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_java_awt_peer_qt_QtMenuBarPeer__
diff --git a/libjava/gnu/java/awt/peer/qt/QtMenuComponentPeer.h b/libjava/gnu/java/awt/peer/qt/QtMenuComponentPeer.h
new file mode 100644
index 000000000..3cab64589
--- /dev/null
+++ b/libjava/gnu/java/awt/peer/qt/QtMenuComponentPeer.h
@@ -0,0 +1,59 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_java_awt_peer_qt_QtMenuComponentPeer__
+#define __gnu_java_awt_peer_qt_QtMenuComponentPeer__
+
+#pragma interface
+
+#include <gnu/java/awt/peer/qt/NativeWrapper.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace java
+ {
+ namespace awt
+ {
+ namespace peer
+ {
+ namespace qt
+ {
+ class QtMenuComponentPeer;
+ class QtToolkit;
+ }
+ }
+ }
+ }
+ }
+ namespace java
+ {
+ namespace awt
+ {
+ class Font;
+ class MenuComponent;
+ }
+ }
+}
+
+class gnu::java::awt::peer::qt::QtMenuComponentPeer : public ::gnu::java::awt::peer::qt::NativeWrapper
+{
+
+public:
+ QtMenuComponentPeer(::gnu::java::awt::peer::qt::QtToolkit *, ::java::awt::MenuComponent *);
+public: // actually protected
+ virtual void callInit();
+ virtual void init();
+ virtual void setup();
+public:
+ virtual void finalize();
+ virtual void dispose();
+ virtual void setFont(::java::awt::Font *);
+public: // actually protected
+ ::gnu::java::awt::peer::qt::QtToolkit * __attribute__((aligned(__alignof__( ::gnu::java::awt::peer::qt::NativeWrapper)))) toolkit;
+ ::java::awt::MenuComponent * owner;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_java_awt_peer_qt_QtMenuComponentPeer__
diff --git a/libjava/gnu/java/awt/peer/qt/QtMenuItemPeer.h b/libjava/gnu/java/awt/peer/qt/QtMenuItemPeer.h
new file mode 100644
index 000000000..10eee1aa2
--- /dev/null
+++ b/libjava/gnu/java/awt/peer/qt/QtMenuItemPeer.h
@@ -0,0 +1,62 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_java_awt_peer_qt_QtMenuItemPeer__
+#define __gnu_java_awt_peer_qt_QtMenuItemPeer__
+
+#pragma interface
+
+#include <gnu/java/awt/peer/qt/QtMenuComponentPeer.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace java
+ {
+ namespace awt
+ {
+ namespace peer
+ {
+ namespace qt
+ {
+ class QtMenuItemPeer;
+ class QtToolkit;
+ }
+ }
+ }
+ }
+ }
+ namespace java
+ {
+ namespace awt
+ {
+ class MenuItem;
+ }
+ }
+}
+
+class gnu::java::awt::peer::qt::QtMenuItemPeer : public ::gnu::java::awt::peer::qt::QtMenuComponentPeer
+{
+
+public:
+ QtMenuItemPeer(::gnu::java::awt::peer::qt::QtToolkit *, ::java::awt::MenuItem *);
+public: // actually protected
+ virtual void init();
+ virtual void setup();
+private:
+ void create(::java::lang::String *, jboolean, jboolean);
+public:
+ virtual void finalize();
+ virtual void dispose();
+private:
+ void fireClick(jint);
+public:
+ virtual void disable();
+ virtual void enable();
+ virtual void setEnabled(jboolean);
+ virtual void setLabel(::java::lang::String *);
+ virtual void setState(jboolean);
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_java_awt_peer_qt_QtMenuItemPeer__
diff --git a/libjava/gnu/java/awt/peer/qt/QtMenuPeer.h b/libjava/gnu/java/awt/peer/qt/QtMenuPeer.h
new file mode 100644
index 000000000..79341a4fe
--- /dev/null
+++ b/libjava/gnu/java/awt/peer/qt/QtMenuPeer.h
@@ -0,0 +1,73 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_java_awt_peer_qt_QtMenuPeer__
+#define __gnu_java_awt_peer_qt_QtMenuPeer__
+
+#pragma interface
+
+#include <gnu/java/awt/peer/qt/QtMenuComponentPeer.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace java
+ {
+ namespace awt
+ {
+ namespace peer
+ {
+ namespace qt
+ {
+ class QtMenuItemPeer;
+ class QtMenuPeer;
+ class QtToolkit;
+ }
+ }
+ }
+ }
+ }
+ namespace java
+ {
+ namespace awt
+ {
+ class Menu;
+ class MenuItem;
+ }
+ }
+}
+
+class gnu::java::awt::peer::qt::QtMenuPeer : public ::gnu::java::awt::peer::qt::QtMenuComponentPeer
+{
+
+public:
+ QtMenuPeer(::gnu::java::awt::peer::qt::QtToolkit *, ::java::awt::Menu *);
+public: // actually protected
+ virtual void init();
+ virtual void setup();
+public: // actually package-private
+ virtual void addItems();
+private:
+ void fireClick();
+ void allowTearOff();
+ void insertSeperator();
+ void insertItem(::gnu::java::awt::peer::qt::QtMenuItemPeer *);
+ void insertMenu(::gnu::java::awt::peer::qt::QtMenuPeer *);
+ void delItem(jlong);
+ void add(jlong);
+public:
+ virtual void addItem(::java::awt::MenuItem *);
+ virtual void addSeparator();
+ virtual void delItem(jint);
+ virtual void disable();
+ virtual void enable();
+ virtual void setEnabled(jboolean);
+ virtual void setLabel(::java::lang::String *);
+public: // actually package-private
+ ::java::util::Vector * __attribute__((aligned(__alignof__( ::gnu::java::awt::peer::qt::QtMenuComponentPeer)))) items;
+ jboolean itemsAdded;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_java_awt_peer_qt_QtMenuPeer__
diff --git a/libjava/gnu/java/awt/peer/qt/QtPanelPeer.h b/libjava/gnu/java/awt/peer/qt/QtPanelPeer.h
new file mode 100644
index 000000000..c0031ef50
--- /dev/null
+++ b/libjava/gnu/java/awt/peer/qt/QtPanelPeer.h
@@ -0,0 +1,50 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_java_awt_peer_qt_QtPanelPeer__
+#define __gnu_java_awt_peer_qt_QtPanelPeer__
+
+#pragma interface
+
+#include <gnu/java/awt/peer/qt/QtContainerPeer.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace java
+ {
+ namespace awt
+ {
+ namespace peer
+ {
+ namespace qt
+ {
+ class QtPanelPeer;
+ class QtToolkit;
+ }
+ }
+ }
+ }
+ }
+ namespace java
+ {
+ namespace awt
+ {
+ class Component;
+ }
+ }
+}
+
+class gnu::java::awt::peer::qt::QtPanelPeer : public ::gnu::java::awt::peer::qt::QtContainerPeer
+{
+
+public:
+ QtPanelPeer(::gnu::java::awt::peer::qt::QtToolkit *, ::java::awt::Component *);
+public: // actually protected
+ virtual void init();
+ virtual void setup();
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_java_awt_peer_qt_QtPanelPeer__
diff --git a/libjava/gnu/java/awt/peer/qt/QtPopupMenuPeer.h b/libjava/gnu/java/awt/peer/qt/QtPopupMenuPeer.h
new file mode 100644
index 000000000..3b78bc977
--- /dev/null
+++ b/libjava/gnu/java/awt/peer/qt/QtPopupMenuPeer.h
@@ -0,0 +1,53 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_java_awt_peer_qt_QtPopupMenuPeer__
+#define __gnu_java_awt_peer_qt_QtPopupMenuPeer__
+
+#pragma interface
+
+#include <gnu/java/awt/peer/qt/QtMenuPeer.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace java
+ {
+ namespace awt
+ {
+ namespace peer
+ {
+ namespace qt
+ {
+ class QtPopupMenuPeer;
+ class QtToolkit;
+ }
+ }
+ }
+ }
+ }
+ namespace java
+ {
+ namespace awt
+ {
+ class Component;
+ class Event;
+ class PopupMenu;
+ }
+ }
+}
+
+class gnu::java::awt::peer::qt::QtPopupMenuPeer : public ::gnu::java::awt::peer::qt::QtMenuPeer
+{
+
+public:
+ QtPopupMenuPeer(::gnu::java::awt::peer::qt::QtToolkit *, ::java::awt::PopupMenu *);
+private:
+ void showNative(jint, jint);
+public:
+ virtual void show(::java::awt::Component *, jint, jint);
+ virtual void show(::java::awt::Event *);
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_java_awt_peer_qt_QtPopupMenuPeer__
diff --git a/libjava/gnu/java/awt/peer/qt/QtRepaintThread$RepaintComponent.h b/libjava/gnu/java/awt/peer/qt/QtRepaintThread$RepaintComponent.h
new file mode 100644
index 000000000..9cc516cda
--- /dev/null
+++ b/libjava/gnu/java/awt/peer/qt/QtRepaintThread$RepaintComponent.h
@@ -0,0 +1,47 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_java_awt_peer_qt_QtRepaintThread$RepaintComponent__
+#define __gnu_java_awt_peer_qt_QtRepaintThread$RepaintComponent__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace java
+ {
+ namespace awt
+ {
+ namespace peer
+ {
+ namespace qt
+ {
+ class QtComponentPeer;
+ class QtRepaintThread$RepaintComponent;
+ }
+ }
+ }
+ }
+ }
+}
+
+class gnu::java::awt::peer::qt::QtRepaintThread$RepaintComponent : public ::java::lang::Object
+{
+
+public:
+ QtRepaintThread$RepaintComponent(::gnu::java::awt::peer::qt::QtComponentPeer *);
+ QtRepaintThread$RepaintComponent(::gnu::java::awt::peer::qt::QtComponentPeer *, jint, jint, jint, jint);
+ ::gnu::java::awt::peer::qt::QtComponentPeer * __attribute__((aligned(__alignof__( ::java::lang::Object)))) curr;
+ ::gnu::java::awt::peer::qt::QtRepaintThread$RepaintComponent * next;
+ jboolean paintAll;
+ jint x;
+ jint y;
+ jint w;
+ jint h;
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_java_awt_peer_qt_QtRepaintThread$RepaintComponent__
diff --git a/libjava/gnu/java/awt/peer/qt/QtRepaintThread.h b/libjava/gnu/java/awt/peer/qt/QtRepaintThread.h
new file mode 100644
index 000000000..e9d714cb6
--- /dev/null
+++ b/libjava/gnu/java/awt/peer/qt/QtRepaintThread.h
@@ -0,0 +1,47 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_java_awt_peer_qt_QtRepaintThread__
+#define __gnu_java_awt_peer_qt_QtRepaintThread__
+
+#pragma interface
+
+#include <java/lang/Thread.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace java
+ {
+ namespace awt
+ {
+ namespace peer
+ {
+ namespace qt
+ {
+ class QtComponentPeer;
+ class QtRepaintThread;
+ class QtRepaintThread$RepaintComponent;
+ }
+ }
+ }
+ }
+ }
+}
+
+class gnu::java::awt::peer::qt::QtRepaintThread : public ::java::lang::Thread
+{
+
+public:
+ QtRepaintThread();
+ virtual void run();
+ virtual void queueComponent(::gnu::java::awt::peer::qt::QtComponentPeer *);
+ virtual void queueComponent(::gnu::java::awt::peer::qt::QtComponentPeer *, jint, jint, jint, jint);
+public: // actually package-private
+ ::gnu::java::awt::peer::qt::QtRepaintThread$RepaintComponent * __attribute__((aligned(__alignof__( ::java::lang::Thread)))) component;
+ jboolean busy;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_java_awt_peer_qt_QtRepaintThread__
diff --git a/libjava/gnu/java/awt/peer/qt/QtScreenDevice.h b/libjava/gnu/java/awt/peer/qt/QtScreenDevice.h
new file mode 100644
index 000000000..179fa09bf
--- /dev/null
+++ b/libjava/gnu/java/awt/peer/qt/QtScreenDevice.h
@@ -0,0 +1,76 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_java_awt_peer_qt_QtScreenDevice__
+#define __gnu_java_awt_peer_qt_QtScreenDevice__
+
+#pragma interface
+
+#include <java/awt/GraphicsDevice.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace java
+ {
+ namespace awt
+ {
+ namespace peer
+ {
+ namespace qt
+ {
+ class QtScreenDevice;
+ class QtScreenDeviceConfiguration;
+ }
+ }
+ }
+ }
+ }
+ namespace java
+ {
+ namespace awt
+ {
+ class DisplayMode;
+ class GraphicsConfigTemplate;
+ class GraphicsConfiguration;
+ class Rectangle;
+ class Window;
+ }
+ }
+}
+
+class gnu::java::awt::peer::qt::QtScreenDevice : public ::java::awt::GraphicsDevice
+{
+
+public:
+ QtScreenDevice(jint);
+ virtual void init(jint);
+ virtual void dispose();
+public: // actually package-private
+ virtual ::java::awt::Rectangle * getBounds();
+ virtual jint getDpiX();
+ virtual jint getDpiY();
+ virtual jint depth();
+public:
+ virtual ::java::awt::GraphicsConfiguration * getBestConfiguration(::java::awt::GraphicsConfigTemplate *);
+ virtual JArray< ::java::awt::GraphicsConfiguration * > * getConfigurations();
+ virtual ::java::awt::GraphicsConfiguration * getDefaultConfiguration();
+ virtual ::java::lang::String * getIDstring();
+ virtual jint getType();
+ virtual jboolean isDisplayChangeSupported();
+ virtual jboolean isFullScreenSupported();
+ virtual void setDisplayMode(::java::awt::DisplayMode *);
+ virtual void setFullScreenWindow(::java::awt::Window *);
+private:
+ jlong __attribute__((aligned(__alignof__( ::java::awt::GraphicsDevice)))) nativeObject;
+ jint id;
+ ::java::lang::String * IDstring;
+public: // actually package-private
+ ::gnu::java::awt::peer::qt::QtScreenDeviceConfiguration * config;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_java_awt_peer_qt_QtScreenDevice__
diff --git a/libjava/gnu/java/awt/peer/qt/QtScreenDeviceConfiguration.h b/libjava/gnu/java/awt/peer/qt/QtScreenDeviceConfiguration.h
new file mode 100644
index 000000000..f9ec9e028
--- /dev/null
+++ b/libjava/gnu/java/awt/peer/qt/QtScreenDeviceConfiguration.h
@@ -0,0 +1,76 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_java_awt_peer_qt_QtScreenDeviceConfiguration__
+#define __gnu_java_awt_peer_qt_QtScreenDeviceConfiguration__
+
+#pragma interface
+
+#include <java/awt/GraphicsConfiguration.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace java
+ {
+ namespace awt
+ {
+ namespace peer
+ {
+ namespace qt
+ {
+ class QtScreenDevice;
+ class QtScreenDeviceConfiguration;
+ }
+ }
+ }
+ }
+ }
+ namespace java
+ {
+ namespace awt
+ {
+ class GraphicsDevice;
+ class ImageCapabilities;
+ class Rectangle;
+ namespace geom
+ {
+ class AffineTransform;
+ }
+ namespace image
+ {
+ class BufferedImage;
+ class ColorModel;
+ class VolatileImage;
+ }
+ }
+ }
+}
+
+class gnu::java::awt::peer::qt::QtScreenDeviceConfiguration : public ::java::awt::GraphicsConfiguration
+{
+
+public:
+ QtScreenDeviceConfiguration(::gnu::java::awt::peer::qt::QtScreenDevice *);
+ virtual ::java::awt::image::BufferedImage * createCompatibleImage(jint, jint);
+ virtual ::java::awt::image::BufferedImage * createCompatibleImage(jint, jint, jint);
+ virtual ::java::awt::image::VolatileImage * createCompatibleVolatileImage(jint, jint);
+ virtual ::java::awt::image::VolatileImage * createCompatibleVolatileImage(jint, jint, ::java::awt::ImageCapabilities *);
+ virtual ::java::awt::Rectangle * getBounds();
+ virtual ::java::awt::image::ColorModel * getColorModel();
+ virtual ::java::awt::image::ColorModel * getColorModel(jint);
+ virtual ::java::awt::geom::AffineTransform * getDefaultTransform();
+ virtual ::java::awt::GraphicsDevice * getDevice();
+ virtual ::java::awt::geom::AffineTransform * getNormalizingTransform();
+ virtual ::java::awt::image::VolatileImage * createCompatibleVolatileImage(jint, jint, jint);
+private:
+ ::gnu::java::awt::peer::qt::QtScreenDevice * __attribute__((aligned(__alignof__( ::java::awt::GraphicsConfiguration)))) owner;
+ ::java::awt::Rectangle * bounds;
+ jdouble dpiX;
+ jdouble dpiY;
+ jint depth;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_java_awt_peer_qt_QtScreenDeviceConfiguration__
diff --git a/libjava/gnu/java/awt/peer/qt/QtScrollPanePeer.h b/libjava/gnu/java/awt/peer/qt/QtScrollPanePeer.h
new file mode 100644
index 000000000..23877b3b5
--- /dev/null
+++ b/libjava/gnu/java/awt/peer/qt/QtScrollPanePeer.h
@@ -0,0 +1,61 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_java_awt_peer_qt_QtScrollPanePeer__
+#define __gnu_java_awt_peer_qt_QtScrollPanePeer__
+
+#pragma interface
+
+#include <gnu/java/awt/peer/qt/QtContainerPeer.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace java
+ {
+ namespace awt
+ {
+ namespace peer
+ {
+ namespace qt
+ {
+ class QtScrollPanePeer;
+ class QtToolkit;
+ }
+ }
+ }
+ }
+ }
+ namespace java
+ {
+ namespace awt
+ {
+ class Adjustable;
+ class Insets;
+ class ScrollPane;
+ }
+ }
+}
+
+class gnu::java::awt::peer::qt::QtScrollPanePeer : public ::gnu::java::awt::peer::qt::QtContainerPeer
+{
+
+public:
+ QtScrollPanePeer(::gnu::java::awt::peer::qt::QtToolkit *, ::java::awt::ScrollPane *);
+public: // actually protected
+ virtual void init();
+ virtual void setup();
+private:
+ void setPolicy(jint);
+public:
+ virtual void childResized(jint, jint);
+ virtual jint getHScrollbarHeight();
+ virtual jint getVScrollbarWidth();
+ virtual void setScrollPosition(jint, jint);
+ virtual ::java::awt::Insets * getInsets();
+ virtual void setUnitIncrement(::java::awt::Adjustable *, jint);
+ virtual void setValue(::java::awt::Adjustable *, jint);
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_java_awt_peer_qt_QtScrollPanePeer__
diff --git a/libjava/gnu/java/awt/peer/qt/QtScrollbarPeer.h b/libjava/gnu/java/awt/peer/qt/QtScrollbarPeer.h
new file mode 100644
index 000000000..3e1359763
--- /dev/null
+++ b/libjava/gnu/java/awt/peer/qt/QtScrollbarPeer.h
@@ -0,0 +1,56 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_java_awt_peer_qt_QtScrollbarPeer__
+#define __gnu_java_awt_peer_qt_QtScrollbarPeer__
+
+#pragma interface
+
+#include <gnu/java/awt/peer/qt/QtComponentPeer.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace java
+ {
+ namespace awt
+ {
+ namespace peer
+ {
+ namespace qt
+ {
+ class QtScrollbarPeer;
+ class QtToolkit;
+ }
+ }
+ }
+ }
+ }
+ namespace java
+ {
+ namespace awt
+ {
+ class Scrollbar;
+ }
+ }
+}
+
+class gnu::java::awt::peer::qt::QtScrollbarPeer : public ::gnu::java::awt::peer::qt::QtComponentPeer
+{
+
+public:
+ QtScrollbarPeer(::gnu::java::awt::peer::qt::QtToolkit *, ::java::awt::Scrollbar *);
+ virtual void init();
+public: // actually protected
+ virtual void setup();
+private:
+ void setOrientation(jint);
+ void fireMoved(jint, jint);
+public:
+ virtual void setLineIncrement(jint);
+ virtual void setPageIncrement(jint);
+ virtual void setValues(jint, jint, jint, jint);
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_java_awt_peer_qt_QtScrollbarPeer__
diff --git a/libjava/gnu/java/awt/peer/qt/QtTextAreaPeer.h b/libjava/gnu/java/awt/peer/qt/QtTextAreaPeer.h
new file mode 100644
index 000000000..42ee90558
--- /dev/null
+++ b/libjava/gnu/java/awt/peer/qt/QtTextAreaPeer.h
@@ -0,0 +1,79 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_java_awt_peer_qt_QtTextAreaPeer__
+#define __gnu_java_awt_peer_qt_QtTextAreaPeer__
+
+#pragma interface
+
+#include <gnu/java/awt/peer/qt/QtComponentPeer.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace java
+ {
+ namespace awt
+ {
+ namespace peer
+ {
+ namespace qt
+ {
+ class QtTextAreaPeer;
+ class QtToolkit;
+ }
+ }
+ }
+ }
+ }
+ namespace java
+ {
+ namespace awt
+ {
+ class Dimension;
+ class Rectangle;
+ class TextArea;
+ namespace im
+ {
+ class InputMethodRequests;
+ }
+ }
+ }
+}
+
+class gnu::java::awt::peer::qt::QtTextAreaPeer : public ::gnu::java::awt::peer::qt::QtComponentPeer
+{
+
+public:
+ QtTextAreaPeer(::gnu::java::awt::peer::qt::QtToolkit *, ::java::awt::TextArea *);
+public: // actually protected
+ virtual void init();
+ virtual void setup();
+private:
+ jint getSelection(jboolean);
+ void textChanged();
+public:
+ virtual jlong filterEvents(jlong);
+ virtual jint getCaretPosition();
+ virtual ::java::awt::Rectangle * getCharacterBounds(jint);
+ virtual jint getIndexAtPoint(jint, jint);
+ virtual ::java::awt::Dimension * getMinimumSize(jint, jint);
+ virtual ::java::awt::Dimension * getPreferredSize(jint, jint);
+ virtual jint getSelectionEnd();
+ virtual jint getSelectionStart();
+ virtual ::java::lang::String * getText();
+ virtual void insert(::java::lang::String *, jint);
+ virtual void insertText(::java::lang::String *, jint);
+ virtual ::java::awt::Dimension * minimumSize(jint, jint);
+ virtual ::java::awt::Dimension * preferredSize(jint, jint);
+ virtual void replaceRange(::java::lang::String *, jint, jint);
+ virtual void replaceText(::java::lang::String *, jint, jint);
+ virtual void setText(::java::lang::String *);
+ virtual void select(jint, jint);
+ virtual void setEditable(jboolean);
+ virtual void setCaretPosition(jint);
+ virtual ::java::awt::im::InputMethodRequests * getInputMethodRequests();
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_java_awt_peer_qt_QtTextAreaPeer__
diff --git a/libjava/gnu/java/awt/peer/qt/QtTextFieldPeer.h b/libjava/gnu/java/awt/peer/qt/QtTextFieldPeer.h
new file mode 100644
index 000000000..123d95bb2
--- /dev/null
+++ b/libjava/gnu/java/awt/peer/qt/QtTextFieldPeer.h
@@ -0,0 +1,79 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_java_awt_peer_qt_QtTextFieldPeer__
+#define __gnu_java_awt_peer_qt_QtTextFieldPeer__
+
+#pragma interface
+
+#include <gnu/java/awt/peer/qt/QtComponentPeer.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace java
+ {
+ namespace awt
+ {
+ namespace peer
+ {
+ namespace qt
+ {
+ class QtTextFieldPeer;
+ class QtToolkit;
+ }
+ }
+ }
+ }
+ }
+ namespace java
+ {
+ namespace awt
+ {
+ class Dimension;
+ class Rectangle;
+ class TextField;
+ namespace im
+ {
+ class InputMethodRequests;
+ }
+ }
+ }
+}
+
+class gnu::java::awt::peer::qt::QtTextFieldPeer : public ::gnu::java::awt::peer::qt::QtComponentPeer
+{
+
+public:
+ QtTextFieldPeer(::gnu::java::awt::peer::qt::QtToolkit *, ::java::awt::TextField *);
+public: // actually protected
+ virtual void init();
+ virtual void setup();
+private:
+ void textChanged();
+ jint getSelection(jboolean);
+ ::java::awt::Dimension * getMinimumSizeNative(jint);
+ ::java::awt::Dimension * getPreferredSizeNative(jint);
+public:
+ virtual jlong filterEvents(jlong);
+ virtual jint getCaretPosition();
+ virtual ::java::awt::Rectangle * getCharacterBounds(jint);
+ virtual jint getIndexAtPoint(jint, jint);
+ virtual ::java::awt::Dimension * getMinimumSize(jint);
+ virtual ::java::awt::Dimension * getPreferredSize(jint);
+ virtual jint getSelectionEnd();
+ virtual jint getSelectionStart();
+ virtual ::java::lang::String * getText();
+ virtual ::java::awt::Dimension * minimumSize(jint);
+ virtual ::java::awt::Dimension * preferredSize(jint);
+ virtual void select(jint, jint);
+ virtual void setCaretPosition(jint);
+ virtual void setEchoCharacter(jchar);
+ virtual void setEchoChar(jchar);
+ virtual void setEditable(jboolean);
+ virtual void setText(::java::lang::String *);
+ virtual ::java::awt::im::InputMethodRequests * getInputMethodRequests();
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_java_awt_peer_qt_QtTextFieldPeer__
diff --git a/libjava/gnu/java/awt/peer/qt/QtToolkit.h b/libjava/gnu/java/awt/peer/qt/QtToolkit.h
new file mode 100644
index 000000000..319318ac5
--- /dev/null
+++ b/libjava/gnu/java/awt/peer/qt/QtToolkit.h
@@ -0,0 +1,207 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_java_awt_peer_qt_QtToolkit__
+#define __gnu_java_awt_peer_qt_QtToolkit__
+
+#pragma interface
+
+#include <gnu/java/awt/ClasspathToolkit.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace java
+ {
+ namespace awt
+ {
+ class EmbeddedWindow;
+ namespace peer
+ {
+ class ClasspathFontPeer;
+ class EmbeddedWindowPeer;
+ namespace qt
+ {
+ class MainQtThread;
+ class QtGraphicsEnvironment;
+ class QtRepaintThread;
+ class QtToolkit;
+ }
+ }
+ }
+ }
+ }
+ namespace java
+ {
+ namespace awt
+ {
+ class Button;
+ class Canvas;
+ class Checkbox;
+ class CheckboxMenuItem;
+ class Choice;
+ class Dialog;
+ class Dialog$ModalExclusionType;
+ class Dialog$ModalityType;
+ class Dimension;
+ class EventQueue;
+ class FileDialog;
+ class Font;
+ class FontMetrics;
+ class Frame;
+ class GraphicsDevice;
+ class GraphicsEnvironment;
+ class Image;
+ class Label;
+ class List;
+ class Menu;
+ class MenuBar;
+ class MenuItem;
+ class Panel;
+ class PopupMenu;
+ class PrintJob;
+ class ScrollPane;
+ class Scrollbar;
+ class TextArea;
+ class TextField;
+ class Window;
+ namespace datatransfer
+ {
+ class Clipboard;
+ }
+ namespace dnd
+ {
+ class DragGestureEvent;
+ namespace peer
+ {
+ class DragSourceContextPeer;
+ }
+ }
+ namespace event
+ {
+ class AWTEventListener;
+ }
+ namespace im
+ {
+ class InputMethodHighlight;
+ }
+ namespace image
+ {
+ class ColorModel;
+ class ImageObserver;
+ class ImageProducer;
+ }
+ namespace peer
+ {
+ class ButtonPeer;
+ class CanvasPeer;
+ class CheckboxMenuItemPeer;
+ class CheckboxPeer;
+ class ChoicePeer;
+ class DialogPeer;
+ class FileDialogPeer;
+ class FontPeer;
+ class FramePeer;
+ class LabelPeer;
+ class ListPeer;
+ class MenuBarPeer;
+ class MenuItemPeer;
+ class MenuPeer;
+ class PanelPeer;
+ class PopupMenuPeer;
+ class RobotPeer;
+ class ScrollPanePeer;
+ class ScrollbarPeer;
+ class TextAreaPeer;
+ class TextFieldPeer;
+ class WindowPeer;
+ }
+ }
+ namespace net
+ {
+ class URL;
+ }
+ }
+}
+
+class gnu::java::awt::peer::qt::QtToolkit : public ::gnu::java::awt::ClasspathToolkit
+{
+
+ static void initToolkit();
+public:
+ QtToolkit();
+public: // actually package-private
+ virtual JArray< ::java::lang::String * > * nativeFontFamilies();
+ virtual jint numScreens();
+ virtual jint defaultScreen();
+public:
+ virtual void beep();
+ virtual jint checkImage(::java::awt::Image *, jint, jint, ::java::awt::image::ImageObserver *);
+public: // actually protected
+ virtual ::java::awt::peer::ButtonPeer * createButton(::java::awt::Button *);
+ virtual ::java::awt::peer::CanvasPeer * createCanvas(::java::awt::Canvas *);
+ virtual ::java::awt::peer::CheckboxPeer * createCheckbox(::java::awt::Checkbox *);
+ virtual ::java::awt::peer::ChoicePeer * createChoice(::java::awt::Choice *);
+ virtual ::java::awt::peer::CheckboxMenuItemPeer * createCheckboxMenuItem(::java::awt::CheckboxMenuItem *);
+public:
+ virtual ::java::awt::dnd::peer::DragSourceContextPeer * createDragSourceContextPeer(::java::awt::dnd::DragGestureEvent *);
+public: // actually protected
+ virtual ::java::awt::peer::FramePeer * createFrame(::java::awt::Frame *);
+ virtual ::java::awt::peer::FileDialogPeer * createFileDialog(::java::awt::FileDialog *);
+public:
+ virtual ::java::awt::Image * createImage(::java::awt::image::ImageProducer *);
+ virtual ::java::awt::Image * createImage(JArray< jbyte > *, jint, jint);
+ virtual ::java::awt::Image * createImage(::java::lang::String *);
+ virtual ::java::awt::Image * createImage(::java::net::URL *);
+public: // actually protected
+ virtual ::java::awt::peer::TextFieldPeer * createTextField(::java::awt::TextField *);
+ virtual ::java::awt::peer::LabelPeer * createLabel(::java::awt::Label *);
+ virtual ::java::awt::peer::ListPeer * createList(::java::awt::List *);
+ virtual ::java::awt::peer::ScrollbarPeer * createScrollbar(::java::awt::Scrollbar *);
+ virtual ::java::awt::peer::ScrollPanePeer * createScrollPane(::java::awt::ScrollPane *);
+ virtual ::java::awt::peer::TextAreaPeer * createTextArea(::java::awt::TextArea *);
+ virtual ::java::awt::peer::PanelPeer * createPanel(::java::awt::Panel *);
+ virtual ::java::awt::peer::WindowPeer * createWindow(::java::awt::Window *);
+ virtual ::java::awt::peer::DialogPeer * createDialog(::java::awt::Dialog *);
+ virtual ::java::awt::peer::MenuBarPeer * createMenuBar(::java::awt::MenuBar *);
+ virtual ::java::awt::peer::MenuPeer * createMenu(::java::awt::Menu *);
+ virtual ::java::awt::peer::PopupMenuPeer * createPopupMenu(::java::awt::PopupMenu *);
+ virtual ::java::awt::peer::MenuItemPeer * createMenuItem(::java::awt::MenuItem *);
+public:
+ virtual JArray< ::java::awt::event::AWTEventListener * > * getAWTEventListeners();
+ virtual JArray< ::java::awt::event::AWTEventListener * > * getAWTEventListeners(jlong);
+ virtual ::java::awt::image::ColorModel * getColorModel();
+ virtual JArray< ::java::lang::String * > * getFontList();
+ virtual ::java::awt::FontMetrics * getFontMetrics(::java::awt::Font *);
+public: // actually protected
+ virtual ::java::awt::peer::FontPeer * getFontPeer(::java::lang::String *, jint);
+public:
+ virtual ::java::awt::Image * getImage(::java::lang::String *);
+ virtual ::java::awt::Image * getImage(::java::net::URL *);
+ virtual ::java::awt::PrintJob * getPrintJob(::java::awt::Frame *, ::java::lang::String *, ::java::util::Properties *);
+ virtual ::java::awt::datatransfer::Clipboard * getSystemClipboard();
+public: // actually protected
+ virtual ::java::awt::EventQueue * getSystemEventQueueImpl();
+public:
+ virtual ::java::awt::Dimension * getScreenSize();
+ virtual jint getScreenResolution();
+ virtual ::java::util::Map * mapInputMethodHighlight(::java::awt::im::InputMethodHighlight *);
+ virtual jboolean prepareImage(::java::awt::Image *, jint, jint, ::java::awt::image::ImageObserver *);
+ virtual void sync();
+ virtual ::java::awt::GraphicsEnvironment * getLocalGraphicsEnvironment();
+ virtual ::gnu::java::awt::peer::ClasspathFontPeer * getClasspathFontPeer(::java::lang::String *, ::java::util::Map *);
+ virtual ::java::awt::Font * createFont(jint, ::java::io::InputStream *);
+ virtual ::java::awt::peer::RobotPeer * createRobot(::java::awt::GraphicsDevice *);
+ virtual ::gnu::java::awt::peer::EmbeddedWindowPeer * createEmbeddedWindow(::gnu::java::awt::EmbeddedWindow *);
+ virtual jboolean isModalExclusionTypeSupported(::java::awt::Dialog$ModalExclusionType *);
+ virtual jboolean isModalityTypeSupported(::java::awt::Dialog$ModalityType *);
+ static ::java::awt::EventQueue * eventQueue;
+ static ::gnu::java::awt::peer::qt::QtRepaintThread * repaintThread;
+ static ::gnu::java::awt::peer::qt::MainQtThread * guiThread;
+ static ::gnu::java::awt::peer::qt::QtGraphicsEnvironment * graphicsEnv;
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_java_awt_peer_qt_QtToolkit__
diff --git a/libjava/gnu/java/awt/peer/qt/QtVolatileImage$1.h b/libjava/gnu/java/awt/peer/qt/QtVolatileImage$1.h
new file mode 100644
index 000000000..a3ceb2937
--- /dev/null
+++ b/libjava/gnu/java/awt/peer/qt/QtVolatileImage$1.h
@@ -0,0 +1,44 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_java_awt_peer_qt_QtVolatileImage$1__
+#define __gnu_java_awt_peer_qt_QtVolatileImage$1__
+
+#pragma interface
+
+#include <java/awt/ImageCapabilities.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace java
+ {
+ namespace awt
+ {
+ namespace peer
+ {
+ namespace qt
+ {
+ class QtVolatileImage;
+ class QtVolatileImage$1;
+ }
+ }
+ }
+ }
+ }
+}
+
+class gnu::java::awt::peer::qt::QtVolatileImage$1 : public ::java::awt::ImageCapabilities
+{
+
+public: // actually package-private
+ QtVolatileImage$1(::gnu::java::awt::peer::qt::QtVolatileImage *, jboolean);
+public:
+ virtual jboolean isTrueVolatile();
+public: // actually package-private
+ ::gnu::java::awt::peer::qt::QtVolatileImage * __attribute__((aligned(__alignof__( ::java::awt::ImageCapabilities)))) this$0;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_java_awt_peer_qt_QtVolatileImage$1__
diff --git a/libjava/gnu/java/awt/peer/qt/QtVolatileImage.h b/libjava/gnu/java/awt/peer/qt/QtVolatileImage.h
new file mode 100644
index 000000000..4972e9faa
--- /dev/null
+++ b/libjava/gnu/java/awt/peer/qt/QtVolatileImage.h
@@ -0,0 +1,117 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_java_awt_peer_qt_QtVolatileImage__
+#define __gnu_java_awt_peer_qt_QtVolatileImage__
+
+#pragma interface
+
+#include <java/awt/image/VolatileImage.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace java
+ {
+ namespace awt
+ {
+ namespace peer
+ {
+ namespace qt
+ {
+ class QMatrix;
+ class QtGraphics;
+ class QtImage;
+ class QtImageGraphics;
+ class QtVolatileImage;
+ }
+ }
+ }
+ }
+ }
+ namespace java
+ {
+ namespace awt
+ {
+ class Color;
+ class Graphics;
+ class Graphics2D;
+ class GraphicsConfiguration;
+ class Image;
+ class ImageCapabilities;
+ namespace image
+ {
+ class BufferedImage;
+ class ColorModel;
+ class ImageObserver;
+ class ImageProducer;
+ }
+ }
+ }
+}
+
+class gnu::java::awt::peer::qt::QtVolatileImage : public ::java::awt::image::VolatileImage
+{
+
+public:
+ virtual void clear();
+private:
+ JArray< jint > * getPixels();
+ void createImage();
+ void freeImage();
+public:
+ virtual void blit(::gnu::java::awt::peer::qt::QtImage *);
+ virtual void blit(::gnu::java::awt::peer::qt::QtImage *, jint, jint, jint, jint);
+private:
+ void createScaledImage(::gnu::java::awt::peer::qt::QtVolatileImage *, jint);
+ void drawPixels(::gnu::java::awt::peer::qt::QtGraphics *, jint, jint, jint, jint, jint, jboolean);
+ void drawPixelsScaled(::gnu::java::awt::peer::qt::QtGraphics *, jint, jint, jint, jint, jint, jint, jint, jboolean);
+ void drawPixelsTransformed(::gnu::java::awt::peer::qt::QtGraphics *, ::gnu::java::awt::peer::qt::QMatrix *);
+public: // actually package-private
+ virtual void drawPixelsScaledFlipped(::gnu::java::awt::peer::qt::QtGraphics *, jint, jint, jint, jboolean, jboolean, jint, jint, jint, jint, jint, jint, jint, jint, jboolean);
+public:
+ QtVolatileImage(jint, jint);
+private:
+ QtVolatileImage(::gnu::java::awt::peer::qt::QtVolatileImage *, jint, jint, jint);
+public:
+ virtual void finalize();
+ virtual void dispose();
+ virtual jint getWidth(::java::awt::image::ImageObserver *);
+ virtual jint getHeight(::java::awt::image::ImageObserver *);
+ virtual ::java::lang::Object * getProperty(::java::lang::String *, ::java::awt::image::ImageObserver *);
+ virtual ::java::awt::image::ImageProducer * getSource();
+public: // actually package-private
+ virtual void putPainter(::gnu::java::awt::peer::qt::QtImageGraphics *);
+ virtual void removePainter(::gnu::java::awt::peer::qt::QtImageGraphics *);
+public:
+ virtual ::java::awt::Graphics * getGraphics();
+ virtual ::java::awt::Image * getScaledInstance(jint, jint, jint);
+ virtual void flush();
+ virtual jint checkImage(::java::awt::image::ImageObserver *);
+ virtual jboolean drawImage(::gnu::java::awt::peer::qt::QtGraphics *, ::gnu::java::awt::peer::qt::QMatrix *, ::java::awt::image::ImageObserver *);
+ virtual jboolean drawImage(::gnu::java::awt::peer::qt::QtGraphics *, jint, jint, ::java::awt::Color *, ::java::awt::image::ImageObserver *);
+ virtual jboolean drawImage(::gnu::java::awt::peer::qt::QtGraphics *, jint, jint, jint, jint, ::java::awt::Color *, ::java::awt::image::ImageObserver *);
+ virtual jboolean drawImage(::gnu::java::awt::peer::qt::QtGraphics *, jint, jint, jint, jint, jint, jint, jint, jint, ::java::awt::Color *, ::java::awt::image::ImageObserver *);
+ virtual void copyArea(jint, jint, jint, jint, jint, jint);
+ virtual jboolean contentsLost();
+ virtual ::java::awt::Graphics2D * createGraphics();
+ virtual ::java::awt::ImageCapabilities * getCapabilities();
+ virtual jint getHeight();
+ virtual ::java::awt::image::BufferedImage * getSnapshot();
+ virtual jint getWidth();
+ virtual jint validate(::java::awt::GraphicsConfiguration *);
+public: // actually package-private
+ jint __attribute__((aligned(__alignof__( ::java::awt::image::VolatileImage)))) width;
+ jint height;
+ ::java::util::Hashtable * props;
+ jlong nativeObject;
+ static ::java::awt::image::ColorModel * nativeModel;
+ ::java::util::WeakHashMap * painters;
+ jboolean killFlag;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_java_awt_peer_qt_QtVolatileImage__
diff --git a/libjava/gnu/java/awt/peer/qt/QtWindowPeer.h b/libjava/gnu/java/awt/peer/qt/QtWindowPeer.h
new file mode 100644
index 000000000..9e5a1474f
--- /dev/null
+++ b/libjava/gnu/java/awt/peer/qt/QtWindowPeer.h
@@ -0,0 +1,61 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_java_awt_peer_qt_QtWindowPeer__
+#define __gnu_java_awt_peer_qt_QtWindowPeer__
+
+#pragma interface
+
+#include <gnu/java/awt/peer/qt/QtContainerPeer.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace java
+ {
+ namespace awt
+ {
+ namespace peer
+ {
+ namespace qt
+ {
+ class QtToolkit;
+ class QtWindowPeer;
+ }
+ }
+ }
+ }
+ }
+ namespace java
+ {
+ namespace awt
+ {
+ class Component;
+ class Dialog;
+ }
+ }
+}
+
+class gnu::java::awt::peer::qt::QtWindowPeer : public ::gnu::java::awt::peer::qt::QtContainerPeer
+{
+
+public:
+ QtWindowPeer(::gnu::java::awt::peer::qt::QtToolkit *, ::java::awt::Component *);
+public: // actually protected
+ virtual void init();
+ virtual void setup();
+public:
+ virtual void toBack();
+ virtual void toFront();
+ virtual void setTitle(::java::lang::String *);
+ virtual void updateAlwaysOnTop();
+ virtual jboolean requestWindowFocus();
+ virtual void updateIconImages();
+ virtual void updateMinimumSize();
+ virtual void setModalBlocked(::java::awt::Dialog *, jboolean);
+ virtual void updateFocusableWindowState();
+ virtual void setAlwaysOnTop(jboolean);
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_java_awt_peer_qt_QtWindowPeer__
diff --git a/libjava/gnu/java/awt/peer/swing/SwingButtonPeer$SwingButton.h b/libjava/gnu/java/awt/peer/swing/SwingButtonPeer$SwingButton.h
new file mode 100644
index 000000000..ffaa2b6cd
--- /dev/null
+++ b/libjava/gnu/java/awt/peer/swing/SwingButtonPeer$SwingButton.h
@@ -0,0 +1,80 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_java_awt_peer_swing_SwingButtonPeer$SwingButton__
+#define __gnu_java_awt_peer_swing_SwingButtonPeer$SwingButton__
+
+#pragma interface
+
+#include <javax/swing/JButton.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace java
+ {
+ namespace awt
+ {
+ namespace peer
+ {
+ namespace swing
+ {
+ class SwingButtonPeer;
+ class SwingButtonPeer$SwingButton;
+ }
+ }
+ }
+ }
+ }
+ namespace java
+ {
+ namespace awt
+ {
+ class Button;
+ class Container;
+ class Graphics;
+ class Image;
+ class Point;
+ namespace event
+ {
+ class FocusEvent;
+ class KeyEvent;
+ class MouseEvent;
+ }
+ }
+ }
+ namespace javax
+ {
+ namespace swing
+ {
+ class JComponent;
+ }
+ }
+}
+
+class gnu::java::awt::peer::swing::SwingButtonPeer$SwingButton : public ::javax::swing::JButton
+{
+
+public: // actually package-private
+ SwingButtonPeer$SwingButton(::gnu::java::awt::peer::swing::SwingButtonPeer *, ::java::awt::Button *);
+public:
+ virtual ::java::awt::Point * getLocationOnScreen();
+ virtual jboolean isShowing();
+ virtual ::java::awt::Image * createImage(jint, jint);
+ virtual ::java::awt::Graphics * getGraphics();
+ virtual ::javax::swing::JComponent * getJComponent();
+ virtual void handleMouseEvent(::java::awt::event::MouseEvent *);
+ virtual void handleMouseMotionEvent(::java::awt::event::MouseEvent *);
+ virtual void handleKeyEvent(::java::awt::event::KeyEvent *);
+ virtual ::java::awt::Container * getParent();
+ virtual void handleFocusEvent(::java::awt::event::FocusEvent *);
+ virtual void requestFocus();
+ virtual jboolean requestFocus(jboolean);
+public: // actually package-private
+ ::java::awt::Button * __attribute__((aligned(__alignof__( ::javax::swing::JButton)))) button;
+ ::gnu::java::awt::peer::swing::SwingButtonPeer * this$0;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_java_awt_peer_swing_SwingButtonPeer$SwingButton__
diff --git a/libjava/gnu/java/awt/peer/swing/SwingButtonPeer$SwingButtonListener.h b/libjava/gnu/java/awt/peer/swing/SwingButtonPeer$SwingButtonListener.h
new file mode 100644
index 000000000..c6a6f9a0f
--- /dev/null
+++ b/libjava/gnu/java/awt/peer/swing/SwingButtonPeer$SwingButtonListener.h
@@ -0,0 +1,54 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_java_awt_peer_swing_SwingButtonPeer$SwingButtonListener__
+#define __gnu_java_awt_peer_swing_SwingButtonPeer$SwingButtonListener__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace java
+ {
+ namespace awt
+ {
+ namespace peer
+ {
+ namespace swing
+ {
+ class SwingButtonPeer;
+ class SwingButtonPeer$SwingButtonListener;
+ }
+ }
+ }
+ }
+ }
+ namespace java
+ {
+ namespace awt
+ {
+ namespace event
+ {
+ class ActionEvent;
+ }
+ }
+ }
+}
+
+class gnu::java::awt::peer::swing::SwingButtonPeer$SwingButtonListener : public ::java::lang::Object
+{
+
+public: // actually package-private
+ SwingButtonPeer$SwingButtonListener(::gnu::java::awt::peer::swing::SwingButtonPeer *);
+public:
+ virtual void actionPerformed(::java::awt::event::ActionEvent *);
+public: // actually package-private
+ ::gnu::java::awt::peer::swing::SwingButtonPeer * __attribute__((aligned(__alignof__( ::java::lang::Object)))) this$0;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_java_awt_peer_swing_SwingButtonPeer$SwingButtonListener__
diff --git a/libjava/gnu/java/awt/peer/swing/SwingButtonPeer.h b/libjava/gnu/java/awt/peer/swing/SwingButtonPeer.h
new file mode 100644
index 000000000..cca199f89
--- /dev/null
+++ b/libjava/gnu/java/awt/peer/swing/SwingButtonPeer.h
@@ -0,0 +1,46 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_java_awt_peer_swing_SwingButtonPeer__
+#define __gnu_java_awt_peer_swing_SwingButtonPeer__
+
+#pragma interface
+
+#include <gnu/java/awt/peer/swing/SwingComponentPeer.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace java
+ {
+ namespace awt
+ {
+ namespace peer
+ {
+ namespace swing
+ {
+ class SwingButtonPeer;
+ }
+ }
+ }
+ }
+ }
+ namespace java
+ {
+ namespace awt
+ {
+ class Button;
+ }
+ }
+}
+
+class gnu::java::awt::peer::swing::SwingButtonPeer : public ::gnu::java::awt::peer::swing::SwingComponentPeer
+{
+
+public:
+ SwingButtonPeer(::java::awt::Button *);
+ virtual void setLabel(::java::lang::String *);
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_java_awt_peer_swing_SwingButtonPeer__
diff --git a/libjava/gnu/java/awt/peer/swing/SwingCanvasPeer.h b/libjava/gnu/java/awt/peer/swing/SwingCanvasPeer.h
new file mode 100644
index 000000000..1fd853bb8
--- /dev/null
+++ b/libjava/gnu/java/awt/peer/swing/SwingCanvasPeer.h
@@ -0,0 +1,45 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_java_awt_peer_swing_SwingCanvasPeer__
+#define __gnu_java_awt_peer_swing_SwingCanvasPeer__
+
+#pragma interface
+
+#include <gnu/java/awt/peer/swing/SwingComponentPeer.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace java
+ {
+ namespace awt
+ {
+ namespace peer
+ {
+ namespace swing
+ {
+ class SwingCanvasPeer;
+ }
+ }
+ }
+ }
+ }
+ namespace java
+ {
+ namespace awt
+ {
+ class Canvas;
+ }
+ }
+}
+
+class gnu::java::awt::peer::swing::SwingCanvasPeer : public ::gnu::java::awt::peer::swing::SwingComponentPeer
+{
+
+public:
+ SwingCanvasPeer(::java::awt::Canvas *);
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_java_awt_peer_swing_SwingCanvasPeer__
diff --git a/libjava/gnu/java/awt/peer/swing/SwingCheckboxPeer$SwingCheckbox.h b/libjava/gnu/java/awt/peer/swing/SwingCheckboxPeer$SwingCheckbox.h
new file mode 100644
index 000000000..d50fe6699
--- /dev/null
+++ b/libjava/gnu/java/awt/peer/swing/SwingCheckboxPeer$SwingCheckbox.h
@@ -0,0 +1,80 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_java_awt_peer_swing_SwingCheckboxPeer$SwingCheckbox__
+#define __gnu_java_awt_peer_swing_SwingCheckboxPeer$SwingCheckbox__
+
+#pragma interface
+
+#include <javax/swing/JCheckBox.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace java
+ {
+ namespace awt
+ {
+ namespace peer
+ {
+ namespace swing
+ {
+ class SwingCheckboxPeer;
+ class SwingCheckboxPeer$SwingCheckbox;
+ }
+ }
+ }
+ }
+ }
+ namespace java
+ {
+ namespace awt
+ {
+ class Checkbox;
+ class Container;
+ class Graphics;
+ class Image;
+ class Point;
+ namespace event
+ {
+ class FocusEvent;
+ class KeyEvent;
+ class MouseEvent;
+ }
+ }
+ }
+ namespace javax
+ {
+ namespace swing
+ {
+ class JComponent;
+ }
+ }
+}
+
+class gnu::java::awt::peer::swing::SwingCheckboxPeer$SwingCheckbox : public ::javax::swing::JCheckBox
+{
+
+public: // actually package-private
+ SwingCheckboxPeer$SwingCheckbox(::gnu::java::awt::peer::swing::SwingCheckboxPeer *, ::java::awt::Checkbox *);
+public:
+ virtual ::javax::swing::JComponent * getJComponent();
+ virtual void handleMouseEvent(::java::awt::event::MouseEvent *);
+ virtual void handleMouseMotionEvent(::java::awt::event::MouseEvent *);
+ virtual void handleKeyEvent(::java::awt::event::KeyEvent *);
+ virtual void handleFocusEvent(::java::awt::event::FocusEvent *);
+ virtual ::java::awt::Point * getLocationOnScreen();
+ virtual jboolean isShowing();
+ virtual ::java::awt::Image * createImage(jint, jint);
+ virtual ::java::awt::Graphics * getGraphics();
+ virtual ::java::awt::Container * getParent();
+ virtual void requestFocus();
+ virtual jboolean requestFocus(jboolean);
+public: // actually package-private
+ ::java::awt::Checkbox * __attribute__((aligned(__alignof__( ::javax::swing::JCheckBox)))) checkbox;
+ ::gnu::java::awt::peer::swing::SwingCheckboxPeer * this$0;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_java_awt_peer_swing_SwingCheckboxPeer$SwingCheckbox__
diff --git a/libjava/gnu/java/awt/peer/swing/SwingCheckboxPeer$SwingCheckboxListener.h b/libjava/gnu/java/awt/peer/swing/SwingCheckboxPeer$SwingCheckboxListener.h
new file mode 100644
index 000000000..71517aeb3
--- /dev/null
+++ b/libjava/gnu/java/awt/peer/swing/SwingCheckboxPeer$SwingCheckboxListener.h
@@ -0,0 +1,56 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_java_awt_peer_swing_SwingCheckboxPeer$SwingCheckboxListener__
+#define __gnu_java_awt_peer_swing_SwingCheckboxPeer$SwingCheckboxListener__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace java
+ {
+ namespace awt
+ {
+ namespace peer
+ {
+ namespace swing
+ {
+ class SwingCheckboxPeer;
+ class SwingCheckboxPeer$SwingCheckboxListener;
+ }
+ }
+ }
+ }
+ }
+ namespace java
+ {
+ namespace awt
+ {
+ class Checkbox;
+ namespace event
+ {
+ class ItemEvent;
+ }
+ }
+ }
+}
+
+class gnu::java::awt::peer::swing::SwingCheckboxPeer$SwingCheckboxListener : public ::java::lang::Object
+{
+
+public: // actually package-private
+ SwingCheckboxPeer$SwingCheckboxListener(::gnu::java::awt::peer::swing::SwingCheckboxPeer *, ::java::awt::Checkbox *);
+public:
+ virtual void itemStateChanged(::java::awt::event::ItemEvent *);
+public: // actually package-private
+ ::java::awt::Checkbox * __attribute__((aligned(__alignof__( ::java::lang::Object)))) awtCheckbox;
+ ::gnu::java::awt::peer::swing::SwingCheckboxPeer * this$0;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_java_awt_peer_swing_SwingCheckboxPeer$SwingCheckboxListener__
diff --git a/libjava/gnu/java/awt/peer/swing/SwingCheckboxPeer.h b/libjava/gnu/java/awt/peer/swing/SwingCheckboxPeer.h
new file mode 100644
index 000000000..bceaa2168
--- /dev/null
+++ b/libjava/gnu/java/awt/peer/swing/SwingCheckboxPeer.h
@@ -0,0 +1,49 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_java_awt_peer_swing_SwingCheckboxPeer__
+#define __gnu_java_awt_peer_swing_SwingCheckboxPeer__
+
+#pragma interface
+
+#include <gnu/java/awt/peer/swing/SwingComponentPeer.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace java
+ {
+ namespace awt
+ {
+ namespace peer
+ {
+ namespace swing
+ {
+ class SwingCheckboxPeer;
+ }
+ }
+ }
+ }
+ }
+ namespace java
+ {
+ namespace awt
+ {
+ class Checkbox;
+ class CheckboxGroup;
+ }
+ }
+}
+
+class gnu::java::awt::peer::swing::SwingCheckboxPeer : public ::gnu::java::awt::peer::swing::SwingComponentPeer
+{
+
+public:
+ SwingCheckboxPeer(::java::awt::Checkbox *);
+ virtual void setCheckboxGroup(::java::awt::CheckboxGroup *);
+ virtual void setLabel(::java::lang::String *);
+ virtual void setState(jboolean);
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_java_awt_peer_swing_SwingCheckboxPeer__
diff --git a/libjava/gnu/java/awt/peer/swing/SwingComponent.h b/libjava/gnu/java/awt/peer/swing/SwingComponent.h
new file mode 100644
index 000000000..619a05e36
--- /dev/null
+++ b/libjava/gnu/java/awt/peer/swing/SwingComponent.h
@@ -0,0 +1,61 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_java_awt_peer_swing_SwingComponent__
+#define __gnu_java_awt_peer_swing_SwingComponent__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace java
+ {
+ namespace awt
+ {
+ namespace peer
+ {
+ namespace swing
+ {
+ class SwingComponent;
+ }
+ }
+ }
+ }
+ }
+ namespace java
+ {
+ namespace awt
+ {
+ namespace event
+ {
+ class FocusEvent;
+ class KeyEvent;
+ class MouseEvent;
+ }
+ }
+ }
+ namespace javax
+ {
+ namespace swing
+ {
+ class JComponent;
+ }
+ }
+}
+
+class gnu::java::awt::peer::swing::SwingComponent : public ::java::lang::Object
+{
+
+public:
+ virtual ::javax::swing::JComponent * getJComponent() = 0;
+ virtual void handleMouseEvent(::java::awt::event::MouseEvent *) = 0;
+ virtual void handleMouseMotionEvent(::java::awt::event::MouseEvent *) = 0;
+ virtual void handleKeyEvent(::java::awt::event::KeyEvent *) = 0;
+ virtual void handleFocusEvent(::java::awt::event::FocusEvent *) = 0;
+ static ::java::lang::Class class$;
+} __attribute__ ((java_interface));
+
+#endif // __gnu_java_awt_peer_swing_SwingComponent__
diff --git a/libjava/gnu/java/awt/peer/swing/SwingComponentPeer.h b/libjava/gnu/java/awt/peer/swing/SwingComponentPeer.h
new file mode 100644
index 000000000..545496878
--- /dev/null
+++ b/libjava/gnu/java/awt/peer/swing/SwingComponentPeer.h
@@ -0,0 +1,156 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_java_awt_peer_swing_SwingComponentPeer__
+#define __gnu_java_awt_peer_swing_SwingComponentPeer__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace java
+ {
+ namespace awt
+ {
+ namespace peer
+ {
+ namespace swing
+ {
+ class SwingComponent;
+ class SwingComponentPeer;
+ }
+ }
+ }
+ }
+ }
+ namespace java
+ {
+ namespace awt
+ {
+ class AWTEvent;
+ class BufferCapabilities;
+ class BufferCapabilities$FlipContents;
+ class Color;
+ class Component;
+ class Cursor;
+ class Dimension;
+ class Font;
+ class FontMetrics;
+ class Graphics;
+ class GraphicsConfiguration;
+ class Image;
+ class Point;
+ class Rectangle;
+ class Toolkit;
+ namespace event
+ {
+ class FocusEvent;
+ class KeyEvent;
+ class MouseEvent;
+ class PaintEvent;
+ }
+ namespace image
+ {
+ class ColorModel;
+ class ImageObserver;
+ class ImageProducer;
+ class VolatileImage;
+ }
+ namespace peer
+ {
+ class ContainerPeer;
+ }
+ }
+ }
+ namespace sun
+ {
+ namespace awt
+ {
+ class CausedFocusEvent$Cause;
+ }
+ }
+}
+
+class gnu::java::awt::peer::swing::SwingComponentPeer : public ::java::lang::Object
+{
+
+public: // actually protected
+ SwingComponentPeer();
+ virtual void init(::java::awt::Component *, ::gnu::java::awt::peer::swing::SwingComponent *);
+public:
+ virtual jint checkImage(::java::awt::Image *, jint, jint, ::java::awt::image::ImageObserver *);
+ virtual ::java::awt::Image * createImage(::java::awt::image::ImageProducer *);
+ virtual ::java::awt::Image * createImage(jint, jint);
+ virtual void disable();
+ virtual void dispose();
+ virtual void enable();
+ virtual ::java::awt::image::ColorModel * getColorModel();
+ virtual ::java::awt::FontMetrics * getFontMetrics(::java::awt::Font *);
+ virtual ::java::awt::Graphics * getGraphics();
+ virtual ::java::awt::Point * getLocationOnScreen();
+ virtual ::java::awt::Dimension * getMinimumSize();
+ virtual ::java::awt::Dimension * getPreferredSize();
+ virtual ::java::awt::Toolkit * getToolkit();
+ virtual void handleEvent(::java::awt::AWTEvent *);
+ virtual void hide();
+ virtual jboolean isFocusTraversable();
+ virtual jboolean isFocusable();
+ virtual ::java::awt::Dimension * minimumSize();
+ virtual ::java::awt::Dimension * preferredSize();
+ virtual void paint(::java::awt::Graphics *);
+ virtual jboolean prepareImage(::java::awt::Image *, jint, jint, ::java::awt::image::ImageObserver *);
+ virtual void print(::java::awt::Graphics *);
+ virtual void repaint(jlong, jint, jint, jint, jint);
+ virtual void requestFocus();
+ virtual jboolean requestFocus(::java::awt::Component *, jboolean, jboolean, jlong);
+ virtual void reshape(jint, jint, jint, jint);
+ virtual void setBackground(::java::awt::Color *);
+ virtual void setBounds(jint, jint, jint, jint);
+ virtual void setCursor(::java::awt::Cursor *);
+ virtual void setEnabled(jboolean);
+ virtual void setFont(::java::awt::Font *);
+ virtual void setForeground(::java::awt::Color *);
+ virtual void setVisible(jboolean);
+ virtual void show();
+ virtual ::java::awt::GraphicsConfiguration * getGraphicsConfiguration();
+ virtual void setEventMask(jlong);
+ virtual jboolean isObscured();
+ virtual jboolean canDetermineObscurity();
+ virtual void coalescePaintEvent(::java::awt::event::PaintEvent *);
+ virtual void updateCursorImmediately();
+ virtual jboolean handlesWheelScrolling();
+ virtual ::java::awt::image::VolatileImage * createVolatileImage(jint, jint);
+ virtual void createBuffers(jint, ::java::awt::BufferCapabilities *);
+ virtual ::java::awt::Image * getBackBuffer();
+ virtual void flip(::java::awt::BufferCapabilities$FlipContents *);
+ virtual void destroyBuffers();
+ virtual ::java::awt::Rectangle * getBounds();
+ virtual void reparent(::java::awt::peer::ContainerPeer *);
+ virtual void setBounds(jint, jint, jint, jint, jint);
+ virtual jboolean isReparentSupported();
+ virtual void layout();
+public: // actually protected
+ virtual void peerPaint(::java::awt::Graphics *, jboolean);
+ virtual void peerPaintComponent(::java::awt::Graphics *);
+ virtual void handleMouseEvent(::java::awt::event::MouseEvent *);
+ virtual void handleMouseMotionEvent(::java::awt::event::MouseEvent *);
+ virtual void handleKeyEvent(::java::awt::event::KeyEvent *);
+ virtual void handleFocusEvent(::java::awt::event::FocusEvent *);
+public:
+ virtual ::java::awt::Component * getComponent();
+ virtual jboolean requestFocus(::java::awt::Component *, jboolean, jboolean, jlong, ::sun::awt::CausedFocusEvent$Cause *);
+public: // actually protected
+ ::java::awt::Component * __attribute__((aligned(__alignof__( ::java::lang::Object)))) awtComponent;
+ ::gnu::java::awt::peer::swing::SwingComponent * swingComponent;
+ ::java::awt::Font * peerFont;
+ ::java::awt::Rectangle * paintArea;
+public: // actually package-private
+ static jboolean $assertionsDisabled;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_java_awt_peer_swing_SwingComponentPeer__
diff --git a/libjava/gnu/java/awt/peer/swing/SwingContainerPeer.h b/libjava/gnu/java/awt/peer/swing/SwingContainerPeer.h
new file mode 100644
index 000000000..a3895c08c
--- /dev/null
+++ b/libjava/gnu/java/awt/peer/swing/SwingContainerPeer.h
@@ -0,0 +1,86 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_java_awt_peer_swing_SwingContainerPeer__
+#define __gnu_java_awt_peer_swing_SwingContainerPeer__
+
+#pragma interface
+
+#include <gnu/java/awt/peer/swing/SwingComponentPeer.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace java
+ {
+ namespace awt
+ {
+ namespace peer
+ {
+ namespace swing
+ {
+ class SwingContainerPeer;
+ }
+ }
+ }
+ }
+ }
+ namespace java
+ {
+ namespace awt
+ {
+ class Component;
+ class Container;
+ class Graphics;
+ class Image;
+ class Insets;
+ namespace event
+ {
+ class KeyEvent;
+ class MouseEvent;
+ }
+ }
+ }
+}
+
+class gnu::java::awt::peer::swing::SwingContainerPeer : public ::gnu::java::awt::peer::swing::SwingComponentPeer
+{
+
+public:
+ SwingContainerPeer(::java::awt::Container *);
+public: // actually protected
+ virtual void addHeavyweightDescendent(::java::awt::Component *);
+ virtual void removeHeavyweightDescendent(::java::awt::Component *);
+ virtual JArray< ::java::awt::Component * > * getHeavyweightDescendents();
+public:
+ virtual ::java::awt::Insets * insets();
+ virtual ::java::awt::Insets * getInsets();
+ virtual void beginValidate();
+ virtual void endValidate();
+ virtual void beginLayout();
+ virtual void endLayout();
+ virtual jboolean isPaintPending();
+ virtual jboolean isRestackSupported();
+ virtual void cancelPendingPaint(jint, jint, jint, jint);
+ virtual void restack();
+public: // actually protected
+ virtual void peerPaint(::java::awt::Graphics *, jboolean);
+private:
+ jboolean isDoubleBuffering();
+public: // actually protected
+ virtual void peerPaintChildren(::java::awt::Graphics *);
+ virtual void handleMouseEvent(::java::awt::event::MouseEvent *);
+ virtual void handleMouseMotionEvent(::java::awt::event::MouseEvent *);
+ virtual void handleKeyEvent(::java::awt::event::KeyEvent *);
+private:
+ ::java::awt::Component * getFocusOwner();
+ ::java::util::LinkedList * __attribute__((aligned(__alignof__( ::gnu::java::awt::peer::swing::SwingComponentPeer)))) heavyweightDescendents;
+ ::java::awt::Image * backbuffer;
+ ::java::awt::Component * focusOwner;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_java_awt_peer_swing_SwingContainerPeer__
diff --git a/libjava/gnu/java/awt/peer/swing/SwingFramePeer.h b/libjava/gnu/java/awt/peer/swing/SwingFramePeer.h
new file mode 100644
index 000000000..e09ee5d1d
--- /dev/null
+++ b/libjava/gnu/java/awt/peer/swing/SwingFramePeer.h
@@ -0,0 +1,78 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_java_awt_peer_swing_SwingFramePeer__
+#define __gnu_java_awt_peer_swing_SwingFramePeer__
+
+#pragma interface
+
+#include <gnu/java/awt/peer/swing/SwingWindowPeer.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace java
+ {
+ namespace awt
+ {
+ namespace peer
+ {
+ namespace swing
+ {
+ class SwingFramePeer;
+ class SwingMenuBarPeer;
+ }
+ }
+ }
+ }
+ }
+ namespace java
+ {
+ namespace awt
+ {
+ class Frame;
+ class Graphics;
+ class Image;
+ class Insets;
+ class MenuBar;
+ class Point;
+ class Rectangle;
+ namespace event
+ {
+ class MouseEvent;
+ }
+ }
+ }
+}
+
+class gnu::java::awt::peer::swing::SwingFramePeer : public ::gnu::java::awt::peer::swing::SwingWindowPeer
+{
+
+public:
+ SwingFramePeer(::java::awt::Frame *);
+ virtual void setMenuBar(::java::awt::MenuBar *);
+public: // actually protected
+ virtual void peerPaintComponent(::java::awt::Graphics *);
+public:
+ virtual void setBounds(jint, jint, jint, jint);
+ virtual ::java::awt::Insets * getInsets();
+ virtual ::java::awt::Point * getMenuLocationOnScreen();
+public: // actually protected
+ virtual void handleMouseEvent(::java::awt::event::MouseEvent *);
+ virtual void handleMouseMotionEvent(::java::awt::event::MouseEvent *);
+public:
+ virtual void setIconImage(::java::awt::Image *) = 0;
+ virtual void setResizable(jboolean) = 0;
+ virtual void setTitle(::java::lang::String *) = 0;
+ virtual jint getState() = 0;
+ virtual void setState(jint) = 0;
+ virtual void setMaximizedBounds(::java::awt::Rectangle *) = 0;
+ virtual void setBoundsPrivate(jint, jint, jint, jint) = 0;
+ virtual ::java::awt::Rectangle * getBoundsPrivate() = 0;
+public: // actually package-private
+ ::gnu::java::awt::peer::swing::SwingMenuBarPeer * __attribute__((aligned(__alignof__( ::gnu::java::awt::peer::swing::SwingWindowPeer)))) menuBar;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_java_awt_peer_swing_SwingFramePeer__
diff --git a/libjava/gnu/java/awt/peer/swing/SwingLabelPeer$SwingLabel.h b/libjava/gnu/java/awt/peer/swing/SwingLabelPeer$SwingLabel.h
new file mode 100644
index 000000000..561c8102f
--- /dev/null
+++ b/libjava/gnu/java/awt/peer/swing/SwingLabelPeer$SwingLabel.h
@@ -0,0 +1,78 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_java_awt_peer_swing_SwingLabelPeer$SwingLabel__
+#define __gnu_java_awt_peer_swing_SwingLabelPeer$SwingLabel__
+
+#pragma interface
+
+#include <javax/swing/JLabel.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace java
+ {
+ namespace awt
+ {
+ namespace peer
+ {
+ namespace swing
+ {
+ class SwingLabelPeer;
+ class SwingLabelPeer$SwingLabel;
+ }
+ }
+ }
+ }
+ }
+ namespace java
+ {
+ namespace awt
+ {
+ class Container;
+ class Graphics;
+ class Image;
+ class Label;
+ class Point;
+ namespace event
+ {
+ class FocusEvent;
+ class KeyEvent;
+ class MouseEvent;
+ }
+ }
+ }
+ namespace javax
+ {
+ namespace swing
+ {
+ class JComponent;
+ }
+ }
+}
+
+class gnu::java::awt::peer::swing::SwingLabelPeer$SwingLabel : public ::javax::swing::JLabel
+{
+
+public: // actually package-private
+ SwingLabelPeer$SwingLabel(::gnu::java::awt::peer::swing::SwingLabelPeer *, ::java::awt::Label *);
+public:
+ virtual ::javax::swing::JComponent * getJComponent();
+ virtual void handleMouseEvent(::java::awt::event::MouseEvent *);
+ virtual void handleMouseMotionEvent(::java::awt::event::MouseEvent *);
+ virtual void handleKeyEvent(::java::awt::event::KeyEvent *);
+ virtual void handleFocusEvent(::java::awt::event::FocusEvent *);
+ virtual ::java::awt::Point * getLocationOnScreen();
+ virtual jboolean isShowing();
+ virtual ::java::awt::Image * createImage(jint, jint);
+ virtual ::java::awt::Graphics * getGraphics();
+ virtual ::java::awt::Container * getParent();
+public: // actually package-private
+ ::java::awt::Label * __attribute__((aligned(__alignof__( ::javax::swing::JLabel)))) label;
+ ::gnu::java::awt::peer::swing::SwingLabelPeer * this$0;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_java_awt_peer_swing_SwingLabelPeer$SwingLabel__
diff --git a/libjava/gnu/java/awt/peer/swing/SwingLabelPeer.h b/libjava/gnu/java/awt/peer/swing/SwingLabelPeer.h
new file mode 100644
index 000000000..a400853f7
--- /dev/null
+++ b/libjava/gnu/java/awt/peer/swing/SwingLabelPeer.h
@@ -0,0 +1,47 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_java_awt_peer_swing_SwingLabelPeer__
+#define __gnu_java_awt_peer_swing_SwingLabelPeer__
+
+#pragma interface
+
+#include <gnu/java/awt/peer/swing/SwingComponentPeer.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace java
+ {
+ namespace awt
+ {
+ namespace peer
+ {
+ namespace swing
+ {
+ class SwingLabelPeer;
+ }
+ }
+ }
+ }
+ }
+ namespace java
+ {
+ namespace awt
+ {
+ class Label;
+ }
+ }
+}
+
+class gnu::java::awt::peer::swing::SwingLabelPeer : public ::gnu::java::awt::peer::swing::SwingComponentPeer
+{
+
+public:
+ SwingLabelPeer(::java::awt::Label *);
+ virtual void setText(::java::lang::String *);
+ virtual void setAlignment(jint);
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_java_awt_peer_swing_SwingLabelPeer__
diff --git a/libjava/gnu/java/awt/peer/swing/SwingListPeer$SwingList.h b/libjava/gnu/java/awt/peer/swing/SwingListPeer$SwingList.h
new file mode 100644
index 000000000..76b8b759b
--- /dev/null
+++ b/libjava/gnu/java/awt/peer/swing/SwingListPeer$SwingList.h
@@ -0,0 +1,78 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_java_awt_peer_swing_SwingListPeer$SwingList__
+#define __gnu_java_awt_peer_swing_SwingListPeer$SwingList__
+
+#pragma interface
+
+#include <javax/swing/JScrollPane.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace java
+ {
+ namespace awt
+ {
+ namespace peer
+ {
+ namespace swing
+ {
+ class SwingListPeer;
+ class SwingListPeer$SwingList;
+ }
+ }
+ }
+ }
+ }
+ namespace java
+ {
+ namespace awt
+ {
+ class Component;
+ class Container;
+ class Graphics;
+ class Image;
+ class Point;
+ namespace event
+ {
+ class FocusEvent;
+ class KeyEvent;
+ class MouseEvent;
+ }
+ }
+ }
+ namespace javax
+ {
+ namespace swing
+ {
+ class JComponent;
+ }
+ }
+}
+
+class gnu::java::awt::peer::swing::SwingListPeer$SwingList : public ::javax::swing::JScrollPane
+{
+
+public: // actually package-private
+ SwingListPeer$SwingList(::gnu::java::awt::peer::swing::SwingListPeer *, ::java::awt::Component *);
+public:
+ virtual ::javax::swing::JComponent * getJComponent();
+ virtual void handleMouseEvent(::java::awt::event::MouseEvent *);
+ virtual jboolean isLightweight();
+ virtual void handleMouseMotionEvent(::java::awt::event::MouseEvent *);
+ virtual void handleKeyEvent(::java::awt::event::KeyEvent *);
+ virtual void handleFocusEvent(::java::awt::event::FocusEvent *);
+ virtual ::java::awt::Point * getLocationOnScreen();
+ virtual jboolean isShowing();
+ virtual ::java::awt::Image * createImage(jint, jint);
+ virtual ::java::awt::Graphics * getGraphics();
+ virtual ::java::awt::Container * getParent();
+public: // actually package-private
+ ::gnu::java::awt::peer::swing::SwingListPeer * __attribute__((aligned(__alignof__( ::javax::swing::JScrollPane)))) this$0;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_java_awt_peer_swing_SwingListPeer$SwingList__
diff --git a/libjava/gnu/java/awt/peer/swing/SwingListPeer.h b/libjava/gnu/java/awt/peer/swing/SwingListPeer.h
new file mode 100644
index 000000000..fa6fde624
--- /dev/null
+++ b/libjava/gnu/java/awt/peer/swing/SwingListPeer.h
@@ -0,0 +1,79 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_java_awt_peer_swing_SwingListPeer__
+#define __gnu_java_awt_peer_swing_SwingListPeer__
+
+#pragma interface
+
+#include <gnu/java/awt/peer/swing/SwingComponentPeer.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace java
+ {
+ namespace awt
+ {
+ namespace peer
+ {
+ namespace swing
+ {
+ class SwingListPeer;
+ }
+ }
+ }
+ }
+ }
+ namespace java
+ {
+ namespace awt
+ {
+ class Dimension;
+ class Graphics;
+ class List;
+ }
+ }
+ namespace javax
+ {
+ namespace swing
+ {
+ class DefaultListModel;
+ class JList;
+ }
+ }
+}
+
+class gnu::java::awt::peer::swing::SwingListPeer : public ::gnu::java::awt::peer::swing::SwingComponentPeer
+{
+
+public:
+ SwingListPeer(::java::awt::List *);
+ virtual void add(::java::lang::String *, jint);
+ virtual void addItem(::java::lang::String *, jint);
+ virtual void clear();
+ virtual void delItems(jint, jint);
+ virtual void deselect(jint);
+ virtual ::java::awt::Dimension * getMinimumSize(jint);
+ virtual ::java::awt::Dimension * getPreferredSize(jint);
+ virtual JArray< jint > * getSelectedIndexes();
+ virtual void makeVisible(jint);
+ virtual ::java::awt::Dimension * minimumSize(jint);
+ virtual ::java::awt::Dimension * preferredSize(jint);
+ virtual void removeAll();
+ virtual void select(jint);
+ virtual void setMultipleMode(jboolean);
+ virtual void setMultipleSelections(jboolean);
+ virtual void reshape(jint, jint, jint, jint);
+public: // actually protected
+ virtual void peerPaint(::java::awt::Graphics *, jboolean);
+private:
+ ::javax::swing::JList * __attribute__((aligned(__alignof__( ::gnu::java::awt::peer::swing::SwingComponentPeer)))) jList;
+ ::javax::swing::DefaultListModel * listModel;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_java_awt_peer_swing_SwingListPeer__
diff --git a/libjava/gnu/java/awt/peer/swing/SwingMenuBarPeer$SwingMenuBar.h b/libjava/gnu/java/awt/peer/swing/SwingMenuBarPeer$SwingMenuBar.h
new file mode 100644
index 000000000..4ab74e8a1
--- /dev/null
+++ b/libjava/gnu/java/awt/peer/swing/SwingMenuBarPeer$SwingMenuBar.h
@@ -0,0 +1,59 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_java_awt_peer_swing_SwingMenuBarPeer$SwingMenuBar__
+#define __gnu_java_awt_peer_swing_SwingMenuBarPeer$SwingMenuBar__
+
+#pragma interface
+
+#include <javax/swing/JMenuBar.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace java
+ {
+ namespace awt
+ {
+ namespace peer
+ {
+ namespace swing
+ {
+ class SwingMenuBarPeer;
+ class SwingMenuBarPeer$SwingMenuBar;
+ }
+ }
+ }
+ }
+ }
+ namespace java
+ {
+ namespace awt
+ {
+ class Container;
+ class Point;
+ namespace event
+ {
+ class MouseEvent;
+ }
+ }
+ }
+}
+
+class gnu::java::awt::peer::swing::SwingMenuBarPeer$SwingMenuBar : public ::javax::swing::JMenuBar
+{
+
+ SwingMenuBarPeer$SwingMenuBar(::gnu::java::awt::peer::swing::SwingMenuBarPeer *);
+public:
+ virtual ::java::awt::Container * getParent();
+ virtual jboolean isShowing();
+ virtual void handleMouseEvent(::java::awt::event::MouseEvent *);
+ virtual ::java::awt::Point * getLocationOnScreen();
+public: // actually package-private
+ SwingMenuBarPeer$SwingMenuBar(::gnu::java::awt::peer::swing::SwingMenuBarPeer *, ::gnu::java::awt::peer::swing::SwingMenuBarPeer$SwingMenuBar *);
+ ::gnu::java::awt::peer::swing::SwingMenuBarPeer * __attribute__((aligned(__alignof__( ::javax::swing::JMenuBar)))) this$0;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_java_awt_peer_swing_SwingMenuBarPeer$SwingMenuBar__
diff --git a/libjava/gnu/java/awt/peer/swing/SwingMenuBarPeer.h b/libjava/gnu/java/awt/peer/swing/SwingMenuBarPeer.h
new file mode 100644
index 000000000..357947669
--- /dev/null
+++ b/libjava/gnu/java/awt/peer/swing/SwingMenuBarPeer.h
@@ -0,0 +1,70 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_java_awt_peer_swing_SwingMenuBarPeer__
+#define __gnu_java_awt_peer_swing_SwingMenuBarPeer__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace java
+ {
+ namespace awt
+ {
+ namespace peer
+ {
+ namespace swing
+ {
+ class SwingFramePeer;
+ class SwingMenuBarPeer;
+ class SwingMenuBarPeer$SwingMenuBar;
+ }
+ }
+ }
+ }
+ }
+ namespace java
+ {
+ namespace awt
+ {
+ class Font;
+ class Graphics;
+ class Menu;
+ class MenuBar;
+ namespace event
+ {
+ class MouseEvent;
+ }
+ }
+ }
+}
+
+class gnu::java::awt::peer::swing::SwingMenuBarPeer : public ::java::lang::Object
+{
+
+public:
+ SwingMenuBarPeer(::java::awt::MenuBar *);
+ virtual void setFramePeer(::gnu::java::awt::peer::swing::SwingFramePeer *);
+ virtual void addMenu(::java::awt::Menu *);
+ virtual void addHelpMenu(::java::awt::Menu *);
+ virtual void delMenu(jint);
+ virtual void dispose();
+ virtual void setFont(::java::awt::Font *);
+ virtual void setWidth(jint);
+ virtual void peerPaint(::java::awt::Graphics *);
+ virtual jint getHeight();
+ virtual void handleMouseEvent(::java::awt::event::MouseEvent *);
+ virtual void handleMouseMotionEvent(::java::awt::event::MouseEvent *);
+public: // actually package-private
+ ::java::awt::MenuBar * __attribute__((aligned(__alignof__( ::java::lang::Object)))) awtMenuBar;
+ ::gnu::java::awt::peer::swing::SwingMenuBarPeer$SwingMenuBar * menuBar;
+ ::gnu::java::awt::peer::swing::SwingFramePeer * framePeer;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_java_awt_peer_swing_SwingMenuBarPeer__
diff --git a/libjava/gnu/java/awt/peer/swing/SwingMenuItemPeer$SwingMenuItemListener.h b/libjava/gnu/java/awt/peer/swing/SwingMenuItemPeer$SwingMenuItemListener.h
new file mode 100644
index 000000000..1aa993ba7
--- /dev/null
+++ b/libjava/gnu/java/awt/peer/swing/SwingMenuItemPeer$SwingMenuItemListener.h
@@ -0,0 +1,54 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_java_awt_peer_swing_SwingMenuItemPeer$SwingMenuItemListener__
+#define __gnu_java_awt_peer_swing_SwingMenuItemPeer$SwingMenuItemListener__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace java
+ {
+ namespace awt
+ {
+ namespace peer
+ {
+ namespace swing
+ {
+ class SwingMenuItemPeer;
+ class SwingMenuItemPeer$SwingMenuItemListener;
+ }
+ }
+ }
+ }
+ }
+ namespace java
+ {
+ namespace awt
+ {
+ namespace event
+ {
+ class ActionEvent;
+ }
+ }
+ }
+}
+
+class gnu::java::awt::peer::swing::SwingMenuItemPeer$SwingMenuItemListener : public ::java::lang::Object
+{
+
+ SwingMenuItemPeer$SwingMenuItemListener(::gnu::java::awt::peer::swing::SwingMenuItemPeer *);
+public:
+ virtual void actionPerformed(::java::awt::event::ActionEvent *);
+public: // actually package-private
+ SwingMenuItemPeer$SwingMenuItemListener(::gnu::java::awt::peer::swing::SwingMenuItemPeer *, ::gnu::java::awt::peer::swing::SwingMenuItemPeer$SwingMenuItemListener *);
+ ::gnu::java::awt::peer::swing::SwingMenuItemPeer * __attribute__((aligned(__alignof__( ::java::lang::Object)))) this$0;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_java_awt_peer_swing_SwingMenuItemPeer$SwingMenuItemListener__
diff --git a/libjava/gnu/java/awt/peer/swing/SwingMenuItemPeer.h b/libjava/gnu/java/awt/peer/swing/SwingMenuItemPeer.h
new file mode 100644
index 000000000..f79e2d27f
--- /dev/null
+++ b/libjava/gnu/java/awt/peer/swing/SwingMenuItemPeer.h
@@ -0,0 +1,63 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_java_awt_peer_swing_SwingMenuItemPeer__
+#define __gnu_java_awt_peer_swing_SwingMenuItemPeer__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace java
+ {
+ namespace awt
+ {
+ namespace peer
+ {
+ namespace swing
+ {
+ class SwingMenuItemPeer;
+ }
+ }
+ }
+ }
+ }
+ namespace java
+ {
+ namespace awt
+ {
+ class Font;
+ class MenuItem;
+ }
+ }
+ namespace javax
+ {
+ namespace swing
+ {
+ class JMenuItem;
+ }
+ }
+}
+
+class gnu::java::awt::peer::swing::SwingMenuItemPeer : public ::java::lang::Object
+{
+
+public:
+ SwingMenuItemPeer(::java::awt::MenuItem *);
+ virtual void disable();
+ virtual void enable();
+ virtual void setEnabled(jboolean);
+ virtual void setLabel(::java::lang::String *);
+ virtual void dispose();
+ virtual void setFont(::java::awt::Font *);
+public: // actually package-private
+ ::java::awt::MenuItem * __attribute__((aligned(__alignof__( ::java::lang::Object)))) awtMenuItem;
+ ::javax::swing::JMenuItem * menuItem;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_java_awt_peer_swing_SwingMenuItemPeer__
diff --git a/libjava/gnu/java/awt/peer/swing/SwingMenuPeer$SwingMenu.h b/libjava/gnu/java/awt/peer/swing/SwingMenuPeer$SwingMenu.h
new file mode 100644
index 000000000..1de2beecc
--- /dev/null
+++ b/libjava/gnu/java/awt/peer/swing/SwingMenuPeer$SwingMenu.h
@@ -0,0 +1,58 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_java_awt_peer_swing_SwingMenuPeer$SwingMenu__
+#define __gnu_java_awt_peer_swing_SwingMenuPeer$SwingMenu__
+
+#pragma interface
+
+#include <javax/swing/JMenu.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace java
+ {
+ namespace awt
+ {
+ namespace peer
+ {
+ namespace swing
+ {
+ class SwingMenuPeer;
+ class SwingMenuPeer$SwingMenu;
+ }
+ }
+ }
+ }
+ }
+ namespace java
+ {
+ namespace awt
+ {
+ class Point;
+ namespace event
+ {
+ class MouseEvent;
+ }
+ }
+ }
+}
+
+class gnu::java::awt::peer::swing::SwingMenuPeer$SwingMenu : public ::javax::swing::JMenu
+{
+
+ SwingMenuPeer$SwingMenu(::gnu::java::awt::peer::swing::SwingMenuPeer *);
+public:
+ virtual jboolean isShowing();
+ virtual ::java::awt::Point * getLocationOnScreen();
+ virtual void handleMouseEvent(::java::awt::event::MouseEvent *);
+ virtual void handleMouseMotionEvent(::java::awt::event::MouseEvent *);
+public: // actually package-private
+ SwingMenuPeer$SwingMenu(::gnu::java::awt::peer::swing::SwingMenuPeer *, ::gnu::java::awt::peer::swing::SwingMenuPeer$SwingMenu *);
+ ::gnu::java::awt::peer::swing::SwingMenuPeer * __attribute__((aligned(__alignof__( ::javax::swing::JMenu)))) this$0;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_java_awt_peer_swing_SwingMenuPeer$SwingMenu__
diff --git a/libjava/gnu/java/awt/peer/swing/SwingMenuPeer.h b/libjava/gnu/java/awt/peer/swing/SwingMenuPeer.h
new file mode 100644
index 000000000..988b48139
--- /dev/null
+++ b/libjava/gnu/java/awt/peer/swing/SwingMenuPeer.h
@@ -0,0 +1,72 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_java_awt_peer_swing_SwingMenuPeer__
+#define __gnu_java_awt_peer_swing_SwingMenuPeer__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace java
+ {
+ namespace awt
+ {
+ namespace peer
+ {
+ namespace swing
+ {
+ class SwingMenuPeer;
+ class SwingMenuPeer$SwingMenu;
+ }
+ }
+ }
+ }
+ }
+ namespace java
+ {
+ namespace awt
+ {
+ class Font;
+ class Menu;
+ class MenuItem;
+ namespace event
+ {
+ class MouseEvent;
+ }
+ }
+ }
+}
+
+class gnu::java::awt::peer::swing::SwingMenuPeer : public ::java::lang::Object
+{
+
+public:
+ SwingMenuPeer(::java::awt::Menu *);
+ virtual void addItem(::java::awt::MenuItem *);
+ virtual void addSeparator();
+ virtual void delItem(jint);
+ virtual void disable();
+ virtual void enable();
+ virtual void setEnabled(jboolean);
+ virtual void setLabel(::java::lang::String *);
+ virtual void dispose();
+ virtual void setFont(::java::awt::Font *);
+ virtual void handleMouseEvent(::java::awt::event::MouseEvent *);
+ virtual void handleMouseMotionEvent(::java::awt::event::MouseEvent *);
+public: // actually package-private
+ virtual jint getX();
+ virtual jint getWidth();
+public:
+ virtual jint getY();
+public: // actually package-private
+ ::java::awt::Menu * __attribute__((aligned(__alignof__( ::java::lang::Object)))) awtMenu;
+ ::gnu::java::awt::peer::swing::SwingMenuPeer$SwingMenu * menu;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_java_awt_peer_swing_SwingMenuPeer__
diff --git a/libjava/gnu/java/awt/peer/swing/SwingPanelPeer.h b/libjava/gnu/java/awt/peer/swing/SwingPanelPeer.h
new file mode 100644
index 000000000..3b9f61b8a
--- /dev/null
+++ b/libjava/gnu/java/awt/peer/swing/SwingPanelPeer.h
@@ -0,0 +1,45 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_java_awt_peer_swing_SwingPanelPeer__
+#define __gnu_java_awt_peer_swing_SwingPanelPeer__
+
+#pragma interface
+
+#include <gnu/java/awt/peer/swing/SwingContainerPeer.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace java
+ {
+ namespace awt
+ {
+ namespace peer
+ {
+ namespace swing
+ {
+ class SwingPanelPeer;
+ }
+ }
+ }
+ }
+ }
+ namespace java
+ {
+ namespace awt
+ {
+ class Panel;
+ }
+ }
+}
+
+class gnu::java::awt::peer::swing::SwingPanelPeer : public ::gnu::java::awt::peer::swing::SwingContainerPeer
+{
+
+public:
+ SwingPanelPeer(::java::awt::Panel *);
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_java_awt_peer_swing_SwingPanelPeer__
diff --git a/libjava/gnu/java/awt/peer/swing/SwingTextAreaPeer$1.h b/libjava/gnu/java/awt/peer/swing/SwingTextAreaPeer$1.h
new file mode 100644
index 000000000..77c15293b
--- /dev/null
+++ b/libjava/gnu/java/awt/peer/swing/SwingTextAreaPeer$1.h
@@ -0,0 +1,51 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_java_awt_peer_swing_SwingTextAreaPeer$1__
+#define __gnu_java_awt_peer_swing_SwingTextAreaPeer$1__
+
+#pragma interface
+
+#include <javax/swing/JViewport.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace java
+ {
+ namespace awt
+ {
+ namespace peer
+ {
+ namespace swing
+ {
+ class SwingTextAreaPeer;
+ class SwingTextAreaPeer$1;
+ }
+ }
+ }
+ }
+ }
+ namespace java
+ {
+ namespace awt
+ {
+ class Image;
+ }
+ }
+}
+
+class gnu::java::awt::peer::swing::SwingTextAreaPeer$1 : public ::javax::swing::JViewport
+{
+
+public: // actually package-private
+ SwingTextAreaPeer$1(::gnu::java::awt::peer::swing::SwingTextAreaPeer *);
+public:
+ virtual ::java::awt::Image * createImage(jint, jint);
+public: // actually package-private
+ ::gnu::java::awt::peer::swing::SwingTextAreaPeer * __attribute__((aligned(__alignof__( ::javax::swing::JViewport)))) this$0;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_java_awt_peer_swing_SwingTextAreaPeer$1__
diff --git a/libjava/gnu/java/awt/peer/swing/SwingTextAreaPeer$SwingScrollPane.h b/libjava/gnu/java/awt/peer/swing/SwingTextAreaPeer$SwingScrollPane.h
new file mode 100644
index 000000000..040c7f017
--- /dev/null
+++ b/libjava/gnu/java/awt/peer/swing/SwingTextAreaPeer$SwingScrollPane.h
@@ -0,0 +1,81 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_java_awt_peer_swing_SwingTextAreaPeer$SwingScrollPane__
+#define __gnu_java_awt_peer_swing_SwingTextAreaPeer$SwingScrollPane__
+
+#pragma interface
+
+#include <javax/swing/JScrollPane.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace java
+ {
+ namespace awt
+ {
+ namespace peer
+ {
+ namespace swing
+ {
+ class SwingTextAreaPeer;
+ class SwingTextAreaPeer$SwingScrollPane;
+ class SwingTextAreaPeer$SwingTextArea;
+ }
+ }
+ }
+ }
+ }
+ namespace java
+ {
+ namespace awt
+ {
+ class Container;
+ class Graphics;
+ class Image;
+ class Point;
+ namespace event
+ {
+ class FocusEvent;
+ class KeyEvent;
+ class MouseEvent;
+ }
+ }
+ }
+ namespace javax
+ {
+ namespace swing
+ {
+ class JComponent;
+ }
+ }
+}
+
+class gnu::java::awt::peer::swing::SwingTextAreaPeer$SwingScrollPane : public ::javax::swing::JScrollPane
+{
+
+public: // actually package-private
+ SwingTextAreaPeer$SwingScrollPane(::gnu::java::awt::peer::swing::SwingTextAreaPeer *, ::gnu::java::awt::peer::swing::SwingTextAreaPeer$SwingTextArea *);
+public:
+ virtual ::javax::swing::JComponent * getJComponent();
+ virtual void handleMouseEvent(::java::awt::event::MouseEvent *);
+ virtual jboolean isLightweight();
+ virtual void handleMouseMotionEvent(::java::awt::event::MouseEvent *);
+ virtual void handleKeyEvent(::java::awt::event::KeyEvent *);
+ virtual void handleFocusEvent(::java::awt::event::FocusEvent *);
+ virtual ::java::awt::Point * getLocationOnScreen();
+ virtual jboolean isShowing();
+ virtual ::java::awt::Image * createImage(jint, jint);
+ virtual ::java::awt::Graphics * getGraphics();
+ virtual ::java::awt::Container * getParent();
+ virtual void requestFocus();
+ virtual jboolean requestFocus(jboolean);
+public: // actually package-private
+ ::gnu::java::awt::peer::swing::SwingTextAreaPeer$SwingTextArea * __attribute__((aligned(__alignof__( ::javax::swing::JScrollPane)))) textArea;
+ ::gnu::java::awt::peer::swing::SwingTextAreaPeer * this$0;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_java_awt_peer_swing_SwingTextAreaPeer$SwingScrollPane__
diff --git a/libjava/gnu/java/awt/peer/swing/SwingTextAreaPeer$SwingTextArea.h b/libjava/gnu/java/awt/peer/swing/SwingTextAreaPeer$SwingTextArea.h
new file mode 100644
index 000000000..fe39275bb
--- /dev/null
+++ b/libjava/gnu/java/awt/peer/swing/SwingTextAreaPeer$SwingTextArea.h
@@ -0,0 +1,72 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_java_awt_peer_swing_SwingTextAreaPeer$SwingTextArea__
+#define __gnu_java_awt_peer_swing_SwingTextAreaPeer$SwingTextArea__
+
+#pragma interface
+
+#include <javax/swing/JTextArea.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace java
+ {
+ namespace awt
+ {
+ namespace peer
+ {
+ namespace swing
+ {
+ class SwingTextAreaPeer;
+ class SwingTextAreaPeer$SwingTextArea;
+ }
+ }
+ }
+ }
+ }
+ namespace java
+ {
+ namespace awt
+ {
+ namespace event
+ {
+ class ComponentEvent;
+ class FocusEvent;
+ class HierarchyEvent;
+ class InputMethodEvent;
+ class KeyEvent;
+ class MouseEvent;
+ class MouseWheelEvent;
+ }
+ }
+ }
+}
+
+class gnu::java::awt::peer::swing::SwingTextAreaPeer$SwingTextArea : public ::javax::swing::JTextArea
+{
+
+ SwingTextAreaPeer$SwingTextArea(::gnu::java::awt::peer::swing::SwingTextAreaPeer *);
+public: // actually protected
+ virtual void processComponentKeyEvent(::java::awt::event::KeyEvent *);
+ virtual void processMouseMotionEvent(::java::awt::event::MouseEvent *);
+ virtual void processComponentEvent(::java::awt::event::ComponentEvent *);
+ virtual void processFocusEvent(::java::awt::event::FocusEvent *);
+ virtual void processHierarchyBoundsEvent(::java::awt::event::HierarchyEvent *);
+ virtual void processHierarchyEvent(::java::awt::event::HierarchyEvent *);
+ virtual void processInputMethodEvent(::java::awt::event::InputMethodEvent *);
+ virtual void processMouseEvent(::java::awt::event::MouseEvent *);
+ virtual void processMouseWheelEvent(::java::awt::event::MouseWheelEvent *);
+ virtual void processKeyEvent(::java::awt::event::KeyEvent *);
+public:
+ virtual void requestFocus();
+ virtual jboolean requestFocus(jboolean);
+public: // actually package-private
+ SwingTextAreaPeer$SwingTextArea(::gnu::java::awt::peer::swing::SwingTextAreaPeer *, ::gnu::java::awt::peer::swing::SwingTextAreaPeer$SwingTextArea *);
+ ::gnu::java::awt::peer::swing::SwingTextAreaPeer * __attribute__((aligned(__alignof__( ::javax::swing::JTextArea)))) this$0;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_java_awt_peer_swing_SwingTextAreaPeer$SwingTextArea__
diff --git a/libjava/gnu/java/awt/peer/swing/SwingTextAreaPeer.h b/libjava/gnu/java/awt/peer/swing/SwingTextAreaPeer.h
new file mode 100644
index 000000000..2e58f536a
--- /dev/null
+++ b/libjava/gnu/java/awt/peer/swing/SwingTextAreaPeer.h
@@ -0,0 +1,78 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_java_awt_peer_swing_SwingTextAreaPeer__
+#define __gnu_java_awt_peer_swing_SwingTextAreaPeer__
+
+#pragma interface
+
+#include <gnu/java/awt/peer/swing/SwingComponentPeer.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace java
+ {
+ namespace awt
+ {
+ namespace peer
+ {
+ namespace swing
+ {
+ class SwingTextAreaPeer;
+ class SwingTextAreaPeer$SwingTextArea;
+ }
+ }
+ }
+ }
+ }
+ namespace java
+ {
+ namespace awt
+ {
+ class Dimension;
+ class Rectangle;
+ class TextArea;
+ namespace im
+ {
+ class InputMethodRequests;
+ }
+ }
+ }
+}
+
+class gnu::java::awt::peer::swing::SwingTextAreaPeer : public ::gnu::java::awt::peer::swing::SwingComponentPeer
+{
+
+public:
+ SwingTextAreaPeer(::java::awt::TextArea *);
+ virtual ::java::awt::Dimension * getMinimumSize(jint, jint);
+ virtual ::java::awt::Dimension * getPreferredSize(jint, jint);
+ virtual void insert(::java::lang::String *, jint);
+ virtual void insertText(::java::lang::String *, jint);
+ virtual ::java::awt::Dimension * minimumSize();
+ virtual ::java::awt::Dimension * preferredSize();
+ virtual ::java::awt::Dimension * minimumSize(jint, jint);
+ virtual ::java::awt::Dimension * preferredSize(jint, jint);
+ virtual void replaceRange(::java::lang::String *, jint, jint);
+ virtual void replaceText(::java::lang::String *, jint, jint);
+ virtual jlong filterEvents(jlong);
+ virtual jint getCaretPosition();
+ virtual ::java::awt::Rectangle * getCharacterBounds(jint);
+ virtual jint getIndexAtPoint(jint, jint);
+ virtual ::java::awt::im::InputMethodRequests * getInputMethodRequests();
+ virtual jint getSelectionEnd();
+ virtual jint getSelectionStart();
+ virtual ::java::lang::String * getText();
+ virtual void select(jint, jint);
+ virtual void setCaretPosition(jint);
+ virtual void setEditable(jboolean);
+ virtual void setText(::java::lang::String *);
+ virtual void reshape(jint, jint, jint, jint);
+private:
+ ::gnu::java::awt::peer::swing::SwingTextAreaPeer$SwingTextArea * __attribute__((aligned(__alignof__( ::gnu::java::awt::peer::swing::SwingComponentPeer)))) jTextArea;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_java_awt_peer_swing_SwingTextAreaPeer__
diff --git a/libjava/gnu/java/awt/peer/swing/SwingTextFieldPeer$SwingTextField.h b/libjava/gnu/java/awt/peer/swing/SwingTextFieldPeer$SwingTextField.h
new file mode 100644
index 000000000..3a46f6719
--- /dev/null
+++ b/libjava/gnu/java/awt/peer/swing/SwingTextFieldPeer$SwingTextField.h
@@ -0,0 +1,80 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_java_awt_peer_swing_SwingTextFieldPeer$SwingTextField__
+#define __gnu_java_awt_peer_swing_SwingTextFieldPeer$SwingTextField__
+
+#pragma interface
+
+#include <javax/swing/JTextField.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace java
+ {
+ namespace awt
+ {
+ namespace peer
+ {
+ namespace swing
+ {
+ class SwingTextFieldPeer;
+ class SwingTextFieldPeer$SwingTextField;
+ }
+ }
+ }
+ }
+ }
+ namespace java
+ {
+ namespace awt
+ {
+ class Container;
+ class Graphics;
+ class Image;
+ class Point;
+ class TextField;
+ namespace event
+ {
+ class FocusEvent;
+ class KeyEvent;
+ class MouseEvent;
+ }
+ }
+ }
+ namespace javax
+ {
+ namespace swing
+ {
+ class JComponent;
+ }
+ }
+}
+
+class gnu::java::awt::peer::swing::SwingTextFieldPeer$SwingTextField : public ::javax::swing::JTextField
+{
+
+public: // actually package-private
+ SwingTextFieldPeer$SwingTextField(::gnu::java::awt::peer::swing::SwingTextFieldPeer *, ::java::awt::TextField *);
+public:
+ virtual ::java::awt::Point * getLocationOnScreen();
+ virtual jboolean isShowing();
+ virtual ::java::awt::Image * createImage(jint, jint);
+ virtual ::javax::swing::JComponent * getJComponent();
+ virtual void handleMouseEvent(::java::awt::event::MouseEvent *);
+ virtual void handleMouseMotionEvent(::java::awt::event::MouseEvent *);
+ virtual void handleKeyEvent(::java::awt::event::KeyEvent *);
+ virtual void handleFocusEvent(::java::awt::event::FocusEvent *);
+ virtual ::java::awt::Container * getParent();
+ virtual ::java::awt::Graphics * getGraphics();
+ virtual void requestFocus();
+ virtual jboolean requestFocus(jboolean);
+public: // actually package-private
+ ::java::awt::TextField * __attribute__((aligned(__alignof__( ::javax::swing::JTextField)))) textField;
+ ::gnu::java::awt::peer::swing::SwingTextFieldPeer * this$0;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_java_awt_peer_swing_SwingTextFieldPeer$SwingTextField__
diff --git a/libjava/gnu/java/awt/peer/swing/SwingTextFieldPeer.h b/libjava/gnu/java/awt/peer/swing/SwingTextFieldPeer.h
new file mode 100644
index 000000000..43d26d5b3
--- /dev/null
+++ b/libjava/gnu/java/awt/peer/swing/SwingTextFieldPeer.h
@@ -0,0 +1,69 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_java_awt_peer_swing_SwingTextFieldPeer__
+#define __gnu_java_awt_peer_swing_SwingTextFieldPeer__
+
+#pragma interface
+
+#include <gnu/java/awt/peer/swing/SwingComponentPeer.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace java
+ {
+ namespace awt
+ {
+ namespace peer
+ {
+ namespace swing
+ {
+ class SwingTextFieldPeer;
+ }
+ }
+ }
+ }
+ }
+ namespace java
+ {
+ namespace awt
+ {
+ class Dimension;
+ class Rectangle;
+ class TextField;
+ namespace im
+ {
+ class InputMethodRequests;
+ }
+ }
+ }
+}
+
+class gnu::java::awt::peer::swing::SwingTextFieldPeer : public ::gnu::java::awt::peer::swing::SwingComponentPeer
+{
+
+public:
+ SwingTextFieldPeer(::java::awt::TextField *);
+ virtual ::java::awt::Dimension * minimumSize(jint);
+ virtual ::java::awt::Dimension * preferredSize(jint);
+ virtual ::java::awt::Dimension * getMinimumSize(jint);
+ virtual ::java::awt::Dimension * getPreferredSize(jint);
+ virtual void setEchoChar(jchar);
+ virtual void setEchoCharacter(jchar);
+ virtual jint getSelectionEnd();
+ virtual jint getSelectionStart();
+ virtual ::java::lang::String * getText();
+ virtual void setText(::java::lang::String *);
+ virtual void select(jint, jint);
+ virtual void setEditable(jboolean);
+ virtual jint getCaretPosition();
+ virtual void setCaretPosition(jint);
+ virtual jint getIndexAtPoint(jint, jint);
+ virtual ::java::awt::Rectangle * getCharacterBounds(jint);
+ virtual jlong filterEvents(jlong);
+ virtual ::java::awt::im::InputMethodRequests * getInputMethodRequests();
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_java_awt_peer_swing_SwingTextFieldPeer__
diff --git a/libjava/gnu/java/awt/peer/swing/SwingToolkit.h b/libjava/gnu/java/awt/peer/swing/SwingToolkit.h
new file mode 100644
index 000000000..9572f3f76
--- /dev/null
+++ b/libjava/gnu/java/awt/peer/swing/SwingToolkit.h
@@ -0,0 +1,77 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_java_awt_peer_swing_SwingToolkit__
+#define __gnu_java_awt_peer_swing_SwingToolkit__
+
+#pragma interface
+
+#include <gnu/java/awt/ClasspathToolkit.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace java
+ {
+ namespace awt
+ {
+ namespace peer
+ {
+ namespace swing
+ {
+ class SwingToolkit;
+ }
+ }
+ }
+ }
+ }
+ namespace java
+ {
+ namespace awt
+ {
+ class Button;
+ class Canvas;
+ class Dialog$ModalExclusionType;
+ class Dialog$ModalityType;
+ class Label;
+ class Menu;
+ class MenuBar;
+ class MenuItem;
+ class Panel;
+ class TextField;
+ namespace peer
+ {
+ class ButtonPeer;
+ class CanvasPeer;
+ class LabelPeer;
+ class MenuBarPeer;
+ class MenuItemPeer;
+ class MenuPeer;
+ class PanelPeer;
+ class TextFieldPeer;
+ }
+ }
+ }
+}
+
+class gnu::java::awt::peer::swing::SwingToolkit : public ::gnu::java::awt::ClasspathToolkit
+{
+
+public:
+ SwingToolkit();
+public: // actually protected
+ virtual ::java::awt::peer::ButtonPeer * createButton(::java::awt::Button *);
+ virtual ::java::awt::peer::CanvasPeer * createCanvas(::java::awt::Canvas *);
+ virtual ::java::awt::peer::LabelPeer * createLabel(::java::awt::Label *);
+ virtual ::java::awt::peer::MenuPeer * createMenu(::java::awt::Menu *);
+ virtual ::java::awt::peer::MenuBarPeer * createMenuBar(::java::awt::MenuBar *);
+ virtual ::java::awt::peer::MenuItemPeer * createMenuItem(::java::awt::MenuItem *);
+ virtual ::java::awt::peer::PanelPeer * createPanel(::java::awt::Panel *);
+ virtual ::java::awt::peer::TextFieldPeer * createTextField(::java::awt::TextField *);
+public:
+ virtual jboolean isModalExclusionTypeSupported(::java::awt::Dialog$ModalExclusionType *);
+ virtual jboolean isModalityTypeSupported(::java::awt::Dialog$ModalityType *);
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_java_awt_peer_swing_SwingToolkit__
diff --git a/libjava/gnu/java/awt/peer/swing/SwingWindowPeer.h b/libjava/gnu/java/awt/peer/swing/SwingWindowPeer.h
new file mode 100644
index 000000000..c4fc73fda
--- /dev/null
+++ b/libjava/gnu/java/awt/peer/swing/SwingWindowPeer.h
@@ -0,0 +1,55 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_java_awt_peer_swing_SwingWindowPeer__
+#define __gnu_java_awt_peer_swing_SwingWindowPeer__
+
+#pragma interface
+
+#include <gnu/java/awt/peer/swing/SwingContainerPeer.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace java
+ {
+ namespace awt
+ {
+ namespace peer
+ {
+ namespace swing
+ {
+ class SwingWindowPeer;
+ }
+ }
+ }
+ }
+ }
+ namespace java
+ {
+ namespace awt
+ {
+ class Dialog;
+ class Window;
+ }
+ }
+}
+
+class gnu::java::awt::peer::swing::SwingWindowPeer : public ::gnu::java::awt::peer::swing::SwingContainerPeer
+{
+
+public:
+ SwingWindowPeer(::java::awt::Window *);
+ virtual void updateIconImages();
+ virtual void updateMinimumSize();
+ virtual void setModalBlocked(::java::awt::Dialog *, jboolean);
+ virtual void updateFocusableWindowState();
+ virtual void setAlwaysOnTop(jboolean);
+ virtual void toBack() = 0;
+ virtual void toFront() = 0;
+ virtual void updateAlwaysOnTop() = 0;
+ virtual jboolean requestWindowFocus() = 0;
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_java_awt_peer_swing_SwingWindowPeer__