Changeset View
Changeset View
Standalone View
Standalone View
source/ps/FileIo.h
Show All 25 Lines | |||||
// (hence the _le suffix). however, the caller is responsible for | // (hence the _le suffix). however, the caller is responsible for | ||||
// swapping their raw data before passing it to PackRaw. a convenience | // swapping their raw data before passing it to PackRaw. a convenience | ||||
// routine is provided for the common case of storing size_t. | // routine is provided for the common case of storing size_t. | ||||
#ifndef INCLUDED_FILEPACKER | #ifndef INCLUDED_FILEPACKER | ||||
#define INCLUDED_FILEPACKER | #define INCLUDED_FILEPACKER | ||||
#include "lib/file/vfs/vfs_path.h" | #include "lib/file/vfs/vfs_path.h" | ||||
#include "ps/Filesystem.h" // WriteBuffer | #include "ps/CStrForward.h" | ||||
#include "ps/Errors.h" | #include "ps/Errors.h" | ||||
#include "ps/Filesystem.h" // WriteBuffer | |||||
class CStr8; | |||||
ERROR_GROUP(File); | ERROR_GROUP(File); | ||||
ERROR_TYPE(File, OpenFailed); | ERROR_TYPE(File, OpenFailed); | ||||
ERROR_TYPE(File, WriteFailed); | ERROR_TYPE(File, WriteFailed); | ||||
ERROR_TYPE(File, InvalidType); | ERROR_TYPE(File, InvalidType); | ||||
ERROR_TYPE(File, InvalidVersion); | ERROR_TYPE(File, InvalidVersion); | ||||
ERROR_TYPE(File, ReadFailed); | ERROR_TYPE(File, ReadFailed); | ||||
ERROR_TYPE(File, UnexpectedEOF); | ERROR_TYPE(File, UnexpectedEOF); | ||||
▲ Show 20 Lines • Show All 105 Lines • Show Last 20 Lines |
Wildfire Games · Phabricator