diff options
author | Rémi Verschelde <remi@verschelde.fr> | 2021-07-23 19:27:31 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-07-23 19:27:31 +0200 |
commit | eefc67a810975cb99343554c981968ea5ae2fd3e (patch) | |
tree | f475726e88352b299573211c1564d9cda293c153 /core/core_bind.h | |
parent | 9b034c930467606a7696d93020838c4f0c5f01e2 (diff) | |
parent | 618eb27e8b1d3a00fd5a809a0a998d4e0f10e1b7 (diff) | |
download | redot-engine-eefc67a810975cb99343554c981968ea5ae2fd3e.tar.gz |
Merge pull request #50747 from bruvzg/move_alert_to_os
Move `alert` function from `DisplayServer` to `OS`.
Diffstat (limited to 'core/core_bind.h')
-rw-r--r-- | core/core_bind.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/core/core_bind.h b/core/core_bind.h index 673dbe32c4..43f74dc9bd 100644 --- a/core/core_bind.h +++ b/core/core_bind.h @@ -162,6 +162,8 @@ public: void set_low_processor_usage_mode_sleep_usec(int p_usec); int get_low_processor_usage_mode_sleep_usec() const; + void alert(const String &p_alert, const String &p_title = "ALERT!"); + String get_executable_path() const; int execute(const String &p_path, const Vector<String> &p_arguments, Array r_output = Array(), bool p_read_stderr = false); int create_process(const String &p_path, const Vector<String> &p_arguments); |