1.1 --- a/sourcehook/sourcehook_impl.h Tue Dec 06 09:37:57 2005 +0000
1.2 +++ b/sourcehook/sourcehook_impl.h Sat Dec 10 22:37:53 2005 +0000
1.3 @@ -241,6 +241,8 @@
1.4
1.5 void SetPluginPaused(Plugin plug, bool paused);
1.6
1.7 + bool ProtosEquiv(const char *p1, const char *p2);
1.8 +
1.9 HookLoopInfoStack m_HLIStack;
1.10 public:
1.11 CSourceHookImpl();
1.12 @@ -357,6 +359,14 @@
1.13 void SetOrigRetPtr(const void *ptr); //!< Sets the original return pointer
1.14 void SetOverrideRetPtr(const void *ptr); //!< Sets the override result pointer
1.15 bool ShouldContinue(); //!< Returns false if the hook loop should exit
1.16 +
1.17 + /**
1.18 + * @brief Remove a hook manager. Auto-removes all hooks attached to it from plugin plug.
1.19 + *
1.20 + * @param plug The owner of the hook manager
1.21 + * @param pubFunc The hook manager's info function
1.22 + */
1.23 + virtual void RemoveHookManager(Plugin plug, HookManagerPubFunc pubFunc);
1.24 };
1.25 }
1.26