From: John L. <jr...@us...> - 2006-09-07 04:20:57
|
Update of /cvsroot/wxlua/wxLua/modules/wxluasocket/include In directory sc8-pr-cvs9.sourceforge.net:/tmp/cvs-serv22903/wxLua/modules/wxluasocket/include Modified Files: wxlhandl.h wxlsock.h Log Message: cleanup and formatting in the wxlua editor.wx.lua move SetStackDialog to the wxLuaHandler so it can be used by other programs more easily start work on using the socket code in the wxluaeditor formatting in wxldserv.cpp Index: wxlhandl.h =================================================================== RCS file: /cvsroot/wxlua/wxLua/modules/wxluasocket/include/wxlhandl.h,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** wxlhandl.h 6 Sep 2006 05:33:08 -0000 1.7 --- wxlhandl.h 7 Sep 2006 04:20:54 -0000 1.8 *************** *** 35,39 **** virtual bool ProcessEvent(wxEvent& event) = 0; virtual void DisplayError(const wxString &strError) const = 0; ! virtual void SetStackDialog(wxLuaStackDialog *pStackDialog) = 0; void EnterLuaCriticalSection() { m_luaCriticalSection.Enter(); } --- 35,41 ---- virtual bool ProcessEvent(wxEvent& event) = 0; virtual void DisplayError(const wxString &strError) const = 0; ! ! void SetStackDialog(wxLuaStackDialog *stackDialog) { m_stackDialog = stackDialog; } ! wxLuaStackDialog* GetStackDialog() { return m_stackDialog; } void EnterLuaCriticalSection() { m_luaCriticalSection.Enter(); } *************** *** 45,48 **** --- 47,52 ---- protected: + wxLuaStackDialog *m_stackDialog; + static wxLuaHandler* sm_luaHandler; wxCriticalSection m_luaCriticalSection; Index: wxlsock.h =================================================================== RCS file: /cvsroot/wxlua/wxLua/modules/wxluasocket/include/wxlsock.h,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -d -r1.8 -r1.9 *** wxlsock.h 6 Sep 2006 22:23:20 -0000 1.8 --- wxlsock.h 7 Sep 2006 04:20:54 -0000 1.9 *************** *** 101,105 **** { public: - // Accepted socket constructor wxLuaAcceptedSocket(socket_type socket, sockaddr_in address) : m_sock(socket), m_addr(address) {} --- 101,104 ---- |