summaryrefslogtreecommitdiff
path: root/libjava/gnu/java/awt/peer/gtk/GdkPixbufDecoder.h
blob: 1c5fa79395e73e4bd3d4ff4b14489951ea8472a0 (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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
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__