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