1
0
Fork 0
mirror of https://gitlab.com/Mr_Goldberg/goldberg_emulator.git synced 2024-11-14 10:50:13 +01:00
goldberg_emulator/overlay_experimental/Hook_Manager.h

27 lines
429 B
C
Raw Normal View History

#ifndef __INCLUDED_HOOK_BASE_H__
#define __INCLUDED_HOOK_BASE_H__
2019-08-14 14:55:31 +02:00
#include "Base_Hook.h"
#ifdef EMU_OVERLAY
2019-08-14 14:55:31 +02:00
class Hook_Manager
{
friend class Base_Hook;
protected:
std::set<Base_Hook*> _hooks;
Hook_Manager();
virtual ~Hook_Manager();
public:
static Hook_Manager& Inst();
void AddHook(Base_Hook* hook);
void RemoveHook(Base_Hook* hook);
};
#endif//EMU_OVERLAY
#endif//__INCLUDED_HOOK_BASE_H__