summaryrefslogtreecommitdiff
path: root/libjava/java/util/zip/Inflater.h
blob: 25ebdc6d6b8b571c835843e9dc03ef0c833ceb88 (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
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-

#ifndef __java_util_zip_Inflater__
#define __java_util_zip_Inflater__

#pragma interface

#include <java/lang/Object.h>
#include <gcj/array.h>

extern "Java"
{
  namespace gnu
  {
    namespace gcj
    {
        class RawData;
    }
  }
}

class java::util::zip::Inflater : public ::java::lang::Object
{

public:
  Inflater();
  Inflater(jboolean);
public: // actually protected
  virtual void finalize();
public:
  virtual void end();
  virtual jboolean finished();
  virtual jint getAdler();
  virtual jint getRemaining();
  virtual jint getTotalIn();
  virtual jint getTotalOut();
  virtual jint inflate(JArray< jbyte > *);
  virtual jint inflate(JArray< jbyte > *, jint, jint);
private:
  void init(jboolean);
public:
  virtual jboolean needsDictionary();
  virtual jboolean needsInput();
  virtual void reset();
  virtual void setDictionary(JArray< jbyte > *);
  virtual void setDictionary(JArray< jbyte > *, jint, jint);
  virtual void setInput(JArray< jbyte > *);
  virtual void setInput(JArray< jbyte > *, jint, jint);
private:
  ::gnu::gcj::RawData * __attribute__((aligned(__alignof__( ::java::lang::Object)))) zstream;
  jboolean is_finished;
  jboolean dict_needed;
public:
  static ::java::lang::Class class$;
};

#endif // __java_util_zip_Inflater__