Files
SDLPongCPP/.svn/pristine/2c/2cd9621f2ef97f17bbb61788bfada00183c6bb13.svn-base
T
2018-06-25 21:48:45 -04:00

45 lines
734 B
Plaintext

#ifndef _CEVENT_HPP_
#define _CEVENT_HPP_
/*** SDL Header Files ***/
#include <SDL.h>
/*** DLL Header File ***/
#include "dllExport.h"
namespace EventEngine {
/* Singleton */
class EXPORT_FROM_MYDLL cEvent
{
private:
cEvent();
~cEvent();
public:
static cEvent& Inst();
static void Delete();
//Functions
const bool Initialize() const;
const bool Setup();
void CleanUp();
/* Checks for Events */
void CheckEvents();
///Sets
///Gets
/* Gets return true if Event was initialized */
const bool IsInit() const;
private:
SDL_Event m_event;
static cEvent* sp_inst;// = nullptr
};/// END CLASS DEFINITION cEvent
}/// END NAMESPACE DEFINITION EventEngine
#endif/// END IFNDEF _CEVENT_HPP_