diff options
| author | Juan Linietsky | 2014-12-02 14:02:41 -0300 |
|---|---|---|
| committer | Juan Linietsky | 2014-12-02 14:02:41 -0300 |
| commit | e361e8539c889d3ca66e77ebb5d0ceb61d17f49d (patch) | |
| tree | e34bb70d58e8d023df34c3e6744b5cdfa866ef7d /core/bind/core_bind.h | |
| parent | 9d5a2cb8470d538fa33f9f7b4d6cdd5390b3b70b (diff) | |
| download | godot-e361e8539c889d3ca66e77ebb5d0ceb61d17f49d.tar.gz godot-e361e8539c889d3ca66e77ebb5d0ceb61d17f49d.tar.zst godot-e361e8539c889d3ca66e77ebb5d0ceb61d17f49d.zip | |
Diffstat (limited to 'core/bind/core_bind.h')
| -rw-r--r-- | core/bind/core_bind.h | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/core/bind/core_bind.h b/core/bind/core_bind.h index 101dc1ab9..a76b4aa81 100644 --- a/core/bind/core_bind.h +++ b/core/bind/core_bind.h @@ -201,6 +201,20 @@ public: int get_processor_count() const; + enum SystemDir { + SYSTEM_DIR_DESKTOP, + SYSTEM_DIR_DCIM, + SYSTEM_DIR_DOCUMENTS, + SYSTEM_DIR_DOWNLOADS, + SYSTEM_DIR_MOVIES, + SYSTEM_DIR_MUSIC, + SYSTEM_DIR_PICTURES, + SYSTEM_DIR_RINGTONES, + }; + + String get_system_dir(SystemDir p_dir) const; + + String get_data_dir() const; void set_time_scale(float p_scale); @@ -211,6 +225,9 @@ public: _OS(); }; +VARIANT_ENUM_CAST(_OS::SystemDir); + + class _Geometry : public Object { OBJ_TYPE(_Geometry, Object); |
