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