arabica/DOM/Events/EventListener.h

31 lines
461 B
C
Raw Normal View History

2002-06-21 13:16:28 +02:00
#ifndef JEZUK_EVENTS_EVENTLISTENER_H
#define JEZUK_EVENTS_EVENTLISTENER_H
////////////////////////////
// C++ DOM definition
//
// $Id$
////////////////////////////
namespace DOM
{
namespace Events
{
template<class stringT> class Event;
template<class stringT>
class EventListener
{
public:
void handleEvent(Event<stringT>& event) = 0;
protected:
virtual ~EventListener() { }
}; // class EventListener
} // namespace Events
} // namespace DOM
#endif