X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/9d86099269660fb9eab4d146e625cb2a5fff9c14..a0fef35d6bd0505df5d3337a4357d6c867177d35:/samples/ipc/server.h diff --git a/samples/ipc/server.h b/samples/ipc/server.h index 5eeaa8549a..6f4e0e7ce1 100644 --- a/samples/ipc/server.h +++ b/samples/ipc/server.h @@ -70,14 +70,14 @@ public: ~MyConnection(); virtual bool OnExecute(const wxString& topic, wxChar *data, int size, wxIPCFormat format); - virtual wxChar *OnRequest(const wxString& topic, const wxString& item, int *size, wxIPCFormat format); + virtual const wxChar *OnRequest(const wxString& topic, const wxString& item, int *size, wxIPCFormat format); virtual bool OnPoke(const wxString& topic, const wxString& item, wxChar *data, int size, wxIPCFormat format); virtual bool OnStartAdvise(const wxString& topic, const wxString& item); virtual bool OnStopAdvise(const wxString& topic, const wxString& item); - virtual bool Advise(const wxString& item, wxChar *data, int size = -1, wxIPCFormat format = wxIPC_TEXT); + virtual bool Advise(const wxString& item, const wxChar *data, int size = -1, wxIPCFormat format = wxIPC_TEXT); virtual bool OnDisconnect(); protected: - void Log(const wxString& command, const wxString& topic, const wxString& item, wxChar *data, int size, wxIPCFormat format); + void Log(const wxString& command, const wxString& topic, const wxString& item, const wxChar *data, int size, wxIPCFormat format); public: wxString m_sAdvise; protected: