Why Gemfury? Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Debian packages RPM packages NuGet packages

Repository URL to install this package:

Details    
lucene / include / java / nio / file / Watchable.h
Size: Mime:
#ifndef java_nio_file_Watchable_H
#define java_nio_file_Watchable_H

#include "java/lang/Object.h"

namespace java {
  namespace nio {
    namespace file {
      class WatchEvent$Kind;
      class WatchKey;
      class WatchService;
      class WatchEvent$Modifier;
    }
  }
  namespace lang {
    class Class;
  }
  namespace io {
    class IOException;
  }
}
template<class T> class JArray;

namespace java {
  namespace nio {
    namespace file {

      class Watchable : public ::java::lang::Object {
       public:
        enum {
          mid_register_0c71399a852679e7,
          mid_register_01a98374456e9618,
          max_mid
        };

        static ::java::lang::Class *class$;
        static jmethodID *mids$;
        static bool live$;
        static jclass initializeClass(bool);

        explicit Watchable(jobject obj) : ::java::lang::Object(obj) {
          if (obj != NULL && mids$ == NULL)
            env->getClass(initializeClass);
        }
        Watchable(const Watchable& obj) : ::java::lang::Object(obj) {}

        ::java::nio::file::WatchKey register$(const ::java::nio::file::WatchService &, const JArray< ::java::nio::file::WatchEvent$Kind > &) const;
        ::java::nio::file::WatchKey register$(const ::java::nio::file::WatchService &, const JArray< ::java::nio::file::WatchEvent$Kind > &, const JArray< ::java::nio::file::WatchEvent$Modifier > &) const;
      };
    }
  }
}

#include <Python.h>

namespace java {
  namespace nio {
    namespace file {
      extern PyType_Def PY_TYPE_DEF(Watchable);
      extern PyTypeObject *PY_TYPE(Watchable);

      class t_Watchable {
      public:
        PyObject_HEAD
        Watchable object;
        static PyObject *wrap_Object(const Watchable&);
        static PyObject *wrap_jobject(const jobject&);
        static void install(PyObject *module);
        static void initialize(PyObject *module);
      };
    }
  }
}

#endif