mirror of
https://github.com/debauchee/barrier.git
synced 2024-12-25 12:06:26 +03:00
24 lines
631 B
C++
24 lines
631 B
C++
#ifndef CXWINDOWSCLIPBOARDUTF8CONVERTER_H
|
|
#define CXWINDOWSCLIPBOARDUTF8CONVERTER_H
|
|
|
|
#include "CXWindowsClipboard.h"
|
|
|
|
class CXWindowsClipboardUTF8Converter : public IXWindowsClipboardConverter {
|
|
public:
|
|
CXWindowsClipboardUTF8Converter(Display* display, const char* name);
|
|
virtual ~CXWindowsClipboardUTF8Converter();
|
|
|
|
// IXWindowsClipboardConverter overrides
|
|
virtual IClipboard::EFormat
|
|
getFormat() const;
|
|
virtual Atom getAtom() const;
|
|
virtual int getDataSize() const;
|
|
virtual CString fromIClipboard(const CString&) const;
|
|
virtual CString toIClipboard(const CString&) const;
|
|
|
|
private:
|
|
Atom m_atom;
|
|
};
|
|
|
|
#endif
|