aboutsummaryrefslogtreecommitdiff
path: root/CPP/Windows/Clipboard.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--CPP/Windows/Clipboard.h28
1 files changed, 28 insertions, 0 deletions
diff --git a/CPP/Windows/Clipboard.h b/CPP/Windows/Clipboard.h
new file mode 100644
index 0000000..60fedc1
--- /dev/null
+++ b/CPP/Windows/Clipboard.h
@@ -0,0 +1,28 @@
1// Windows/Clipboard.h
2
3#ifndef __CLIPBOARD_H
4#define __CLIPBOARD_H
5
6#include "../Common/MyString.h"
7
8namespace NWindows {
9
10class CClipboard
11{
12 bool m_Open;
13public:
14 CClipboard(): m_Open(false) {};
15 ~CClipboard() { Close(); }
16 bool Open(HWND wndNewOwner) throw();
17 bool Close() throw();
18};
19
20bool ClipboardIsFormatAvailableHDROP();
21
22// bool ClipboardGetFileNames(UStringVector &names);
23// bool ClipboardGetTextString(AString &s);
24bool ClipboardSetText(HWND owner, const UString &s);
25
26}
27
28#endif