Num Rec app and save & loading

This commit is contained in:
IlyaShurupov 2023-10-26 16:27:43 +03:00
parent fc20f3594d
commit b7a89b714e
12 changed files with 8171 additions and 12 deletions

View file

@ -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;
};
}