mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-04-06 03:07:04 +02:00
* Add project
* Cleanup project file and add resource file
* Move common logic to FileLocksmithLib
* Cleanup interop vcxproj
* Implement handler, add assets and appx manifest
* Revert "Cleanup interop vcxproj"
This reverts commit 97bf991f2e.
* Remove package on uninstall
Install package on enable
Fix launching app
Cleanup
* Revert non-related change
* Spellcheck
* Update src/modules/FileLocksmith/FileLocksmithContextMenu/Resources.resx
* Wire Show in extended context menu setting
23 lines
317 B
C++
23 lines
317 B
C++
#pragma once
|
|
|
|
#include "pch.h"
|
|
|
|
#include <fstream>
|
|
|
|
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;
|
|
};
|
|
}
|