[VictoriaFalls] Add a VFS yunq stub and register it.

This commit is contained in:
Drew Galbraith 2023-10-25 23:08:45 -07:00
parent f815eb5614
commit 48c7721b0f
11 changed files with 473 additions and 1 deletions

View file

@ -0,0 +1,16 @@
#pragma once
#include <glacier/memory/unique_ptr.h>
#include "victoriafalls/victoriafalls.yunq.server.h"
class VFSServer : public VFSServerBase {
public:
static glcr::ErrorOr<glcr::UniquePtr<VFSServer>> Create();
glcr::ErrorCode HandleOpenFile(const OpenFileRequest&,
OpenFileResponse&) override;
private:
VFSServer(z_cap_t endpoint_cap) : VFSServerBase(endpoint_cap) {}
};