]> git.saurik.com Git - wxWidgets.git/blob - include/wx/ipc.h
fixed compilation of multilib dll
[wxWidgets.git] / include / wx / ipc.h
1 ///////////////////////////////////////////////////////////////////////////////
2 // Name: wx/ipc.h
3 // Purpose: wrapper around different wxIPC classes implementations
4 // Author: Vadim Zeitlin
5 // Modified by:
6 // Created: 15.04.02
7 // RCS-ID: $Id$
8 // Copyright: (c) 2002 Vadim Zeitlin
9 // Licence: wxWindows licence
10 ///////////////////////////////////////////////////////////////////////////////
11
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
14
15 #if !defined(wxUSE_DDE_FOR_IPC)
16 #ifdef __WXMSW__
17 #define wxUSE_DDE_FOR_IPC 1
18 #else
19 #define wxUSE_DDE_FOR_IPC 0
20 #endif
21 #endif // !defined(wxUSE_DDE_FOR_IPC)
22
23 #if !defined(__WINDOWS__)
24 #undef wxUSE_DDE_FOR_IPC
25 #define wxUSE_DDE_FOR_IPC 0
26 #endif
27
28 #if wxUSE_DDE_FOR_IPC
29 #define wxConnection wxDDEConnection
30 #define wxServer wxDDEServer
31 #define wxClient wxDDEClient
32
33 #include "wx/dde.h"
34 #else // !wxUSE_DDE_FOR_IPC
35 #define wxConnection wxTCPConnection
36 #define wxServer wxTCPServer
37 #define wxClient wxTCPClient
38
39 #include "wx/sckipc.h"
40 #endif // wxUSE_DDE_FOR_IPC/!wxUSE_DDE_FOR_IPC
41