summaryrefslogtreecommitdiff
path: root/modules/gdnative/gdnative.h
diff options
context:
space:
mode:
authorThomas Herzog <thomas.herzog@mail.com>2018-04-04 16:09:37 +0200
committerGitHub <noreply@github.com>2018-04-04 16:09:37 +0200
commit7ca2e73dea59a2e0683253e73b9b549d749e12f9 (patch)
tree42f94fc8244cc9a8694f49a98301e2cd408c9b3e /modules/gdnative/gdnative.h
parentc5bb997a8f2d538cc89ac09ddd0ea8d5cf69df88 (diff)
parentf29139f3cf1774769b914df5a66c010f7ce86926 (diff)
Merge pull request #17965 from karroffel/gdnativelib-config-api
[GDNative] some GDNativeLibrary improvements
Diffstat (limited to 'modules/gdnative/gdnative.h')
-rw-r--r--modules/gdnative/gdnative.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/modules/gdnative/gdnative.h b/modules/gdnative/gdnative.h
index 3298ea950f..b17bb94f1c 100644
--- a/modules/gdnative/gdnative.h
+++ b/modules/gdnative/gdnative.h
@@ -66,8 +66,14 @@ public:
GDNativeLibrary();
~GDNativeLibrary();
+ virtual bool _set(const StringName &p_name, const Variant &p_property);
+ virtual bool _get(const StringName &p_name, Variant &r_property) const;
+ virtual void _get_property_list(List<PropertyInfo> *p_list) const;
+
_FORCE_INLINE_ Ref<ConfigFile> get_config_file() { return config_file; }
+ void set_config_file(Ref<ConfigFile> p_config_file);
+
// things that change per-platform
// so there are no setters for this
_FORCE_INLINE_ String get_current_library_path() const {