#pragma once #include namespace Backends { struct ToxFTFilesystem : public StorageBackendIMeta, public StorageBackendIFile2 { ObjectStore2& _os; ToxFTFilesystem( ObjectStore2& os ); ~ToxFTFilesystem(void); ObjectHandle newObject(ByteSpan id, bool throw_construct = true) override; std::unique_ptr file2(Object o, FILE2_FLAGS flags) override; }; } // Backends