summaryrefslogtreecommitdiff
path: root/drivers/unix/dir_access_unix.h
diff options
context:
space:
mode:
authorHaoyu Qiu <timothyqiu32@gmail.com>2020-09-28 14:06:36 +0800
committerHaoyu Qiu <timothyqiu32@gmail.com>2020-09-28 14:36:21 +0800
commit1998f7867940c60ac4ed8c009add64cf0a5a45a7 (patch)
tree24dd4ed50a179fd8fa7c0f46c65ddb98d71e2ec6 /drivers/unix/dir_access_unix.h
parent80165210c31b79e12e2a59e481232ae7eeccbfac (diff)
Hides special folders in FileDialog for macOS
Diffstat (limited to 'drivers/unix/dir_access_unix.h')
-rw-r--r--drivers/unix/dir_access_unix.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/unix/dir_access_unix.h b/drivers/unix/dir_access_unix.h
index b897efcafc..90f98d4705 100644
--- a/drivers/unix/dir_access_unix.h
+++ b/drivers/unix/dir_access_unix.h
@@ -51,6 +51,7 @@ class DirAccessUnix : public DirAccess {
protected:
virtual String fix_unicode_name(const char *p_name) const { return String::utf8(p_name); }
+ virtual bool is_hidden(const String &p_name);
public:
virtual Error list_dir_begin(); ///< This starts dir listing