From 30a9e9e370aa9aff9f64158aa0942b471621a7ef Mon Sep 17 00:00:00 2001 From: George Hazan Date: Mon, 26 Sep 2022 18:23:52 +0300 Subject: Utils_ClipboardCopy - system-wide helper for writing text to clipboard --- include/m_utils.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'include/m_utils.h') diff --git a/include/m_utils.h b/include/m_utils.h index e7bff67f1a..7f880efcdd 100644 --- a/include/m_utils.h +++ b/include/m_utils.h @@ -50,6 +50,11 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. EXTERN_C MIR_CORE_DLL(void) Utils_OpenUrl(const char *pszUrl, bool bOpenInNewWindow = true); EXTERN_C MIR_CORE_DLL(void) Utils_OpenUrlW(const wchar_t *pszUrl, bool bOpenInNewWindow = true); +///////////////////////////////////////////////////////////////////////////////////////// +// copies a string into clipboard + +EXTERN_C MIR_CORE_DLL(void) Utils_ClipboardCopy(const wchar_t *pszText); + ///////////////////////////////////////////////////////////////////////////////////////// // Resizes a dialog by calling a custom routine to move the individual // Returns 0 on success, or nonzero on failure -- cgit v1.2.3