p7zip-rar/CPP/Windows/Clipboard.h

29 lines
467 B
C
Raw Permalink Normal View History

2017-10-11 12:40:22 +02:00
// Windows/Clipboard.h
#ifndef __CLIPBOARD_H
#define __CLIPBOARD_H
#include "Common/MyString.h"
namespace NWindows {
class CClipboard
{
bool m_Open;
public:
CClipboard(): m_Open(false) {};
~CClipboard();
bool Open(HWND wndNewOwner);
bool Close();
};
bool ClipboardIsFormatAvailableHDROP();
// bool ClipboardGetFileNames(UStringVector &names);
// bool ClipboardGetTextString(AString &s);
bool ClipboardSetText(HWND owner, const UString &s);
}
#endif