gcc/libjava/gnu/awt/xlib/XGraphicsEnvironment.h
Tom Tromey a6ec93973c *.h: New files.
* gnu/gcj/xlib/*.h: New files.
	* gnu/awt/xlib/*.h: Likewise.
	* classpath/lib/gnu/gcj/xlib: New class files.
	* classpath/lib/gnu/awt/xlib: Likewise.

From-SVN: r120655
2007-01-11 00:15:27 +00:00

61 lines
1.5 KiB
C++

// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
#ifndef __gnu_awt_xlib_XGraphicsEnvironment__
#define __gnu_awt_xlib_XGraphicsEnvironment__
#pragma interface
#include <java/awt/GraphicsEnvironment.h>
#include <gcj/array.h>
extern "Java"
{
namespace gnu
{
namespace awt
{
namespace xlib
{
class XGraphicsDevice;
class XGraphicsEnvironment;
class XToolkit;
}
}
}
namespace java
{
namespace awt
{
class Font;
class Graphics2D;
class GraphicsDevice;
namespace image
{
class BufferedImage;
}
}
}
}
class gnu::awt::xlib::XGraphicsEnvironment : public ::java::awt::GraphicsEnvironment
{
public: // actually package-private
XGraphicsEnvironment(::gnu::awt::xlib::XToolkit *);
public:
virtual JArray< ::java::awt::GraphicsDevice * > * getScreenDevices();
virtual ::java::awt::GraphicsDevice * getDefaultScreenDevice();
virtual ::java::awt::Graphics2D * createGraphics(::java::awt::image::BufferedImage *);
virtual JArray< ::java::awt::Font * > * getAllFonts();
virtual JArray< ::java::lang::String * > * getAvailableFontFamilyNames(::java::util::Locale *);
virtual JArray< ::java::lang::String * > * getAvailableFontFamilyNames();
private:
::gnu::awt::xlib::XToolkit * __attribute__((aligned(__alignof__( ::java::awt::GraphicsEnvironment)))) toolkit;
JArray< ::gnu::awt::xlib::XGraphicsDevice * > * devices;
public:
static ::java::lang::Class class$;
};
#endif // __gnu_awt_xlib_XGraphicsEnvironment__