79031da543
Spell checking / Check Spelling (push) Has been cancelled
Spell checking / Update PR (push) Has been cancelled
Publish Dev Docs Website / build (push) Failing after 1s
Publish Dev Docs Website / deploy (push) Has been skipped
Spell checking / Report (Push) (push) Has been cancelled
Spell checking / Report (PR) (push) Has been cancelled
19 lines
492 B
C++
19 lines
492 B
C++
#pragma once
|
|
#include <functional>
|
|
class TwoWayPipeMessageIPC
|
|
{
|
|
public:
|
|
typedef std::function<void(const std::wstring&)>callback_function;
|
|
TwoWayPipeMessageIPC(
|
|
std::wstring _input_pipe_name,
|
|
std::wstring _output_pipe_name,
|
|
callback_function p_func);
|
|
~TwoWayPipeMessageIPC();
|
|
void send(std::wstring msg);
|
|
void start(HANDLE _restricted_pipe_token);
|
|
void end();
|
|
|
|
private:
|
|
class TwoWayPipeMessageIPCImpl;
|
|
TwoWayPipeMessageIPCImpl* impl;
|
|
}; |