]>
git.saurik.com Git - wxWidgets.git/blob - include/wx/ipc.h
1 ///////////////////////////////////////////////////////////////////////////////
3 // Purpose: wrapper around different wxIPC classes implementations
4 // Author: Vadim Zeitlin
7 // Copyright: (c) 2002 Vadim Zeitlin
8 // Licence: wxWindows licence
9 ///////////////////////////////////////////////////////////////////////////////
14 // Set wxUSE_DDE_FOR_IPC to 1 to use DDE for IPC under Windows. If it is set to
15 // 0, or if the platform is not Windows, use TCP/IP for IPC implementation
17 #if !defined(wxUSE_DDE_FOR_IPC)
19 #define wxUSE_DDE_FOR_IPC 1
21 #define wxUSE_DDE_FOR_IPC 0
23 #endif // !defined(wxUSE_DDE_FOR_IPC)
25 #if !defined(__WINDOWS__)
26 #undef wxUSE_DDE_FOR_IPC
27 #define wxUSE_DDE_FOR_IPC 0
31 #define wxConnection wxDDEConnection
32 #define wxServer wxDDEServer
33 #define wxClient wxDDEClient
36 #else // !wxUSE_DDE_FOR_IPC
37 #define wxConnection wxTCPConnection
38 #define wxServer wxTCPServer
39 #define wxClient wxTCPClient
41 #include "wx/sckipc.h"
42 #endif // wxUSE_DDE_FOR_IPC/!wxUSE_DDE_FOR_IPC