// -*- mode: C++; tab-width: 4; indent-tabs-mode: t; -*- vim:ts=4:sw=4 // // Copyright (C) 2004-2005 David Lau (skunix) // Chong Kai Xiong (descender) // // This file is part of The Plains of Usata. // // The Plains of Usata is licensed under the GNU General Public // License (GPL) version 2. For details, please see the COPYING file // included in the software distribution, or visit // http://www.fsf.org/licenses/gpl.html. // // $Id: input-system.hpp,v 1.1 2005/01/21 23:02:38 skunix Exp $ #ifndef USATA_INPUT_SYSTEM_HPP #define USATA_INPUT_SYSTEM_HPP #include namespace usata { namespace input { class Event { }; class KeyEvent : public Event { }; class GenericEvent : public Event { }; class MouseEvent : public Event { }; class JoystickEvent : public Event { }; class Driver { std::string m_name; public: Driver(const std::string& name); virtual ~Driver() throw(); virtual void update(); virtual Event* next(); }; } } #endif