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

#ifndef __java_security_PermissionCollection__
#define __java_security_PermissionCollection__

#pragma interface

#include <java/lang/Object.h>

extern "Java"
{
  namespace java
  {
    namespace security
    {
      class PermissionCollection;
      class Permission;
    }
  }
};

class ::java::security::PermissionCollection : public ::java::lang::Object
{
public:
  PermissionCollection ();
  virtual jboolean isReadOnly () { return readOnly; }
  virtual void setReadOnly ();
  virtual void add (::java::security::Permission *) = 0;
  virtual ::java::util::Enumeration *elements () = 0;
  virtual jboolean implies (::java::security::Permission *) = 0;
  virtual ::java::lang::String *toString ();
private:
  static ::java::lang::String *linesep;
  jboolean readOnly;
public:

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

#endif /* __java_security_PermissionCollection__ */
