[yunq] Add codegen for clients and servers (untested).
This commit is contained in:
parent
963cc0b4fa
commit
71e3521b87
12 changed files with 472 additions and 75 deletions
18
yunq/example.yunq.client.h
Normal file
18
yunq/example.yunq.client.h
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
// Generated file - DO NOT MODIFY
|
||||
#pragma once
|
||||
|
||||
#include <ztypes.h>
|
||||
|
||||
#include "example.yunq.h"
|
||||
|
||||
class VFSClient {
|
||||
public:
|
||||
VFSClient(z_cap_t VFS_cap) : endpoint_(VFS_cap) {}
|
||||
VFSClient(const VFSClient&) = delete;
|
||||
VFSClient(VFSClient&&) = delete;
|
||||
|
||||
[[nodiscard]] glcr::ErrorCode open(const OpenFileRequest& request, File& response);
|
||||
|
||||
private:
|
||||
z_cap_t endpoint_;
|
||||
};
|
||||
Loading…
Add table
Add a link
Reference in a new issue