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

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

synergy v1.3.1 sources (zip).

File size: 1.2 KB
Line 
1/*
2 * synergy -- mouse and keyboard sharing utility
3 * Copyright (C) 2004 Chris Schoeneman
4 *
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.
8 *
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.
13 */
14
15#ifndef CXWINDOWSCLIPBOARDBMPCONVERTER_H
16#define CXWINDOWSCLIPBOARDBMPCONVERTER_H
17
18#include "CXWindowsClipboard.h"
19
20//! Convert to/from some text encoding
21class CXWindowsClipboardBMPConverter :
22 public IXWindowsClipboardConverter {
23public:
24 CXWindowsClipboardBMPConverter(Display* display);
25 virtual ~CXWindowsClipboardBMPConverter();
26
27 // IXWindowsClipboardConverter overrides
28 virtual IClipboard::EFormat
29 getFormat() const;
30 virtual Atom getAtom() const;
31 virtual int getDataSize() const;
32 virtual CString fromIClipboard(const CString&) const;
33 virtual CString toIClipboard(const CString&) const;
34
35private:
36 Atom m_atom;
37};
38
39#endif
Note: See TracBrowser for help on using the repository browser.