2023-12-14 21:54:22 +01:00
|
|
|
#ifndef DIR_ACCESS_OSX_H
|
|
|
|
#define DIR_ACCESS_OSX_H
|
2023-12-17 15:39:29 +01:00
|
|
|
|
2023-12-14 21:54:22 +01:00
|
|
|
/* dir_access_osx.h */
|
2023-12-17 15:39:29 +01:00
|
|
|
|
2023-12-14 21:54:22 +01:00
|
|
|
|
|
|
|
#if defined(UNIX_ENABLED) || defined(LIBC_FILEIO_ENABLED)
|
|
|
|
|
|
|
|
#include <dirent.h>
|
|
|
|
#include <sys/stat.h>
|
|
|
|
#include <sys/types.h>
|
|
|
|
#include <unistd.h>
|
|
|
|
|
|
|
|
#include "core/os/dir_access.h"
|
|
|
|
#include "drivers/unix/dir_access_unix.h"
|
|
|
|
|
|
|
|
class DirAccessOSX : public DirAccessUnix {
|
|
|
|
protected:
|
|
|
|
virtual String fix_unicode_name(const char *p_name) const;
|
|
|
|
|
|
|
|
virtual int get_drive_count();
|
|
|
|
virtual String get_drive(int p_drive);
|
|
|
|
|
|
|
|
virtual bool is_hidden(const String &p_name);
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif //UNIX ENABLED
|
|
|
|
#endif
|