Add PluginScript support for global class naming/icon path

This commit is contained in:
Emmanuel Leblond 2020-12-07 15:08:59 +01:00
parent 3c9c2cbb23
commit c4c18a2c58
No known key found for this signature in database
GPG key ID: C360860E645EFFC0
5 changed files with 42 additions and 0 deletions

View file

@ -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();