mirror of
https://github.com/wiiu-env/homebrew_on_menu_plugin.git
synced 2024-06-02 17:48:43 +02:00
19 lines
470 B
C++
19 lines
470 B
C++
#pragma once
|
|
|
|
#include <string>
|
|
#include <wut_types.h>
|
|
|
|
class FSUtils {
|
|
public:
|
|
static int32_t LoadFileToMem(const char *filepath, uint8_t **inbuffer, uint32_t *size);
|
|
|
|
//! todo: C++ class
|
|
static int32_t CreateSubfolder(const char *fullpath);
|
|
|
|
static int32_t CheckFile(const char *filepath);
|
|
|
|
static int32_t saveBufferToFile(const char *path, void *buffer, uint32_t size);
|
|
|
|
static bool copyFile(const std::string &in, const std::string &out);
|
|
};
|