mirror of
https://github.com/thunderbrewhq/thunderbrew
synced 2025-12-12 19:22:30 +00:00
feat(util): SFile functions now use the BlizzardCore filesystem utilities
This commit is contained in:
parent
5eff48097f
commit
0302864f8d
2 changed files with 21 additions and 37 deletions
|
|
@ -6,6 +6,8 @@
|
|||
#include <fstream>
|
||||
#include <iostream>
|
||||
|
||||
#include <bc/file/File.hpp>
|
||||
|
||||
class SArchive;
|
||||
struct SOVERLAPPED;
|
||||
struct TASYNCPARAMBLOCK;
|
||||
|
|
@ -28,8 +30,8 @@ class SFile {
|
|||
|
||||
// Member variables
|
||||
const char* m_filename;
|
||||
std::ifstream* m_stream; // TODO Proper implementation
|
||||
std::streamsize m_size; // TODO Proper implementation
|
||||
Blizzard::File::StreamRecord* m_stream; // TODO Proper implementation
|
||||
uint64_t m_size; // TODO Proper implementation
|
||||
};
|
||||
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue