From: Markus R. <rol...@us...> - 2006-01-08 14:07:23
|
Update of /cvsroot/simspark/simspark/spark/plugin/inputsdl In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv19692 Modified Files: inputsystemsdl.cpp inputsystemsdl.h Log Message: - changed AddInput and AddInputInternal to take a const reference to an Input Struct Index: inputsystemsdl.h =================================================================== RCS file: /cvsroot/simspark/simspark/spark/plugin/inputsdl/inputsystemsdl.h,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** inputsystemsdl.h 25 Dec 2005 18:32:27 -0000 1.2 --- inputsystemsdl.h 8 Jan 2006 14:07:00 -0000 1.3 *************** *** 54,58 **** //! add the input to the queue ! virtual void AddInput(kerosin::Input::Input& input); //! retrieve an input from the queue virtual bool GetInput(kerosin::Input::Input& input); --- 54,58 ---- //! add the input to the queue ! virtual void AddInput(const kerosin::Input::Input& input); //! retrieve an input from the queue virtual bool GetInput(kerosin::Input::Input& input); Index: inputsystemsdl.cpp =================================================================== RCS file: /cvsroot/simspark/simspark/spark/plugin/inputsdl/inputsystemsdl.cpp,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** inputsystemsdl.cpp 25 Dec 2005 18:32:27 -0000 1.2 --- inputsystemsdl.cpp 8 Jan 2006 14:06:59 -0000 1.3 *************** *** 165,169 **** } ! void InputSystemSDL::AddInput(Input &input) { SDL_LockMutex(mMutex); --- 165,169 ---- } ! void InputSystemSDL::AddInput(const Input &input) { SDL_LockMutex(mMutex); |