mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-04-05 18:57:19 +02:00
21 lines
297 B
C
21 lines
297 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:
|
||
|
|
std::ofstream m_stream;
|
||
|
|
};
|
||
|
|
}
|