summaryrefslogtreecommitdiffstats
path: root/core/os/os.h
diff options
context:
space:
mode:
authorRémi Verschelde <remi@verschelde.fr>2021-07-23 19:27:31 +0200
committerGitHub <noreply@github.com>2021-07-23 19:27:31 +0200
commiteefc67a810975cb99343554c981968ea5ae2fd3e (patch)
treef475726e88352b299573211c1564d9cda293c153 /core/os/os.h
parent9b034c930467606a7696d93020838c4f0c5f01e2 (diff)
parent618eb27e8b1d3a00fd5a809a0a998d4e0f10e1b7 (diff)
downloadredot-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/os/os.h')
-rw-r--r--core/os/os.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/core/os/os.h b/core/os/os.h
index 301718a8b3..fcb195afe1 100644
--- a/core/os/os.h
+++ b/core/os/os.h
@@ -120,6 +120,8 @@ public:
virtual void open_midi_inputs();
virtual void close_midi_inputs();
+ virtual void alert(const String &p_alert, const String &p_title = "ALERT!");
+
virtual Error open_dynamic_library(const String p_path, void *&p_library_handle, bool p_also_set_library_path = false) { return ERR_UNAVAILABLE; }
virtual Error close_dynamic_library(void *p_library_handle) { return ERR_UNAVAILABLE; }
virtual Error get_dynamic_library_symbol_handle(void *p_library_handle, const String p_name, void *&p_symbol_handle, bool p_optional = false) { return ERR_UNAVAILABLE; }