summaryrefslogtreecommitdiff
path: root/libjava/gnu/classpath/debug/TeeOutputStream.h
blob: 24357808f4bd92e8e582f8c05495f8b11cccb657 (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
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-

#ifndef __gnu_classpath_debug_TeeOutputStream__
#define __gnu_classpath_debug_TeeOutputStream__

#pragma interface

#include <java/io/OutputStream.h>
#include <gcj/array.h>

extern "Java"
{
  namespace gnu
  {
    namespace classpath
    {
      namespace debug
      {
          class TeeOutputStream;
      }
    }
  }
}

class gnu::classpath::debug::TeeOutputStream : public ::java::io::OutputStream
{

public:
  TeeOutputStream(::java::io::OutputStream *, ::java::io::OutputStream *);
  virtual void write(jint);
  virtual void write(JArray< jbyte > *, jint, jint);
  virtual void flush();
  virtual void close();
private:
  ::java::io::OutputStream * __attribute__((aligned(__alignof__( ::java::io::OutputStream)))) out;
  ::java::io::OutputStream * sink;
public:
  static ::java::lang::Class class$;
};

#endif // __gnu_classpath_debug_TeeOutputStream__