OSDN Git Service

Add NIOS2 support. Code from SourceyG++.
[pf3gnuchains/gcc-fork.git] / libjava / gnu / java / nio / ChannelInputStream.h
1
2 // DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
3
4 #ifndef __gnu_java_nio_ChannelInputStream__
5 #define __gnu_java_nio_ChannelInputStream__
6
7 #pragma interface
8
9 #include <java/io/InputStream.h>
10 #include <gcj/array.h>
11
12 extern "Java"
13 {
14   namespace gnu
15   {
16     namespace java
17     {
18       namespace nio
19       {
20           class ChannelInputStream;
21       }
22     }
23   }
24   namespace java
25   {
26     namespace nio
27     {
28       namespace channels
29       {
30           class ReadableByteChannel;
31       }
32     }
33   }
34 }
35
36 class gnu::java::nio::ChannelInputStream : public ::java::io::InputStream
37 {
38
39 public:
40   ChannelInputStream(::java::nio::channels::ReadableByteChannel *);
41   jint read(JArray< jbyte > *, jint, jint);
42   jint read();
43 private:
44   ::java::nio::channels::ReadableByteChannel * __attribute__((aligned(__alignof__( ::java::io::InputStream)))) ch;
45 public:
46   static ::java::lang::Class class$;
47 };
48
49 #endif // __gnu_java_nio_ChannelInputStream__