]> git.saurik.com Git - wxWidgets.git/blame - include/wx/ipc.h
Comment-only update
[wxWidgets.git] / include / wx / ipc.h
CommitLineData
d5172a58
VZ
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
d5172a58 7// Copyright: (c) 2002 Vadim Zeitlin
65571936 8// Licence: wxWindows licence
d5172a58
VZ
9///////////////////////////////////////////////////////////////////////////////
10
20ceebaa
MW
11#ifndef _WX_IPC_H_
12#define _WX_IPC_H_
13
d5172a58
VZ
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
16
17#if !defined(wxUSE_DDE_FOR_IPC)
d98a58c5 18 #ifdef __WINDOWS__
d5172a58
VZ
19 #define wxUSE_DDE_FOR_IPC 1
20 #else
21 #define wxUSE_DDE_FOR_IPC 0
22 #endif
23#endif // !defined(wxUSE_DDE_FOR_IPC)
24
25#if !defined(__WINDOWS__)
26 #undef wxUSE_DDE_FOR_IPC
27 #define wxUSE_DDE_FOR_IPC 0
28#endif
29
30#if wxUSE_DDE_FOR_IPC
31 #define wxConnection wxDDEConnection
32 #define wxServer wxDDEServer
33 #define wxClient wxDDEClient
34
35 #include "wx/dde.h"
36#else // !wxUSE_DDE_FOR_IPC
37 #define wxConnection wxTCPConnection
38 #define wxServer wxTCPServer
39 #define wxClient wxTCPClient
40
41 #include "wx/sckipc.h"
42#endif // wxUSE_DDE_FOR_IPC/!wxUSE_DDE_FOR_IPC
43
20ceebaa 44#endif // _WX_IPC_H_