mirror of
https://github.com/jezhiggins/arabica
synced 2025-01-02 06:20:38 +01:00
31 lines
No EOL
461 B
C++
31 lines
No EOL
461 B
C++
#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 |