diff options
author | Karroffel <therzog@mail.de> | 2017-03-08 02:50:13 +0100 |
---|---|---|
committer | Karroffel <therzog@mail.de> | 2017-03-29 23:05:15 +0200 |
commit | 2281942fb3ac5889abc6e95df27a80e71fe32c0e (patch) | |
tree | 770e8ac3c7b7b8b241a04eb7495405e6d0a0068d /core/os | |
parent | 92b6c8095acc8348da7657dde357202840c26382 (diff) |
Added methods for opening dynamic libraries to OS
Diffstat (limited to 'core/os')
-rw-r--r-- | core/os/os.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/core/os/os.h b/core/os/os.h index 46e57e5186..dbcbaaedce 100644 --- a/core/os/os.h +++ b/core/os/os.h @@ -177,6 +177,10 @@ public: virtual void set_borderless_window(int p_borderless) {} virtual bool get_borderless_window() { return 0; } + virtual Error open_dynamic_library(const String p_path, void* &p_library_handle) { 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) { return ERR_UNAVAILABLE; }; + virtual void set_keep_screen_on(bool p_enabled); virtual bool is_keep_screen_on() const; virtual void set_low_processor_usage_mode(bool p_enabled); |