aboutsummaryrefslogtreecommitdiff
path: root/core/bind/core_bind.h
diff options
context:
space:
mode:
Diffstat (limited to 'core/bind/core_bind.h')
-rw-r--r--core/bind/core_bind.h17
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);