Storage initial
This commit is contained in:
parent
bd1a6a44db
commit
d5dfb1c304
14 changed files with 551 additions and 2 deletions
19
Storage/private/SystemHandle.hpp
Normal file
19
Storage/private/SystemHandle.hpp
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
#pragma once
|
||||
|
||||
#include "Common.hpp"
|
||||
|
||||
namespace tp {
|
||||
class FileSystemHandle {
|
||||
void* stream;
|
||||
public:
|
||||
FileSystemHandle();
|
||||
~FileSystemHandle();
|
||||
void open(const char*, bool);
|
||||
bool isOpen();
|
||||
void close();
|
||||
void seekp(ualni);
|
||||
void read(int1*, ualni);
|
||||
void write(const int1*, ualni);
|
||||
ualni size();
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue