diff options
author | Rémi Verschelde <remi@verschelde.fr> | 2022-02-14 12:15:10 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-02-14 12:15:10 +0100 |
commit | 6e73aa0497b9cfc1c28863e655991106e677e69c (patch) | |
tree | 15191afb3e9dcfe51a7d271e0120c03797293874 /drivers/unix/os_unix.h | |
parent | 8317753c24f6a05d4fdc8541fecf1cd2ec189b41 (diff) | |
parent | f4a80f9ca7dd7241d418db341aa97613bebd6b8d (diff) | |
download | redot-engine-6e73aa0497b9cfc1c28863e655991106e677e69c.tar.gz |
Merge pull request #57887 from Faless/crypto/4.x_os_get_entropy
Diffstat (limited to 'drivers/unix/os_unix.h')
-rw-r--r-- | drivers/unix/os_unix.h | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/drivers/unix/os_unix.h b/drivers/unix/os_unix.h index 3f0e8a171c..460ba4b9e1 100644 --- a/drivers/unix/os_unix.h +++ b/drivers/unix/os_unix.h @@ -43,7 +43,6 @@ protected: virtual void initialize_core(); virtual int unix_initialize_audio(int p_audio_driver); - //virtual Error initialize(int p_video_driver,int p_audio_driver); virtual void finalize_core() override; @@ -54,15 +53,7 @@ public: virtual String get_stdin_string(bool p_block) override; - //virtual void set_mouse_show(bool p_show); - //virtual void set_mouse_grab(bool p_grab); - //virtual bool is_mouse_grab_enabled() const = 0; - //virtual void get_mouse_position(int &x, int &y) const; - //virtual void set_window_title(const String& p_title); - - //virtual void set_video_mode(const VideoMode& p_video_mode); - //virtual VideoMode get_video_mode() const; - //virtual void get_fullscreen_mode_list(List<VideoMode> *p_list) const; + virtual Error get_entropy(uint8_t *r_buffer, int p_bytes) override; // Should return cryptographycally-safe random bytes. virtual Error open_dynamic_library(const String p_path, void *&p_library_handle, bool p_also_set_library_path = false) override; virtual Error close_dynamic_library(void *p_library_handle) override; |