+// -*- mode: C++; indent-tabs-mode: nil; c-basic-offset: 2; -*-
#ifndef __eventhandler__hh
#define __eventhandler__hh
namespace otk {
-class OtkEventHandler {
+class EventHandler {
public:
//! Dispatches events to one of the other handlers based on their type.
virtual void handle(const XEvent &e);
virtual void xkbHandler(const XkbEvent &) {}
#endif // XKB
- virtual ~OtkEventHandler();
+ virtual ~EventHandler();
protected:
- /*! Constructor for the OtkEventHandler class.
- This is protected so that OtkEventHandlers can't be instantiated on their
+ /*! Constructor for the EventHandler class.
+ This is protected so that EventHandlers can't be instantiated on their
own.
*/
- OtkEventHandler();
+ EventHandler();
private:
};