[VictoriaFalls] Add a VFS yunq stub and register it.
This commit is contained in:
parent
f815eb5614
commit
48c7721b0f
11 changed files with 473 additions and 1 deletions
16
sys/victoriafalls/victoriafalls_server.h
Normal file
16
sys/victoriafalls/victoriafalls_server.h
Normal 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) {}
|
||||
};
|
||||
Loading…
Add table
Add a link
Reference in a new issue