CMSWindowsClipboard::~CMSWindowsClipboard() { clearConverters(); // dependency injection causes confusion over ownership, so we need // logic to decide whether or not we delete the facade. there must // be a more elegant way of doing this. if (m_deleteFacade) delete m_facade; }
COSXClipboard::~COSXClipboard() { clearConverters(); }
XWindowsClipboard::~XWindowsClipboard() { clearReplies(); clearConverters(); }