OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [libjava/] [java/] [nio/] [channels/] [FileLock.h] - Blame information for rev 775

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 758 jeremybenn
 
2
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
3
 
4
#ifndef __java_nio_channels_FileLock__
5
#define __java_nio_channels_FileLock__
6
 
7
#pragma interface
8
 
9
#include <java/lang/Object.h>
10
extern "Java"
11
{
12
  namespace java
13
  {
14
    namespace nio
15
    {
16
      namespace channels
17
      {
18
          class FileChannel;
19
          class FileLock;
20
      }
21
    }
22
  }
23
}
24
 
25
class java::nio::channels::FileLock : public ::java::lang::Object
26
{
27
 
28
public: // actually protected
29
  FileLock(::java::nio::channels::FileChannel *, jlong, jlong, jboolean);
30
public:
31
  virtual jboolean isValid() = 0;
32
  virtual void release() = 0;
33
  virtual ::java::nio::channels::FileChannel * channel();
34
  virtual jboolean isShared();
35
  virtual jboolean overlaps(jlong, jlong);
36
  virtual jlong position();
37
  virtual jlong size();
38
  virtual ::java::lang::String * toString();
39
private:
40
  ::java::nio::channels::FileChannel * __attribute__((aligned(__alignof__( ::java::lang::Object)))) channel__;
41
  jlong position__;
42
  jlong size__;
43
  jboolean shared;
44
public:
45
  static ::java::lang::Class class$;
46
};
47
 
48
#endif // __java_nio_channels_FileLock__

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.