Port the 21-function Os file API (OsCreateFile, OsReadFile, OsFileList, ...). OsCreateDirectory and OsSetCurrentDirectory move here from Path. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
16 lines
536 B
C++
16 lines
536 B
C++
#ifndef ENGINE_SOURCE_OS_PATH_H
|
|
#define ENGINE_SOURCE_OS_PATH_H
|
|
|
|
#include <cstdint>
|
|
|
|
uint32_t GetExecutablePathUTF8(char* path, uint32_t size);
|
|
uint32_t GetModuleFileNameUTF8(void* module, char* path, uint32_t size);
|
|
char* IOsPathFindExtension(char* path, int32_t offset);
|
|
void OsBuildFontFilePath(const char* fontName, char* path, uint32_t size);
|
|
void OsGetExePath(char* path, uint32_t size);
|
|
char* OsPathFindExtensionWithoutDot(char* path);
|
|
uint32_t OsPathGetRootChars(const char* path);
|
|
void OsPathStripFilename(char* path);
|
|
|
|
#endif
|