| 70 | } |
| 71 | |
| 72 | std::string ClipboardManager::getClipboardData(std::string_view _type) const |
| 73 | { |
| 74 | std::string ret; |
| 75 | MapString::const_iterator iter = mClipboardData.find(_type); |
| 76 | if (iter != mClipboardData.end()) |
| 77 | ret = (*iter).second; |
| 78 | |
| 79 | // Give delegates a chance to fill the clipboard with data |
| 80 | eventClipboardRequested(_type, ret); |
| 81 | return ret; |
| 82 | } |
| 83 | |
| 84 | } // namespace MyGUI |
no test coverage detected