mirror of
https://github.com/microsoft/PowerToys.git
synced 2024-12-17 04:58:04 +08:00
23 lines
325 B
C++
23 lines
325 B
C++
#pragma once
|
|
|
|
#include "pch.h"
|
|
|
|
namespace ipc
|
|
{
|
|
class Writer
|
|
{
|
|
public:
|
|
Writer();
|
|
~Writer();
|
|
HRESULT start();
|
|
HRESULT add_path(LPCWSTR path);
|
|
void finish();
|
|
HANDLE get_read_handle();
|
|
private:
|
|
HANDLE m_read_pipe = NULL;
|
|
HANDLE m_write_pipe = NULL;
|
|
};
|
|
|
|
std::vector<std::wstring> read_paths_from_stdin();
|
|
}
|