stockfish for godot
Diffstat (limited to 'src/subprocess.h')
-rw-r--r--src/subprocess.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/src/subprocess.h b/src/subprocess.h
new file mode 100644
index 0000000..885836c
--- /dev/null
+++ b/src/subprocess.h
@@ -0,0 +1,19 @@
+#ifndef ENGINE_H
+#define ENGINE_H
+
+#include <Godot.hpp>
+
+namespace godot {
+
+class Subprocess : public Reference {
+ GODOT_CLASS(Subprocess, Reference)
+
+private:
+public:
+ static void _register_methods();
+ void _init();
+ void send(String text);
+};
+
+} // namespace godot
+#endif \ No newline at end of file