11 #if MYGUI_PLATFORM == MYGUI_PLATFORM_WIN32
18 template <> ClipboardManager* Singleton<ClipboardManager>::msInstance =
nullptr;
19 template <>
const char* Singleton<ClipboardManager>::mClassTypeName =
"ClipboardManager";
23 mWindowsClipboardHandler(
nullptr),
34 #if MYGUI_PLATFORM == MYGUI_PLATFORM_WIN32
35 mWindowsClipboardHandler =
new WindowsClipboardHandler();
36 mWindowsClipboardHandler->initialise();
48 #if MYGUI_PLATFORM == MYGUI_PLATFORM_WIN32
49 mWindowsClipboardHandler->shutdown();
50 delete mWindowsClipboardHandler;
51 mWindowsClipboardHandler =
nullptr;
55 mIsInitialise =
false;
60 mClipboardData[_type] = _data;
67 MapString::iterator iter = mClipboardData.find(_type);
68 if (iter != mClipboardData.end()) mClipboardData.erase(iter);
74 MapString::iterator iter = mClipboardData.find(_type);
75 if (iter != mClipboardData.end())