aboutsummaryrefslogtreecommitdiff
path: root/core/os/os.h
diff options
context:
space:
mode:
authorRémi Verschelde2017-04-04 00:25:03 +0200
committerGitHub2017-04-04 00:25:03 +0200
commit46bc14e66fe90430f1d74cdab6cca6acb5b2a3f6 (patch)
tree6d761531804ce9bb8e78b297598e06bea57dbe7b /core/os/os.h
parent57badfd1df3a554b7f47793e73a887874e5ca2b1 (diff)
parentfd553087867187220d4f6b8217854dd8e9be2667 (diff)
downloadgodot-46bc14e66fe90430f1d74cdab6cca6acb5b2a3f6.tar.gz
godot-46bc14e66fe90430f1d74cdab6cca6acb5b2a3f6.tar.zst
godot-46bc14e66fe90430f1d74cdab6cca6acb5b2a3f6.zip
Merge pull request #8246 from GodotNativeTools/dlscript-module
DLScript module
Diffstat (limited to 'core/os/os.h')
-rw-r--r--core/os/os.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/core/os/os.h b/core/os/os.h
index 46e57e518..0febfb70c 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);