mirror of
https://github.com/hyblocker/OpenVR-SpaceCalibrator.git
synced 2026-10-27 22:00:08 +01:00
18 lines
294 B
C++
18 lines
294 B
C++
#pragma once
|
|
|
|
#include "../Protocol.h"
|
|
|
|
class IPCClient
|
|
{
|
|
public:
|
|
~IPCClient();
|
|
|
|
void Connect();
|
|
protocol::Response SendBlocking(const protocol::Request &request);
|
|
|
|
void Send(const protocol::Request &request);
|
|
protocol::Response Receive();
|
|
|
|
private:
|
|
HANDLE pipe = INVALID_HANDLE_VALUE;
|
|
}; |