Num Rec app and save & loading
This commit is contained in:
parent
ee8027055e
commit
fa72355799
12 changed files with 8171 additions and 12 deletions
|
|
@ -1,5 +1,6 @@
|
|||
#pragma once
|
||||
|
||||
#include "Archiver.hpp"
|
||||
#include "ConnectionCommon.hpp"
|
||||
|
||||
namespace tp {
|
||||
|
|
@ -49,4 +50,17 @@ namespace tp {
|
|||
Location mLocation;
|
||||
BytePointer mPointer = 0;
|
||||
};
|
||||
|
||||
template <bool tRead>
|
||||
class ArchiverLocalConnection : public ArchiverTemplate<tRead> {
|
||||
public:
|
||||
ArchiverLocalConnection() = default;
|
||||
|
||||
protected:
|
||||
void writeBytes(const int1* val, ualni size) override { connection.writeBytes(val, size); }
|
||||
void readBytes(int1* val, ualni size) override { connection.readBytes(val, size); }
|
||||
|
||||
public:
|
||||
LocalConnection connection;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue