1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-01-10 15:39:02 +00:00
OpenMW/apps/openmw/mwinput/inputmanager.hpp
2010-07-17 19:58:15 +02:00

45 lines
769 B
C++

#ifndef _MWINPUT_MWINPUTMANAGER_H
#define _MWINPUT_MWINPUTMANAGER_H
namespace OEngine
{
namespace Render
{
class OgreRenderer;
}
}
namespace MWRender
{
class PlayerPos;
}
namespace MWGui
{
class WindowManager;
}
namespace MWInput
{
// Forward declaration of the real implementation.
class InputImpl;
/* Class that handles all input and key bindings for OpenMW.
This class is just an interface. All the messy details are in
inputmanager.cpp.
*/
struct MWInputManager
{
InputImpl *impl;
public:
MWInputManager(OEngine::Render::OgreRenderer &_ogre,
MWRender::PlayerPos &_player,
MWGui::WindowManager &_windows,
bool debug);
~MWInputManager();
};
}
#endif