wxWidgets/samples/ipc/ipcsetup.h

33 lines
908 B
C
Raw Normal View History

/////////////////////////////////////////////////////////////////////////////
// Name: ipcsetup.h
// Purpose: IPC sample settings
// Author: Julian Smart
// Modified by: Jurgen Doornik
// Created: 25/01/99
// Copyright: (c) Julian Smart
// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
// You may set this to 0 to prevent DDE from being used even under Windows
//#define wxUSE_DDE_FOR_IPC 0
#include "wx/ipc.h"
// the default service name
#define IPC_SERVICE "4242"
//#define IPC_SERVICE wxT("/tmp/wxsrv424")
// the hostname
#define IPC_HOST "localhost"
// the IPC topic
#define IPC_TOPIC "IPC TEST"
// the name of the item we're being advised about
#define IPC_ADVISE_NAME "Item"
// the values used by tests/benchmarks/ipcclient.cpp
#define IPC_BENCHMARK_TOPIC "wxIPC BENCH"
#define IPC_BENCHMARK_ITEM "Benchmark"