2
* synergy -- mouse and keyboard sharing utility
3
* Copyright (C) 2002 Chris Schoeneman
5
* This package is free software; you can redistribute it and/or
6
* modify it under the terms of the GNU General Public License
7
* found in the file COPYING that should have accompanied this file.
9
* This package is distributed in the hope that it will be useful,
10
* but WITHOUT ANY WARRANTY; without even the implied warranty of
11
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12
* GNU General Public License for more details.
15
#include "CXWindowsClipboardUTF8Converter.h"
18
// CXWindowsClipboardUTF8Converter
21
CXWindowsClipboardUTF8Converter::CXWindowsClipboardUTF8Converter(
22
Display* display, const char* name) :
23
m_atom(XInternAtom(display, name, False))
28
CXWindowsClipboardUTF8Converter::~CXWindowsClipboardUTF8Converter()
34
CXWindowsClipboardUTF8Converter::getFormat() const
36
return IClipboard::kText;
40
CXWindowsClipboardUTF8Converter::getAtom() const
46
CXWindowsClipboardUTF8Converter::getDataSize() const
52
CXWindowsClipboardUTF8Converter::fromIClipboard(const CString& data) const
58
CXWindowsClipboardUTF8Converter::toIClipboard(const CString& data) const