#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
Fr Jul 30 13:54:24 CEST 2021
patent_button.gif valid-html401.png elektra.jpg fsfe-logo.png valid-css.png vim.gif anybrowser.gif