MCPcopy Create free account
hub / github.com/MyGUI/mygui / getClipboardData

Method getClipboardData

MyGUIEngine/src/MyGUI_ClipboardManager.cpp:72–82  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers 1

commandPasteMethod · 0.80

Calls 2

findMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected