diff -r 2efe13dab607 -r deec66cea8cc sourcehook/test/main.cpp --- a/sourcehook/test/main.cpp Fri Nov 09 21:14:37 2007 +0000 +++ b/sourcehook/test/main.cpp Sat Nov 10 16:10:55 2007 +0000 @@ -13,6 +13,7 @@ #include "sourcehook_impl.h" #include "sourcehook.h" +#include "sourcehook_hookmangen.h" using namespace std; bool g_Verbose; @@ -111,3 +112,14 @@ { static_cast(shptr)->UnpausePlugin(plug); } + +SourceHook::IHookManagerAutoGen *Test_HMAG_Factory(SourceHook::ISourceHook *shptr) +{ + return new SourceHook::Impl::CHookManagerAutoGen(shptr); +} + +void Test_HMAG_Delete(SourceHook::IHookManagerAutoGen *ptr) +{ + delete static_cast(ptr); +} +