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 CPMCLIPBOARDBITMAPCONVERTER_H
|
---|
17 | #define CPMCLIPBOARDBITMAPCONVERTER_H
|
---|
18 |
|
---|
19 | #include "CPMClipboard.h"
|
---|
20 |
|
---|
21 | //! Convert to/from some text encoding
|
---|
22 | class CPMClipboardBitmapConverter :
|
---|
23 | public IPMClipboardConverter {
|
---|
24 | public:
|
---|
25 | CPMClipboardBitmapConverter();
|
---|
26 | virtual ~CPMClipboardBitmapConverter();
|
---|
27 |
|
---|
28 | // IPMClipboardConverter overrides
|
---|
29 | virtual IClipboard::EFormat
|
---|
30 | getFormat() const;
|
---|
31 | virtual ULONG getPMFormat() const;
|
---|
32 | virtual ULONG getPMFormatInfo() const;
|
---|
33 | virtual ULONG fromIClipboard(const CString&) const;
|
---|
34 | virtual void freePMData(ULONG) const;
|
---|
35 | virtual CString toIClipboard(ULONG) const;
|
---|
36 | };
|
---|
37 |
|
---|
38 | #endif
|
---|