#ifndef EVENTHANDLER_H
#define EVENTHANDLER_H

#include 
#include 

class EventException
{};

class SignalHandlerException
{};

/**Eventhandler for Hook Method [Pree].
 *
 * Is a interface with a pure virtual function to handle a
 * request (here it will be triggered by signals.
 *
 * @pattern HookMethod decouples from registration logic
 *
 * [Pree]  Wolfgang Pree, Design Patterns for Object-Oriented
 * 	Software Development, Addison-Wesley, Reading, MA, 1994.
 * */
class EventHandler
{
public:
	virtual void handle (int) = 0;
};

#endif
Archiviert am 14.02.2026
valid-html401.png patent_button.gif anybrowser.gif permaplant.png vim.gif elektra.jpg fsfe-logo.png valid-css.png