summaryrefslogtreecommitdiff
path: root/core/os/os.h
diff options
context:
space:
mode:
authorAnton Yabchinskiy <arn@bestmx.ru>2014-12-03 14:49:56 +0300
committerAnton Yabchinskiy <arn@devline.ru>2014-12-04 16:32:43 +0300
commit99676d7e742ebb31b920eb37d7a955b235be35ed (patch)
treee4474598eb2b6b771a25897e0b3170059ad0ed7c /core/os/os.h
parentfff056bdc5b030e39ecfa619c8f58b20305ebeae (diff)
parent8ad12525a90d90d77dc08b3d6decae33be5675c4 (diff)
Merge branch 'master' of https://github.com/okamstudio/godot
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 5e084f6373..805d6ac57d 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;