From: Tom H. <tom...@us...> - 2004-07-08 02:52:42
|
Update of /cvsroot/rccparser/rcclient/src In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv17459/src Modified Files: rcclient.hpp rcctest.cpp Log Message: 2003-01-10 Tom Howard <tom...@us...> * ./configure.ac Released rcclient-0.0.1 Index: rcclient.hpp =================================================================== RCS file: /cvsroot/rccparser/rcclient/src/rcclient.hpp,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** rcclient.hpp 8 Jul 2004 02:16:46 -0000 1.1 --- rcclient.hpp 8 Jul 2004 02:52:33 -0000 1.2 *************** *** 89,92 **** --- 89,93 ---- operator()() { + onStart(); while( input().good() ) { *************** *** 122,125 **** --- 123,130 ---- { return *m_coutput; } + virtual + void + onStart() {} + std::istream* m_input; std::ostream* m_output; Index: rcctest.cpp =================================================================== RCS file: /cvsroot/rccparser/rcclient/src/rcctest.cpp,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** rcctest.cpp 8 Jul 2004 02:16:46 -0000 1.3 --- rcctest.cpp 8 Jul 2004 02:52:33 -0000 1.4 *************** *** 29,32 **** --- 29,36 ---- {} + virtual + ~TestClient() + {} + private: virtual *************** *** 67,70 **** --- 71,81 ---- move( -20, -20 ); } + + virtual + void + onStart() + { + init( "test", 8 ); + } }; *************** *** 76,80 **** TestClient player; rcc::UDPPlayer udpplayer( player, addr ); - udpplayer.serializer().init( "test", 8 ); udpplayer(); } --- 87,90 ---- |