From: John L. <jr...@us...> - 2005-11-25 18:52:29
|
Update of /cvsroot/wxlua/wxLua/modules/wxluasocket/include In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv15042/wxLua/modules/wxluasocket/include Modified Files: dservice.h dtarget.h Log Message: initialize vars in debugio.cpp add static function in wxLuaHandler to get the global handler, deprecate global function code cleaning Index: dtarget.h =================================================================== RCS file: /cvsroot/wxlua/wxLua/modules/wxluasocket/include/dtarget.h,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** dtarget.h 25 Nov 2005 02:43:02 -0000 1.3 --- dtarget.h 25 Nov 2005 18:52:22 -0000 1.4 *************** *** 34,42 **** { public: ! LuaThread(LuaDebugTarget *pTarget) : ! wxThread(wxTHREAD_JOINABLE) ! { ! m_pTarget = pTarget; ! } bool TestDestroy(); --- 34,39 ---- { public: ! LuaThread(LuaDebugTarget *pTarget) : wxThread(wxTHREAD_JOINABLE), ! m_pTarget(pTarget) {} bool TestDestroy(); *************** *** 58,65 **** BreakPointObject(const wxString &fileName, int lineNumber) ! : m_fileName(fileName), ! m_lineNumber(lineNumber) ! { ! } const wxString &GetFileName() const { return m_fileName; } --- 55,59 ---- BreakPointObject(const wxString &fileName, int lineNumber) ! : m_fileName(fileName), m_lineNumber(lineNumber) {} const wxString &GetFileName() const { return m_fileName; } Index: dservice.h =================================================================== RCS file: /cvsroot/wxlua/wxLua/modules/wxluasocket/include/dservice.h,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** dservice.h 25 Nov 2005 02:43:02 -0000 1.2 --- dservice.h 25 Nov 2005 18:52:22 -0000 1.3 *************** *** 57,74 **** { public: ! wxLuaDebugSocket(const wxLuaDebugSocket& debugSocket) ! { ! m_Socket = debugSocket.m_Socket; ! } ! ! wxLuaDebugSocket(wxSocketBase* sock) ! { ! m_Socket = sock; ! } ! ! wxLuaDebugSocket() ! { ! m_Socket = NULL; ! } ~wxLuaDebugSocket() --- 57,63 ---- { public: ! wxLuaDebugSocket(const wxLuaDebugSocket& debugSocket) : m_Socket(debugSocket.m_Socket) {} ! wxLuaDebugSocket(wxSocketBase* sock) : m_Socket(sock) {} ! wxLuaDebugSocket() : m_Socket(NULL) {} ~wxLuaDebugSocket() *************** *** 111,123 **** // Read Data ! unsigned char ReadByte(); ! short ReadWord(); ! unsigned short ReadUWord(); ! int ReadInt(); ! unsigned int ReadUInt(); ! long ReadLong(); ! unsigned long ReadULong(); ! wxString ReadString(); ! wxLuaDebugData *ReadDebugData(); // Write Data --- 100,112 ---- // Read Data ! unsigned char ReadByte(); ! short ReadWord(); ! unsigned short ReadUWord(); ! int ReadInt(); ! unsigned int ReadUInt(); ! long ReadLong(); ! unsigned long ReadULong(); ! wxString ReadString(); ! wxLuaDebugData* ReadDebugData(); // Write Data |