#include <seadFileDeviceMgr.h>
|
| | FileDeviceMgr () |
| | ~FileDeviceMgr () |
| FileDevice * | open (FileHandle *handle, const SafeString &filename, FileDevice::FileOpenFlag flag, u32 div_num) |
| FileDevice * | tryOpen (FileHandle *handle, const SafeString &filename, FileDevice::FileOpenFlag flag, u32 div_num) |
| FileDevice * | findDeviceFromPath (const SafeString &path, BufferedSafeString *no_drive_path) const |
| FileDevice * | openDirectory (DirectoryHandle *handle, const SafeString &dirname) |
| FileDevice * | tryOpenDirectory (DirectoryHandle *handle, const SafeString &dirname) |
| u8 * | load (FileDevice::LoadArg &arg) |
| u8 * | tryLoad (FileDevice::LoadArg &arg) |
| void | unload (u8 *data) |
| void | mount (FileDevice *device, const SafeString &drive_name=SafeString::cEmptyString) |
| void | unmount (const SafeString &drive) |
| void | unmount (FileDevice *device) |
| FileDevice * | setDefaultFileDevice (FileDevice *device) |
| FileDevice * | getDefaultFileDevice () const |
| MainFileDevice * | getMainFileDevice () const |
| FileDevice * | findDevice (const SafeString &drive) const |
| virtual void | traceFilePath (const SafeString &path) const |
| virtual void | traceDirectoryPath (const SafeString &path) const |
| virtual void | resolveFilePath (BufferedSafeString *out, const SafeString &path) const |
| virtual void | resolveDirectoryPath (BufferedSafeString *out, const SafeString &path) const |
| FSClient * | getFSClient_ () const |
| void | setSDCardMountPath (const SafeString &) |
| void | setHostFileIOMountPath (const SafeString &) |
| RawErrorCode | mountSDCard () |
| RawErrorCode | unmountSDCard () |
◆ DeviceList
◆ FileDeviceMgr()
| sead::FileDeviceMgr::FileDeviceMgr |
( |
| ) |
|
◆ ~FileDeviceMgr()
| sead::FileDeviceMgr::~FileDeviceMgr |
( |
| ) |
|
◆ open()
◆ tryOpen()
◆ findDeviceFromPath()
◆ openDirectory()
◆ tryOpenDirectory()
◆ load()
◆ tryLoad()
◆ unload()
| void sead::FileDeviceMgr::unload |
( |
u8 * | data | ) |
|
◆ mount()
◆ unmount() [1/2]
| void sead::FileDeviceMgr::unmount |
( |
const SafeString & | drive | ) |
|
◆ unmount() [2/2]
| void sead::FileDeviceMgr::unmount |
( |
FileDevice * | device | ) |
|
◆ setDefaultFileDevice()
◆ getDefaultFileDevice()
| FileDevice * sead::FileDeviceMgr::getDefaultFileDevice |
( |
| ) |
const |
|
inline |
◆ getMainFileDevice()
◆ findDevice()
◆ traceFilePath()
| void sead::FileDeviceMgr::traceFilePath |
( |
const SafeString & | path | ) |
const |
|
virtual |
◆ traceDirectoryPath()
| void sead::FileDeviceMgr::traceDirectoryPath |
( |
const SafeString & | path | ) |
const |
|
virtual |
◆ resolveFilePath()
◆ resolveDirectoryPath()
◆ getFSClient_()
| FSClient * sead::FileDeviceMgr::getFSClient_ |
( |
| ) |
const |
|
inline |
◆ setSDCardMountPath()
| void sead::FileDeviceMgr::setSDCardMountPath |
( |
const SafeString & | | ) |
|
◆ setHostFileIOMountPath()
| void sead::FileDeviceMgr::setHostFileIOMountPath |
( |
const SafeString & | | ) |
|
◆ mountSDCard()
◆ unmountSDCard()
◆ mountHostFileIO()
| bool sead::FileDeviceMgr::mountHostFileIO |
( |
| ) |
|
|
protected |
◆ unmountHostFileIO()
| bool sead::FileDeviceMgr::unmountHostFileIO |
( |
| ) |
|
|
protected |
◆ stateChangeCallback_()
| void sead::FileDeviceMgr::stateChangeCallback_ |
( |
FSClient * | client, |
|
|
FSVolumeState | state, |
|
|
void * | context ) |
|
staticprotected |
◆ cNoDrivePathBufferSize
| const s32 sead::FileDeviceMgr::cNoDrivePathBufferSize = 256 |
|
static |
◆ mDeviceList
◆ mDefaultFileDevice
| FileDevice* sead::FileDeviceMgr::mDefaultFileDevice |
|
protected |
◆ mMainFileDevice
◆ mFSClient
| FSClient sead::FileDeviceMgr::mFSClient |
|
protected |
◆ mFSHFIOMountPath
| char sead::FileDeviceMgr::mFSHFIOMountPath[FS_MAX_MOUNTPATH_SIZE] |
|
protected |
◆ mFSSDMountPath
| char sead::FileDeviceMgr::mFSSDMountPath[FS_MAX_MOUNTPATH_SIZE] |
|
protected |
◆ mFSSDMountCount
| u32 sead::FileDeviceMgr::mFSSDMountCount |
|
protected |