41 lines
830 B
C++
41 lines
830 B
C++
#ifndef _CGUIEVENTHANDLER_HPP_
|
|
#define _CGUIEVENTHANDLER_HPP_
|
|
|
|
/*** C++ STL Files ***/
|
|
#include <vector>
|
|
|
|
/*** Custom Header Files ***/
|
|
#include "../GUIHelpers/Enums.hpp"
|
|
|
|
/*** DLL Header File ***/
|
|
#include "dllExport.h"
|
|
|
|
#include "cGUIEvent.hpp"
|
|
|
|
namespace GUIEventEngine {
|
|
class EXPORT_FROM_MYDLL cGUIEventHandler
|
|
{
|
|
public:
|
|
cGUIEventHandler();
|
|
virtual ~cGUIEventHandler();
|
|
|
|
bool operator == (const cGUIEventHandler& other);
|
|
|
|
/// Functions
|
|
virtual void CheckEvents();
|
|
|
|
void AddEvents( GUIEventEngine::cGUIEvent* event );
|
|
|
|
/// Sets
|
|
|
|
/// Gets
|
|
std::vector<GUIEventEngine::cGUIEvent*>& getEvents();
|
|
|
|
|
|
|
|
private:
|
|
/// Variables
|
|
std::vector<GUIEventEngine::cGUIEvent*> m_events;
|
|
};/// END CLASS DEFINITION cGUIEvent
|
|
}/// END NAMESPACE DEFINITION GUIEventEngine
|
|
#endif/// END IFNDEF _CGUIEVENTHANDLER_HPP_
|