libutils/include/fs/FSUtils.h

17 lines
406 B
C
Raw Normal View History

2017-10-29 09:24:06 +01:00
#ifndef __FS_UTILS_H_
#define __FS_UTILS_H_
#include <wut_types.h>
2017-10-29 09:24:06 +01:00
2018-03-11 16:44:04 +01:00
class FSUtils {
public:
static s32 LoadFileToMem(const char *filepath, u8 **inbuffer, u32 *size);
2017-10-29 09:24:06 +01:00
2018-03-11 16:44:04 +01:00
//! todo: C++ class
static s32 CreateSubfolder(const char * fullpath);
static s32 CheckFile(const char * filepath);
static bool saveBufferToFile(const char * path, void * buffer, u32 size);
2017-10-29 09:24:06 +01:00
};
#endif // __FS_UTILS_H_