continue transfer object refactor, re-enabling avatar receiving

This commit is contained in:
Green Sky
2025-05-04 19:11:28 +02:00
parent 7021e092b1
commit 2654cd1b19
12 changed files with 390 additions and 69 deletions

24
src/backends/std_fs.hpp Normal file
View File

@@ -0,0 +1,24 @@
#pragma once
#include <solanaceae/object_store/object_store.hpp>
namespace Backends {
struct STDFS : public StorageBackendIMeta, public StorageBackendIFile2 {
ObjectStore2& _os;
STDFS(
ObjectStore2& os
);
~STDFS(void);
ObjectHandle newObject(ByteSpan id, bool throw_construct = true) override;
// TODO: interface?
bool attach(Object ov);
std::unique_ptr<File2I> file2(Object o, FILE2_FLAGS flags) override;
};
} // Backends