diff options
Diffstat (limited to 'core')
-rw-r--r-- | core/os/os.h | 4 | ||||
-rw-r--r-- | core/script_language.h | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/core/os/os.h b/core/os/os.h index 46e57e5186..0febfb70cf 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); diff --git a/core/script_language.h b/core/script_language.h index 6c37074639..88584e4ef9 100644 --- a/core/script_language.h +++ b/core/script_language.h @@ -43,7 +43,7 @@ typedef void (*ScriptEditRequestFunction)(const String &p_path); class ScriptServer { enum { - MAX_LANGUAGES = 4 + MAX_LANGUAGES = 16 }; static ScriptLanguage *_languages[MAX_LANGUAGES]; |