35 lines
532 B
C++
35 lines
532 B
C++
#pragma once
|
|
#include <SiaCommon.h>
|
|
|
|
NS_BEGIN(Sia)
|
|
NS_BEGIN(Api)
|
|
|
|
class AFX_EXT_CLASS CEvent
|
|
{
|
|
|
|
};
|
|
|
|
// Singleton
|
|
class AFX_EXT_CLASS CEventSystem
|
|
{
|
|
private:
|
|
CEventSystem();
|
|
|
|
private:
|
|
~CEventSystem();
|
|
|
|
public:
|
|
// Singleton setup
|
|
CEventSystem(const CEventSystem&) = delete;
|
|
CEventSystem(CEventSystem&&) = delete;
|
|
CEventSystem& operator=(CEventSystem&&) = delete;
|
|
CEventSystem& operator=(const CEventSystem&) = delete;
|
|
|
|
public:
|
|
static CEventSystem EventSystem;
|
|
|
|
public:
|
|
void NotifyEvent(const CEvent& eventData);
|
|
};
|
|
NS_END(2)
|