forked from Public-Mirror/Textractor
12 lines
316 B
C++
12 lines
316 B
C++
#pragma once
|
|
|
|
#include "common.h"
|
|
|
|
namespace Util
|
|
{
|
|
std::optional<std::wstring> GetClipboardText();
|
|
std::wstring StringToWideString(std::string text, UINT encoding = CP_UTF8);
|
|
// return true if repetition found (see https://github.com/Artikash/Textractor/issues/40)
|
|
bool RemoveRepetition(std::wstring& text);
|
|
}
|