summaryrefslogtreecommitdiff
path: root/otk/eventhandler.hh
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2003-01-09 22:54:31 +0000
committerDana Jansens <danakj@orodu.net>2003-01-09 22:54:31 +0000
commit345d957e1ea577480f807b892b73c3f52fe913d2 (patch)
tree489dd8d159f22bbc3828ad094ced5288eb582628 /otk/eventhandler.hh
parentb1739374a61d0c33270bafe84da9d787e79c0686 (diff)
new python callbacks data, infrastructure. going to rework bindings code. cvs wont work for shit now. but thats life.
Diffstat (limited to 'otk/eventhandler.hh')
-rw-r--r--otk/eventhandler.hh12
1 files changed, 11 insertions, 1 deletions
diff --git a/otk/eventhandler.hh b/otk/eventhandler.hh
index 9308ed03..96bdff94 100644
--- a/otk/eventhandler.hh
+++ b/otk/eventhandler.hh
@@ -7,6 +7,11 @@ extern "C" {
#ifdef SHAPE
#include <X11/extensions/shape.h>
#endif // SHAPE
+
+#ifdef XKB
+#include <X11/XKBlib.h>
+#endif // XKB
+
}
namespace otk {
@@ -120,10 +125,15 @@ public:
virtual void clientMessageHandler(const XClientMessageEvent &);
#if defined(SHAPE) || defined(DOXYGEN_IGNORE)
- //! Called when a shape extention event fires
+ //! Called when a shape extension event fires
virtual void shapeHandler(const XShapeEvent &) {}
#endif // SHAPE
+#if defined(XKB) || defined(DOXYGEN_IGNORE)
+ //! Called when an xkb extension event fires
+ virtual void xkbHandler(const XkbEvent &) {}
+#endif // XKB
+
virtual ~OtkEventHandler();
protected: