mirror of
https://gitlab.com/Mr_Goldberg/goldberg_emulator.git
synced 2024-11-27 14:08:39 +01:00
db2a803cf7
NO_OVERLAY define becomes EMU_OVERLAY which enables the overlay instead of disabling it. disable_overlay.txt moved to steam_settings.
29 lines
No EOL
445 B
C++
29 lines
No EOL
445 B
C++
#ifndef __INCLUDED_HOOK_BASE_H__
|
|
#define __INCLUDED_HOOK_BASE_H__
|
|
|
|
#include "Base_Hook.h"
|
|
|
|
#ifdef EMU_OVERLAY
|
|
|
|
#include <set>
|
|
|
|
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__
|