X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Finput%2Fkeyboard.h;h=3e5b6b84131f8339364c69cd5199d3d5200cec01;hb=33420ec807b0d06adff29cbd3a49e208f11d9f43;hp=1b70fecfbde1211b07c48c1fb78e78ae32c21aa9;hpb=7a4a508629d370c4a79791c7e62fd6f59e8564e9;p=libs%2Fgui.git diff --git a/source/input/keyboard.h b/source/input/keyboard.h index 1b70fec..3e5b6b8 100644 --- a/source/input/keyboard.h +++ b/source/input/keyboard.h @@ -1,15 +1,8 @@ -/* $Id$ - -This file is part of libmspgbase -Copyright © 2007 Mikko Rasa, Mikkosoft Productions -Distributed under the LGPL -*/ - -#ifndef MSP_GBASE_KEYBOARD_H_ -#define MSP_GBASE_KEYBOARD_H_ +#ifndef MSP_INPUT_KEYBOARD_H_ +#define MSP_INPUT_KEYBOARD_H_ +#include #include "device.h" -#include "../gbase/window.h" namespace Msp { namespace Input { @@ -21,10 +14,10 @@ are translated to platform-independent values. See keys.h for a list. class Keyboard: public Device { private: - Graphics::Window &window; + Graphics::EventSource &source; public: - Keyboard(Graphics::Window &); + Keyboard(Graphics::EventSource &); virtual std::string get_button_name(unsigned) const; private: