]> git.saurik.com Git - wxWidgets.git/blame_incremental - include/wx/ipc.h
Remove deprecated methods
[wxWidgets.git] / include / wx / ipc.h
... / ...
CommitLineData
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#ifndef _WX_IPC_H_
13#define _WX_IPC_H_
14
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
17
18#if !defined(wxUSE_DDE_FOR_IPC)
19 #ifdef __WXMSW__
20 #define wxUSE_DDE_FOR_IPC 1
21 #else
22 #define wxUSE_DDE_FOR_IPC 0
23 #endif
24#endif // !defined(wxUSE_DDE_FOR_IPC)
25
26#if !defined(__WINDOWS__)
27 #undef wxUSE_DDE_FOR_IPC
28 #define wxUSE_DDE_FOR_IPC 0
29#endif
30
31#if wxUSE_DDE_FOR_IPC
32 #define wxConnection wxDDEConnection
33 #define wxServer wxDDEServer
34 #define wxClient wxDDEClient
35
36 #include "wx/dde.h"
37#else // !wxUSE_DDE_FOR_IPC
38 #define wxConnection wxTCPConnection
39 #define wxServer wxTCPServer
40 #define wxClient wxTCPClient
41
42 #include "wx/sckipc.h"
43#endif // wxUSE_DDE_FOR_IPC/!wxUSE_DDE_FOR_IPC
44
45#endif // _WX_IPC_H_