libutils/include/fs/FSUtils.h

17 lines
433 B
C
Raw Permalink 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:
2018-06-20 14:44:30 +02:00
static int32_t LoadFileToMem(const char *filepath, uint8_t **inbuffer, uint32_t *size);
2017-10-29 09:24:06 +01:00
2018-03-11 16:44:04 +01:00
//! todo: C++ class
2018-06-20 14:44:30 +02:00
static int32_t CreateSubfolder(const char * fullpath);
static int32_t CheckFile(const char * filepath);
static BOOL saveBufferToFile(const char * path, void * buffer, uint32_t size);
2017-10-29 09:24:06 +01:00
};
#endif // __FS_UTILS_H_