From: VMware, Inc <> Date: Mon, 20 Sep 2010 18:00:42 +0000 (-0700) Subject: Instantiate mac implementation in copyPasteDnDWrapper::Init(). X-Git-Tag: stable-8.6.0~27 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fc5b91404342d93140f718acb4c058459c491ed5;p=thirdparty%2Fopen-vm-tools.git Instantiate mac implementation in copyPasteDnDWrapper::Init(). Signed-off-by: Marcelo Vanzin --- diff --git a/open-vm-tools/services/plugins/dndcp/copyPasteDnDWrapper.cpp b/open-vm-tools/services/plugins/dndcp/copyPasteDnDWrapper.cpp index 582f33462..a8bc97bd6 100644 --- a/open-vm-tools/services/plugins/dndcp/copyPasteDnDWrapper.cpp +++ b/open-vm-tools/services/plugins/dndcp/copyPasteDnDWrapper.cpp @@ -36,6 +36,10 @@ #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);