X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/c25ac78a9f123865f782e9bbf47e70e33309d39b..14619f10b0bdb630206607abd0ce0319d45e095a:/samples/ipc/ipcsetup.h diff --git a/samples/ipc/ipcsetup.h b/samples/ipc/ipcsetup.h index a7e392a7a5..17fc121318 100644 --- a/samples/ipc/ipcsetup.h +++ b/samples/ipc/ipcsetup.h @@ -12,17 +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 _T("/tmp/wxsrv424") +#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"