home *** CD-ROM | disk | FTP | other *** search
/ Game.EXE 2002 June / Game.EXE_06_2002.iso / Alawar / Lib / InputForGameExe / InputDevice.cpp < prev    next >
Encoding:
C/C++ Source or Header  |  2002-04-26  |  223 b   |  13 lines

  1. #include "InputDevice.h"
  2. #include "InputManagerPtr.h"
  3.  
  4. InputDevice::InputDevice()
  5. {
  6.     InputManagerPtr()->register_device( this );
  7. }
  8.  
  9. InputDevice::~InputDevice()
  10. {
  11.     InputManagerPtr()->unregister_device( this );
  12. }
  13.