|
Crazy Eddie's GUI System 0.8.7
|
Defines a clipboard handling class. More...
#include <Clipboard.h>
Inheritance diagram for CEGUI::Clipboard:
Collaboration diagram for CEGUI::Clipboard:Public Member Functions | |
| Clipboard () | |
| constructor | |
| ~Clipboard () | |
| destructor | |
| void | setNativeProvider (NativeClipboardProvider *provider) |
| sets native clipboard provider | |
| NativeClipboardProvider * | getNativeProvider () const |
| retrieves currently set native clipboard provider | |
| void | setData (const String &mimeType, const void *buffer, size_t size) |
| sets contents of this clipboard to given raw data | |
| void | getData (String &mimeType, const void *&buffer, size_t &size) |
| retrieves contents of this clipboard as raw data | |
| void | setText (const String &text) |
| convenience method that sets contents to given string | |
| String | getText () |
| convenience method that retrieves contents as a string | |
Defines a clipboard handling class.
retrieves contents of this clipboard as raw data
| mimeType | current mime type |
| buffer | the raw data buffer (can be 0 if size == 0!) |
| size | size of the returned buffer |
You shan't change the buffer contents, only read from it!
| NativeClipboardProvider * CEGUI::Clipboard::getNativeProvider | ( | ) | const |
retrieves currently set native clipboard provider
sets contents of this clipboard to given raw data
| mimeType | describes type of the data in the clipboard |
| buffer | raw buffer containing data to push into the clipboard |
| size | size (in bytes) of given data |
| void CEGUI::Clipboard::setNativeProvider | ( | NativeClipboardProvider * | provider | ) |
sets native clipboard provider
| provider | the native clipboard provider to set |