gcc/libjava/java/awt/datatransfer/Clipboard.h
Tom Tromey 97b8365caf Merged gcj-eclipse branch to trunk.
From-SVN: r120621
2007-01-09 19:58:05 +00:00

55 lines
1.7 KiB
C++

// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
#ifndef __java_awt_datatransfer_Clipboard__
#define __java_awt_datatransfer_Clipboard__
#pragma interface
#include <java/lang/Object.h>
#include <gcj/array.h>
extern "Java"
{
namespace java
{
namespace awt
{
namespace datatransfer
{
class Clipboard;
class ClipboardOwner;
class DataFlavor;
class FlavorListener;
class Transferable;
}
}
}
}
class java::awt::datatransfer::Clipboard : public ::java::lang::Object
{
public:
Clipboard(::java::lang::String *);
virtual ::java::lang::String * getName();
virtual ::java::awt::datatransfer::Transferable * getContents(::java::lang::Object *);
virtual void setContents(::java::awt::datatransfer::Transferable *, ::java::awt::datatransfer::ClipboardOwner *);
virtual JArray< ::java::awt::datatransfer::DataFlavor * > * getAvailableDataFlavors();
virtual jboolean isDataFlavorAvailable(::java::awt::datatransfer::DataFlavor *);
virtual ::java::lang::Object * getData(::java::awt::datatransfer::DataFlavor *);
virtual void addFlavorListener(::java::awt::datatransfer::FlavorListener *);
virtual void removeFlavorListener(::java::awt::datatransfer::FlavorListener *);
virtual JArray< ::java::awt::datatransfer::FlavorListener * > * getFlavorListeners();
public: // actually protected
::java::awt::datatransfer::Transferable * __attribute__((aligned(__alignof__( ::java::lang::Object)))) contents;
::java::awt::datatransfer::ClipboardOwner * owner;
private:
::java::lang::String * name;
::java::util::ArrayList * listeners;
public:
static ::java::lang::Class class$;
};
#endif // __java_awt_datatransfer_Clipboard__