MyGUI
3.2.1
Main Page
Related Pages
Namespaces
Data Structures
Files
Examples
File List
Globals
mygui
MyGUIEngine
include
MyGUI_WindowsClipboardHandler.h
Go to the documentation of this file.
1
/*
2
* This source file is part of MyGUI. For the latest info, see http://mygui.info/
3
* Distributed under the MIT License
4
* (See accompanying file COPYING.MIT or copy at http://opensource.org/licenses/MIT)
5
*/
6
7
#ifndef __MYGUI_WINDOWS_CLIPBOARD_HANDLER_H__
8
#define __MYGUI_WINDOWS_CLIPBOARD_HANDLER_H__
9
10
#include "
MyGUI_Prerequest.h
"
11
#include "
MyGUI_UString.h
"
12
13
namespace
MyGUI
14
{
15
16
#if MYGUI_PLATFORM == MYGUI_PLATFORM_WIN32
17
class
MYGUI_EXPORT
WindowsClipboardHandler
18
{
19
public
:
20
WindowsClipboardHandler();
21
22
void
initialise();
23
void
shutdown();
24
25
void
handleClipboardChanged(
const
std::string& _type,
const
std::string& _data);
26
void
handleClipboardRequested(
const
std::string& _type, std::string& _data);
27
private
:
28
// дескриптор нашего главного окна
29
size_t
mHwnd;
30
// строка, которую мы положили в буфер обмена винды
31
UString mPutTextInClipboard;
32
};
33
#endif // MYGUI_PLATFORM == MYGUI_PLATFORM_WIN32
34
35
}
// namespace MyGUI
36
37
#endif // __MYGUI_WINDOWS_CLIPBOARD_HANDLER_H__
Generated on Wed Aug 20 2014 00:03:34 for MyGUI by
1.8.3.1