source: trunk/synergy/lib/platform/CPMClipboardHTMLConverter.h

Last change on this file was 2752, checked in by bird, 19 years ago

Two classes (CPMScreen and CPMKeyState) + the hook dll left (and debugging of course).

File size: 1.3 KB
Line 
1/*
2 * synergy -- mouse and keyboard sharing utility
3 * Copyright (C) 2004 Chris Schoeneman
4 * Copyright (C) 2006 Knut St. Osmundsen
5 *
6 * This package is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU General Public License
8 * found in the file COPYING that should have accompanied this file.
9 *
10 * This package is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU General Public License for more details.
14 */
15
16#ifndef CPMCLIPBOARDHTMLCONVERTER_H
17#define CPMCLIPBOARDHTMLCONVERTER_H
18
19#include "CPMClipboardAnyTextConverter.h"
20
21//! Convert to/from HTML encoding
22class CPMClipboardHTMLConverter :
23 public CPMClipboardAnyTextConverter {
24public:
25 CPMClipboardHTMLConverter();
26 virtual ~CPMClipboardHTMLConverter();
27
28 // IPMClipboardConverter overrides
29 virtual IClipboard::EFormat getFormat() const;
30 virtual ULONG getPMFormat() const;
31
32protected:
33 // CPMClipboardAnyTextConverter overrides
34 virtual CString doFromIClipboard(const CString&) const;
35 virtual CString doToIClipboard(const CString&) const;
36
37private:
38 CString findArg(const CString& data, const CString& name) const;
39
40private:
41 ATOM m_format;
42};
43
44#endif
Note: See TracBrowser for help on using the repository browser.