]> git.ipfire.org Git - thirdparty/open-vm-tools.git/commitdiff
Instantiate mac implementation in copyPasteDnDWrapper::Init().
authorVMware, Inc <>
Mon, 20 Sep 2010 18:00:42 +0000 (11:00 -0700)
committerMarcelo Vanzin <mvanzin@vmware.com>
Mon, 20 Sep 2010 18:00:42 +0000 (11:00 -0700)
Signed-off-by: Marcelo Vanzin <mvanzin@vmware.com>
open-vm-tools/services/plugins/dndcp/copyPasteDnDWrapper.cpp

index 582f33462e6bffc7e638e636a12728c1832f0f15..a8bc97bd68b578a946f774d49c423c5dbddc76d5 100644 (file)
 #include "copyPasteDnDWin32.h"
 #endif
 
+#if defined(__APPLE__)
+#include "copyPasteDnDMac.h"
+#endif
+
 extern "C" {
 #include "vmware.h"
 #include "rpcout.h"
@@ -122,6 +126,9 @@ CopyPasteDnDWrapper::Init(ToolsAppCtx *ctx)
 #endif
 #if defined(WIN32)
       m_pimpl = new CopyPasteDnDWin32();
+#endif
+#if defined(__APPLE__)
+      m_pimpl = new CopyPasteDnDMac();
 #endif
       if (m_pimpl) {
          m_pimpl->Init(ctx);