//===========================================================================// // File: controls.thh // // Project: MUNGA Brick: Controls Module // // Contents: Interface specification for Controls module // //---------------------------------------------------------------------------// // Date Who Modification // // -------- --- -----------------------------------------------------------// // 12/12/94 CPB Initial coding. // //---------------------------------------------------------------------------// // Copyright (C) 1995, Virtual World Entertainment, Inc. All rights reserved // // PROPRIETARY and CONFIDENTIAL // //===========================================================================// #pragma once #include "Adept.hpp" #include "Controls.hpp" namespace Adept { //######################################################################### //########################## TestControlsManager ########################## //######################################################################### class TestControlsManager: public ControlsManager { //########################################################################## // Inheritance support // public: TestControlsManager(); ~TestControlsManager(); void Execute(); }; //######################################################################### //############################# TestReceiver ############################## //######################################################################### //----------------- End of helper stuff ----------------- class TestControlsReceiver: public Receiver { //######################################################################### // Construction and Destruction Support // public: TestControlsReceiver(); ~TestControlsReceiver(); //########################################################################## // Messaging Support // public: enum { KeyboardMessageID=Receiver::NextMessageID, JoystickMessageID, NextMessageID }; void KeyboardMessageHandler(ReceiverDataMessageOf *); void JoystickMessageHandler(ReceiverDataMessageOf > *); protected: static const MessageEntry MessageEntries[]; //########################################################################## // Test Support // public: int keyStroke; Vector2DOf joystickValue; }; }