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
#ifndef CMSWINDOWSCLIPBOARDUTF16CONVERTER_H
16
#define CMSWINDOWSCLIPBOARDUTF16CONVERTER_H
18
#include "CMSWindowsClipboardAnyTextConverter.h"
20
//! Convert to/from UTF-16 encoding
21
class CMSWindowsClipboardUTF16Converter :
22
public CMSWindowsClipboardAnyTextConverter {
24
CMSWindowsClipboardUTF16Converter();
25
virtual ~CMSWindowsClipboardUTF16Converter();
27
// IMSWindowsClipboardConverter overrides
28
virtual UINT getWin32Format() const;
31
// CMSWindowsClipboardAnyTextConverter overrides
32
virtual CString doFromIClipboard(const CString&) const;
33
virtual CString doToIClipboard(const CString&) const;