solanaceae_tox/solanaceae/tox_messages/backends/tox_ft_filesystem.hpp
Green Sky e2c9880a15
major msg -> obj file transfer refactor
mostly done, some things are hacky or not done
2024-07-29 20:03:24 +02:00

20 lines
343 B
C++

#pragma once
#include <solanaceae/object_store/object_store.hpp>
namespace Backends {
struct ToxFTFilesystem : public StorageBackendI {
ToxFTFilesystem(
ObjectStore2& os
);
~ToxFTFilesystem(void);
ObjectHandle newObject(ByteSpan id) override;
std::unique_ptr<File2I> file2(Object o, FILE2_FLAGS flags) override;
};
} // Backends