X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/1a7f306263595bff3b74e96e4c2bee6f0a008500..f21b2fd89d02837dfd0d195f8ff0f3f5640af017:/samples/ipc/ddesetup.h diff --git a/samples/ipc/ddesetup.h b/samples/ipc/ddesetup.h new file mode 100644 index 0000000000..177d034b77 --- /dev/null +++ b/samples/ipc/ddesetup.h @@ -0,0 +1,42 @@ +///////////////////////////////////////////////////////////////////////////// +// Name: ddesetup.h +// Purpose: DDE sample settings +// Author: Julian Smart +// Modified by: +// Created: 25/01/99 +// RCS-ID: $Id$ +// Copyright: (c) Julian Smart +// Licence: wxWindows licence +///////////////////////////////////////////////////////////////////////////// + +/* + * Adjust this before compiling, to switch between real DDE and TCP/IP + * implementations. + */ + +// If 1, use real DDE. If 0, use TCP/IP + +#ifdef __WXMSW__ +#define wxUSE_DDE_FOR_SAMPLE 0 +#else +#define wxUSE_DDE_FOR_SAMPLE 0 +#endif + +#if wxUSE_DDE_FOR_SAMPLE + +#define wxConnection wxDDEConnection +#define wxServer wxDDEServer +#define wxClient wxDDEClient + +#include + +#else + +#define wxConnection wxTCPConnection +#define wxServer wxTCPServer +#define wxClient wxTCPClient + +#include + +#endif +