aboutsummaryrefslogtreecommitdiff
path: root/core/os/os.h
diff options
context:
space:
mode:
authorJuan Linietsky2014-12-02 14:02:41 -0300
committerJuan Linietsky2014-12-02 14:02:41 -0300
commite361e8539c889d3ca66e77ebb5d0ceb61d17f49d (patch)
treee34bb70d58e8d023df34c3e6744b5cdfa866ef7d /core/os/os.h
parent9d5a2cb8470d538fa33f9f7b4d6cdd5390b3b70b (diff)
downloadgodot-e361e8539c889d3ca66e77ebb5d0ceb61d17f49d.tar.gz
godot-e361e8539c889d3ca66e77ebb5d0ceb61d17f49d.tar.zst
godot-e361e8539c889d3ca66e77ebb5d0ceb61d17f49d.zip
Diffstat (limited to 'core/os/os.h')
-rw-r--r--core/os/os.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/core/os/os.h b/core/os/os.h
index 5e084f637..805d6ac57 100644
--- a/core/os/os.h
+++ b/core/os/os.h
@@ -286,6 +286,20 @@ public:
virtual String get_data_dir() const;
virtual String get_resource_dir() 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,
+ };
+
+ virtual String get_system_dir(SystemDir p_dir) const;
+
+
virtual void set_no_window_mode(bool p_enable);
virtual bool is_no_window_mode_enabled() const;