// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-

#ifndef __java_lang_SecurityManager__
#define __java_lang_SecurityManager__

#pragma interface

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

extern "Java"
{
  namespace java
  {
    namespace security
    {
      class Permission;
    }
    namespace net
    {
      class InetAddress;
    }
  }
};

class ::java::lang::SecurityManager : public ::java::lang::Object
{
public:
  virtual jboolean getInCheck () { return inCheck; }
public:  // actually protected
  virtual JArray< ::java::lang::Class *> *getClassContext ();
  virtual ::java::lang::ClassLoader *currentClassLoader ();
  virtual ::java::lang::Class *currentLoadedClass ();
  virtual jint classLoaderDepth ();
  virtual jboolean inClassLoader ();
  virtual jint classDepth (::java::lang::String *);
  virtual jboolean inClass (::java::lang::String *);
public:
  virtual ::java::lang::Object *getSecurityContext ();
  virtual void checkCreateClassLoader ();
  virtual void checkAccess (::java::lang::Thread *);
  virtual void checkAccess (::java::lang::ThreadGroup *);
  virtual void checkExit (jint);
  virtual void checkExec (::java::lang::String *);
  virtual void checkLink (::java::lang::String *);
  virtual void checkRead (::java::io::FileDescriptor *);
  virtual void checkRead (::java::lang::String *);
  virtual void checkRead (::java::lang::String *, ::java::lang::Object *);
  virtual void checkWrite (::java::io::FileDescriptor *);
  virtual void checkWrite (::java::lang::String *);
  virtual void checkDelete (::java::lang::String *);
  virtual void checkConnect (::java::lang::String *, jint);
  virtual void checkConnect (::java::lang::String *, jint, ::java::lang::Object *);
  virtual void checkListen (jint);
  virtual void checkAccept (::java::lang::String *, jint);
  virtual void checkMulticast (::java::net::InetAddress *);
  virtual void checkMulticast (::java::net::InetAddress *, jbyte);
  virtual void checkPermission (::java::security::Permission *);
  virtual void checkPermission (::java::security::Permission *, ::java::lang::Object *);
  virtual void checkPropertiesAccess ();
  virtual void checkPropertyAccess (::java::lang::String *);
  virtual jboolean checkTopLevelWindow (::java::lang::Object *);
  virtual void checkPrintJobAccess ();
  virtual void checkSystemClipboardAccess ();
  virtual void checkAwtEventQueueAccess ();
  virtual void checkPackageAccess (::java::lang::String *);
  virtual void checkPackageDefinition (::java::lang::String *);
  virtual void checkSetFactory ();
  virtual void checkMemberAccess (::java::lang::Class *, jint);
  virtual void checkSecurityAccess (::java::lang::String *);
  virtual ::java::lang::ThreadGroup *getThreadGroup ();
  SecurityManager ();
public:  // actually protected
  jboolean inCheck;
public:

  static ::java::lang::Class class$;
};

#endif /* __java_lang_SecurityManager__ */
