//===========================================================================// // File: PCMouse.hh // // Project: MUNGA Brick: Platform-specific IO // // Contents: PC mouse interface class // //---------------------------------------------------------------------------// // Date Who Modification // // -------- --- -----------------------------------------------------------// // 01/30/95 CPB Initial coding. // //---------------------------------------------------------------------------// // Copyright (C) 1995, Virtual World Entertainment, Inc. All rights reserved // // PROPRIETARY and CONFIDENTIAL // //===========================================================================// #if !defined(L4MOUSE_HPP) #define L4MOUSE_HPP #if !defined(STYLE_HPP) #include #endif class Mouse SIGNATURED { public: Mouse(); ~Mouse() {} void ReadCounters(int *xp, int *yp); int ButtonPressed(int buttonNum); int ButtonReleased(int buttonNum); Logical TestInstance() const; int ButtonCount; // number of buttons on mouse int Errors; // non-zero if bad things happened }; #endif