97b8365caf
From-SVN: r120621
95 lines
2.4 KiB
C++
95 lines
2.4 KiB
C++
|
|
// 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__
|