2018-11-22 15:53:32 -05:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include "common.h"
|
|
|
|
|
|
|
|
namespace Util
|
|
|
|
{
|
|
|
|
std::optional<std::wstring> GetClipboardText();
|
2018-11-25 16:23:41 -05:00
|
|
|
std::optional<std::wstring> StringToWideString(std::string text, UINT encoding = CP_UTF8);
|
2018-11-22 16:02:45 -05:00
|
|
|
// return true if repetition found (see https://github.com/Artikash/Textractor/issues/40)
|
|
|
|
bool RemoveRepetition(std::wstring& text);
|
2018-11-22 15:53:32 -05:00
|
|
|
}
|