#ifndef __OOL_XDRAGHANDLER_H__
#define __OOL_XDRAGHANDLER_H__

/*===========================================================================*/
/* OOL ------------------- the Open Object Library ------ OS/2 version 0.01a */
/*===========================================================================*/
/*                              class: XDragHandler                          */
/*                       derived from: XHandler                              */
/*                        last update: 4/96                                  */
/*                      programmed by: Stefan von Brauk                      */
/*===========================================================================*/

#include "xhandler.h"


class XDragEvent;
/*DOC
CLASS XDragHandler
To catch drag-events you need to derive a class from XDragHandler
and override the method HandleEvent where you will get the events (XDragEvent).
*/
class _export_ XDragHandler: public XHandler
{
   public:
      XDragHandler( XWindow*w): XHandler( OOL_DRAGHANDLER, w ) { ;}
      virtual void HandleEvent( XDragEvent *);
};


#endif
