1999-01-27 05:01:14 -05:00
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
|
|
// 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
|
1999-02-09 10:37:52 -05:00
|
|
|
|
|
|
|
#ifdef __WXMSW__
|
2000-03-10 00:32:40 -05:00
|
|
|
#define wxUSE_DDE_FOR_SAMPLE 0
|
1999-02-09 10:37:52 -05:00
|
|
|
#else
|
1999-01-27 12:15:34 -05:00
|
|
|
#define wxUSE_DDE_FOR_SAMPLE 0
|
1999-02-09 10:37:52 -05:00
|
|
|
#endif
|
1999-01-27 05:01:14 -05:00
|
|
|
|
|
|
|
#if wxUSE_DDE_FOR_SAMPLE
|
|
|
|
|
|
|
|
#define wxConnection wxDDEConnection
|
|
|
|
#define wxServer wxDDEServer
|
|
|
|
#define wxClient wxDDEClient
|
|
|
|
|
|
|
|
#include <wx/dde.h>
|
|
|
|
|
|
|
|
#else
|
|
|
|
|
|
|
|
#define wxConnection wxTCPConnection
|
|
|
|
#define wxServer wxTCPServer
|
|
|
|
#define wxClient wxTCPClient
|
|
|
|
|
|
|
|
#include <wx/sckipc.h>
|
|
|
|
|
|
|
|
#endif
|
|
|
|
|