summaryrefslogtreecommitdiff
path: root/libjava/java/awt/datatransfer/Clipboard.h
blob: 5ae0769e181d0921208ee5c3f5563c2dc5d9ec4e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
// 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__