]> git.tdb.fi Git - libs/gui.git/blobdiff - source/input/keyboard.h
Add EventSource abstraction layer below Window
[libs/gui.git] / source / input / keyboard.h
index 1b70fecfbde1211b07c48c1fb78e78ae32c21aa9..944cf4dfef7657fe9536a3a21cb7767f04a01b0d 100644 (file)
@@ -1,7 +1,7 @@
 /* $Id$
 
 This file is part of libmspgbase
-Copyright © 2007 Mikko Rasa, Mikkosoft Productions
+Copyright © 2007-2008, 2010 Mikko Rasa, Mikkosoft Productions
 Distributed under the LGPL
 */
 
@@ -21,10 +21,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: