00001 #ifndef __wxMsg 00002 #define __wxMsg 00003 00004 #include <wx/wx.h> 00005 #include <wx/socket.h> 00006 #include "../trucknet/msg.h" 00007 #include "../trucknet/trucknet.h" 00008 00020 class wxMsg : public msg { 00021 public: 00022 void setsock(wxSocketClient *s); 00023 void setconsole(wxTextCtrl *c); 00024 int send(void); 00025 int recv(void); 00026 00027 private: 00028 wxSocketClient *sock; 00029 wxTextCtrl *console; 00030 }; 00031 00032 #endif//__wxMsg 00033
1.4.4