11#if MYGUI_PLATFORM == MYGUI_PLATFORM_WIN32
22 mWindowsClipboardHandler(nullptr),
25 mSingletonHolder(this)
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::const_iterator iter = mClipboardData.find(_type);
75 if (iter != mClipboardData.end())
#define MYGUI_ASSERT(exp, dest)
#define MYGUI_LOG(level, text)
delegates::CMultiDelegate2< const std::string &, std::string & > eventClipboardRequested
static const char * getClassTypeName()
delegates::CMultiDelegate2< const std::string &, const std::string & > eventClipboardChanged
void clearClipboardData(const std::string &_type)
void setClipboardData(const std::string &_type, const std::string &_data)
std::string getClipboardData(const std::string &_type) const
MYGUI_SINGLETON_DEFINITION(ClipboardManager)