summaryrefslogtreecommitdiff
path: root/libjava/javax/imageio/stream/FileImageOutputStream.h
blob: 8075f45772bda553a9952a71f32b18f7af760838 (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
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-

#ifndef __javax_imageio_stream_FileImageOutputStream__
#define __javax_imageio_stream_FileImageOutputStream__

#pragma interface

#include <javax/imageio/stream/ImageOutputStreamImpl.h>
#include <gcj/array.h>

extern "Java"
{
  namespace javax
  {
    namespace imageio
    {
      namespace stream
      {
          class FileImageOutputStream;
      }
    }
  }
}

class javax::imageio::stream::FileImageOutputStream : public ::javax::imageio::stream::ImageOutputStreamImpl
{

public:
  FileImageOutputStream(::java::io::File *);
  FileImageOutputStream(::java::io::RandomAccessFile *);
  virtual void close();
  virtual jlong length();
  virtual jint read();
  virtual jint read(JArray< jbyte > *, jint, jint);
  virtual void seek(jlong);
  virtual void write(JArray< jbyte > *, jint, jint);
  virtual void write(jint);
private:
  ::java::io::RandomAccessFile * __attribute__((aligned(__alignof__( ::javax::imageio::stream::ImageOutputStreamImpl)))) file;
public:
  static ::java::lang::Class class$;
};

#endif // __javax_imageio_stream_FileImageOutputStream__