mirror of
https://github.com/whoahq/whoa.git
synced 2026-02-01 08:12:44 +03:00
feat(util): stub SFile::IsStreamingTrial
This commit is contained in:
parent
a71f15bfe1
commit
fb00da2899
@ -26,6 +26,11 @@ int32_t SFile::IsStreamingMode() {
|
|||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
int32_t SFile::IsStreamingTrial() {
|
||||||
|
// TODO
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
|
||||||
// TODO Proper implementation
|
// 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) {
|
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);
|
auto pathLen = SStrLen(filename);
|
||||||
|
|||||||
@ -16,6 +16,7 @@ class SFile {
|
|||||||
static int32_t Close(SFile*);
|
static int32_t Close(SFile*);
|
||||||
static size_t GetFileSize(SFile*, size_t*);
|
static size_t GetFileSize(SFile*, size_t*);
|
||||||
static int32_t IsStreamingMode();
|
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 Load(SArchive*, const char*, void**, size_t*, size_t, uint32_t, SOVERLAPPED*);
|
||||||
static int32_t Open(const char*, SFile**);
|
static int32_t Open(const char*, SFile**);
|
||||||
static int32_t OpenEx(SArchive*, const char*, uint32_t, SFile**);
|
static int32_t OpenEx(SArchive*, const char*, uint32_t, SFile**);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user