summaryrefslogtreecommitdiffstats
path: root/modules/gdnative/pluginscript/pluginscript_language.h
diff options
context:
space:
mode:
authorEmmanuel Leblond <emmanuel.leblond@gmail.com>2020-12-07 15:08:59 +0100
committerEmmanuel Leblond <emmanuel.leblond@gmail.com>2020-12-08 13:17:22 +0100
commitc4c18a2c588f081edcfe37a03822093c7b89c398 (patch)
tree625dc907548200415bb07a1babb644ca3366c100 /modules/gdnative/pluginscript/pluginscript_language.h
parent3c9c2cbb2359e6eddf3fab42a89dedfc3a641803 (diff)
downloadredot-engine-c4c18a2c588f081edcfe37a03822093c7b89c398.tar.gz
Add PluginScript support for global class naming/icon path
Diffstat (limited to 'modules/gdnative/pluginscript/pluginscript_language.h')
-rw-r--r--modules/gdnative/pluginscript/pluginscript_language.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/modules/gdnative/pluginscript/pluginscript_language.h b/modules/gdnative/pluginscript/pluginscript_language.h
index 53e1e3ae9b..3f08e34263 100644
--- a/modules/gdnative/pluginscript/pluginscript_language.h
+++ b/modules/gdnative/pluginscript/pluginscript_language.h
@@ -122,6 +122,11 @@ public:
virtual void frame();
+ /* GLOBAL CLASSES */
+
+ virtual bool handles_global_class_type(const String &p_type) const;
+ virtual String get_global_class_name(const String &p_path, String *r_base_type = nullptr, String *r_icon_path = nullptr) const;
+
void lock();
void unlock();