You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
48 lines
1.3 KiB
48 lines
1.3 KiB
#ifndef __BASICEVENTHANDLER_H_INCL__
|
|
#define __BASICEVENTHANDLER_H_INCL__
|
|
|
|
#include "basicRing.h"
|
|
#include "basicEvent.h"
|
|
/**
|
|
* TODO: Add class description
|
|
*
|
|
* @author Gagua
|
|
*/
|
|
class basicEventHandler {
|
|
public:
|
|
// Constructor
|
|
explicit basicEventHandler( bool atBottom = false );
|
|
// Destructor
|
|
virtual ~basicEventHandler();
|
|
virtual void dispatchEvent( basicEvent *Evt ){};
|
|
// Copy constructor
|
|
// TODO: Uncomment the copy constructor when you need it.
|
|
//basicEventHandler(const basicEventHandler& src);
|
|
|
|
// Assignment operator
|
|
// TODO: Uncomment the assignment operator when you need it.
|
|
//basicEventHandler& operator=(const basicEventHandler& src);
|
|
};
|
|
|
|
// TODO: Uncomment the copy constructor when you need it.
|
|
//inline basicEventHandler::basicEventHandler(const basicEventHandler& src)
|
|
//{
|
|
// // TODO: copy
|
|
//}
|
|
|
|
// TODO: Uncomment the assignment operator when you need it.
|
|
//inline basicEventHandler& basicEventHandler::operator=(const basicEventHandler& rhs)
|
|
//{
|
|
// if (this == &rhs) {
|
|
// return *this;
|
|
// }
|
|
//
|
|
// // TODO: assignment
|
|
//
|
|
// return *this;
|
|
//}
|
|
|
|
typedef basicRingElement< basicEventHandler > EventHandlerIterator;
|
|
typedef basicRing< basicEventHandler > EventHandlerRing;
|
|
|
|
#endif // __BASICEVENTHANDLER_H_INCL__
|