mirror of
https://github.com/debauchee/barrier.git
synced 2024-12-18 16:31:44 +03:00
24 lines
631 B
C++
24 lines
631 B
C++
#ifndef CXWINDOWSCLIPBOARDTEXTCONVERTER_H
|
|
#define CXWINDOWSCLIPBOARDTEXTCONVERTER_H
|
|
|
|
#include "CXWindowsClipboard.h"
|
|
|
|
class CXWindowsClipboardTextConverter : public IXWindowsClipboardConverter {
|
|
public:
|
|
CXWindowsClipboardTextConverter(Display* display, const char* name);
|
|
virtual ~CXWindowsClipboardTextConverter();
|
|
|
|
// 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
|