feat(util): stub SFile::IsStreamingTrial

This commit is contained in:
fallenoak 2025-10-11 16:43:47 -05:00
parent a71f15bfe1
commit fb00da2899
No known key found for this signature in database
GPG Key ID: 7628F8E61AEA070D
2 changed files with 6 additions and 0 deletions

View File

@ -26,6 +26,11 @@ int32_t SFile::IsStreamingMode() {
return 0;
}
int32_t SFile::IsStreamingTrial() {
// TODO
return 0;
}
// TODO Proper implementation
int32_t SFile::Load(SArchive* archive, const char* filename, void** buffer, size_t* bytes, size_t extraBytes, uint32_t flags, SOVERLAPPED* overlapped) {
auto pathLen = SStrLen(filename);

View File

@ -16,6 +16,7 @@ class SFile {
static int32_t Close(SFile*);
static size_t GetFileSize(SFile*, size_t*);
static int32_t IsStreamingMode();
static int32_t IsStreamingTrial();
static int32_t Load(SArchive*, const char*, void**, size_t*, size_t, uint32_t, SOVERLAPPED*);
static int32_t Open(const char*, SFile**);
static int32_t OpenEx(SArchive*, const char*, uint32_t, SFile**);