From 1d897f432e54400cb2a0e1499712782b336fd728 Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Sun, 17 Nov 2002 09:41:58 +0000 Subject: add the config header and emacs comment to all the .cc's --- otk/eventhandler.hh | 19 ++++++++++++++++--- 1 file changed, 16 insertions(+), 3 deletions(-) (limited to 'otk/eventhandler.hh') diff --git a/otk/eventhandler.hh b/otk/eventhandler.hh index 05dfac3b..bb4f6d6b 100644 --- a/otk/eventhandler.hh +++ b/otk/eventhandler.hh @@ -3,6 +3,10 @@ extern "C" { #include + +#ifdef SHAPE +#include +#endif // SHAPE } namespace otk { @@ -93,9 +97,6 @@ public: //! Called when the colormap changes, or is installed or unistalled virtual void colorMapHandler(const XColormapEvent &) {} - //! Called when a client calls XSendEvent - virtual void clientMessageHandler(const XClientMessageEvent &) {} - //! Called when a property of a window changes virtual void propertyHandler(const XPropertyEvent &) {} @@ -108,6 +109,18 @@ public: //! Called when a SelectionEvent occurs virtual void selectionRequestHandler(const XSelectionRequestEvent &) {} + //! Called when a client calls XSendEvent + /*! + Some types of client messages are filtered out and sent to more specific + event handler functions. + */ + virtual void clientMessageHandler(const XClientMessageEvent &); + +#if defined(SHAPE) || defined(DOXYGEN_IGNORE) + //! Called when a shape extention event fires + virtual void shapeHandler(const XShapeEvent &) {}; +#endif // SHAPE + virtual ~OtkEventHandler(); protected: -- cgit v1.2.3