mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-06 20:24:33 +00:00
Moved the addSourceDirectory for physics/Bullet into the Engine/Source/CMakeLists.txt file that way it can actually appear where we expect it to in the solution explorer.
31 lines
No EOL
428 B
C++
31 lines
No EOL
428 B
C++
/*
|
|
GWEN
|
|
Copyright (c) 2010 Facepunch Studios
|
|
See license in Gwen.h
|
|
*/
|
|
|
|
#include "Gwen/Hook.h"
|
|
|
|
#ifdef GWEN_HOOKSYSTEM
|
|
|
|
using namespace Gwen;
|
|
using namespace Gwen::Hook;
|
|
|
|
std::list<BaseHook*> g_HookList;
|
|
|
|
void Gwen::Hook::AddHook(BaseHook* pHook)
|
|
{
|
|
g_HookList.push_back(pHook);
|
|
}
|
|
|
|
void Gwen::Hook::RemoveHook(BaseHook* pHook)
|
|
{
|
|
g_HookList.remove(pHook);
|
|
}
|
|
|
|
HookList& Gwen::Hook::GetHookList()
|
|
{
|
|
return g_HookList;
|
|
}
|
|
|
|
#endif |