X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f6bcfd974ef26faf6f91a62cac09827e09463fd1..1ee3fb3846ae47c5292128a6f0bd4c8e38d7ba31:/samples/ipc/server.h diff --git a/samples/ipc/server.h b/samples/ipc/server.h index ac85cd4b0d..6f65c463ba 100644 --- a/samples/ipc/server.h +++ b/samples/ipc/server.h @@ -42,15 +42,14 @@ class IPCDialogBox; class MyConnection : public wxConnection { public: - MyConnection(char *buf, int size); + MyConnection(); ~MyConnection(); - bool OnExecute(const wxString& topic, char *data, int size, wxIPCFormat format); - char *OnRequest(const wxString& topic, const wxString& item, int *size, wxIPCFormat format); - bool OnPoke(const wxString& topic, const wxString& item, char *data, int size, wxIPCFormat format); + bool OnExecute(const wxString& topic, wxChar *data, int size, wxIPCFormat format); + wxChar *OnRequest(const wxString& topic, const wxString& item, int *size, wxIPCFormat format); + bool OnPoke(const wxString& topic, const wxString& item, wxChar *data, int size, wxIPCFormat format); bool OnStartAdvise(const wxString& topic, const wxString& item); -private: IPCDialogBox *dialog; }; @@ -68,10 +67,10 @@ public: const wxPoint& pos, const wxSize& size, MyConnection *the_connection); + ~IPCDialogBox( ); void OnQuit(wxCommandEvent& event); -private: MyConnection *m_connection; DECLARE_EVENT_TABLE()