Add proper stubs for OS_JavaScript::execute(), get_process_id(), kill()

Avoids linker warnings and errors about undefined references.
This commit is contained in:
Leon Krause 2018-10-29 21:15:15 +01:00
parent 0a80ceaf02
commit 5c2c47a174
3 changed files with 28 additions and 0 deletions

View file

@ -133,6 +133,10 @@ public:
void run_async();
bool main_loop_iterate();
virtual Error execute(const String &p_path, const List<String> &p_arguments, bool p_blocking, ProcessID *r_child_id = NULL, String *r_pipe = NULL, int *r_exitcode = NULL, bool read_stderr = false);
virtual Error kill(const ProcessID &p_pid);
virtual int get_process_id() const;
virtual void alert(const String &p_alert, const String &p_title = "ALERT!");
virtual void set_window_title(const String &p_title);
virtual void set_icon(const Ref<Image> &p_icon);