mirror of
https://github.com/debauchee/barrier.git
synced 2025-07-28 22:07:49 +02:00
Drop C prefix on Windows
This commit is contained in:
parent
e5e0a3b653
commit
9fd11da578
48 changed files with 555 additions and 555 deletions
|
@ -21,34 +21,34 @@
|
|||
#include "base/Unicode.h"
|
||||
|
||||
//
|
||||
// CMSWindowsClipboardTextConverter
|
||||
// MSWindowsClipboardTextConverter
|
||||
//
|
||||
|
||||
CMSWindowsClipboardTextConverter::CMSWindowsClipboardTextConverter()
|
||||
MSWindowsClipboardTextConverter::MSWindowsClipboardTextConverter()
|
||||
{
|
||||
// do nothing
|
||||
}
|
||||
|
||||
CMSWindowsClipboardTextConverter::~CMSWindowsClipboardTextConverter()
|
||||
MSWindowsClipboardTextConverter::~MSWindowsClipboardTextConverter()
|
||||
{
|
||||
// do nothing
|
||||
}
|
||||
|
||||
UINT
|
||||
CMSWindowsClipboardTextConverter::getWin32Format() const
|
||||
MSWindowsClipboardTextConverter::getWin32Format() const
|
||||
{
|
||||
return CF_TEXT;
|
||||
}
|
||||
|
||||
String
|
||||
CMSWindowsClipboardTextConverter::doFromIClipboard(const String& data) const
|
||||
MSWindowsClipboardTextConverter::doFromIClipboard(const String& data) const
|
||||
{
|
||||
// convert and add nul terminator
|
||||
return Unicode::UTF8ToText(data) += '\0';
|
||||
}
|
||||
|
||||
String
|
||||
CMSWindowsClipboardTextConverter::doToIClipboard(const String& data) const
|
||||
MSWindowsClipboardTextConverter::doToIClipboard(const String& data) const
|
||||
{
|
||||
// convert and truncate at first nul terminator
|
||||
String dst = Unicode::textToUTF8(data);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue