|
MyGUI
3.2.1
|
#include <MyGUI_ClipboardManager.h>
Inheritance diagram for MyGUI::ClipboardManager:Public Member Functions | |
| ClipboardManager () | |
| void | initialise () |
| void | shutdown () |
| void | setClipboardData (const std::string &_type, const std::string &_data) |
| void | clearClipboardData (const std::string &_type) |
| std::string | getClipboardData (const std::string &_type) |
Public Member Functions inherited from MyGUI::Singleton< ClipboardManager > | |
| Singleton () | |
| virtual | ~Singleton () |
Data Fields | |
| delegates::CMultiDelegate2 < const std::string &, const std::string & > | eventClipboardChanged |
| delegates::CMultiDelegate2 < const std::string &, std::string & > | eventClipboardRequested |
Additional Inherited Members | |
Public Types inherited from MyGUI::Singleton< ClipboardManager > | |
| typedef Singleton < ClipboardManager > | Base |
Static Public Member Functions inherited from MyGUI::Singleton< ClipboardManager > | |
| static ClipboardManager & | getInstance () |
| static ClipboardManager * | getInstancePtr () |
| static const char * | getClassTypeName () |
Definition at line 20 of file MyGUI_ClipboardManager.h.
| MyGUI::ClipboardManager::ClipboardManager | ( | ) |
Definition at line 21 of file MyGUI_ClipboardManager.cpp.
| void MyGUI::ClipboardManager::clearClipboardData | ( | const std::string & | _type | ) |
Clear specific type data
| _type | of data to delete (for example "Text") |
Definition at line 65 of file MyGUI_ClipboardManager.cpp.
| std::string MyGUI::ClipboardManager::getClipboardData | ( | const std::string & | _type | ) |
Get specific type data
| _type | of data to get (for example "Text") |
Definition at line 71 of file MyGUI_ClipboardManager.cpp.
| void MyGUI::ClipboardManager::initialise | ( | ) |
Definition at line 29 of file MyGUI_ClipboardManager.cpp.
| void MyGUI::ClipboardManager::setClipboardData | ( | const std::string & | _type, |
| const std::string & | _data | ||
| ) |
Set current data in clipboard and trigger eventClipboardChanged. To be used by widgets.
| _type | of data (for example "Text") |
| _data |
Definition at line 58 of file MyGUI_ClipboardManager.cpp.
| void MyGUI::ClipboardManager::shutdown | ( | ) |
Definition at line 43 of file MyGUI_ClipboardManager.cpp.
| delegates::CMultiDelegate2<const std::string&, const std::string&> MyGUI::ClipboardManager::eventClipboardChanged |
Event : Clipboard content was changed via setClipboardData.
signature : void method(const std::string& _type, const std::string& _data)
| _type | of data (for example "Text") |
| _data |
Definition at line 51 of file MyGUI_ClipboardManager.h.
| delegates::CMultiDelegate2<const std::string&, std::string&> MyGUI::ClipboardManager::eventClipboardRequested |
Event : The content of the clipboard is being requested via getClipboardData.
Delegates of this event can modify the _data argument in-place to change the data returned by getClipboardData. signature : void method(const std::string& _type, std::string& _data)
| _type | of data (for example "Text") |
| _data |
Definition at line 59 of file MyGUI_ClipboardManager.h.
1.8.3.1