X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/bc2defe2758ee6fa69e4fd79f0931698d5306523..a640295faab118deee570776f5a752c5056c0aad:/samples/ipc/ipcsetup.h diff --git a/samples/ipc/ipcsetup.h b/samples/ipc/ipcsetup.h index d00355f1f1..17fc121318 100644 --- a/samples/ipc/ipcsetup.h +++ b/samples/ipc/ipcsetup.h @@ -12,16 +12,22 @@ // You may set this to 0 to prevent DDE from being used even under Windows //#define wxUSE_DDE_FOR_IPC 0 -#include +#include "wx/ipc.h" // the default service name -#define IPC_SERVICE _T("4242") +#define IPC_SERVICE "4242" +//#define IPC_SERVICE wxT("/tmp/wxsrv424") // the hostname -#define IPC_HOST _T("localhost") +#define IPC_HOST "localhost" // the IPC topic -#define IPC_TOPIC _T("IPC TEST") +#define IPC_TOPIC "IPC TEST" // the name of the item we're being advised about -#define IPC_ADVISE_NAME _T("Item") +#define IPC_ADVISE_NAME "Item" + + +// the values used by tests/benchmarks/ipcclient.cpp +#define IPC_BENCHMARK_TOPIC "wxIPC BENCH" +#define IPC_BENCHMARK_ITEM "Benchmark"