diff -r 40467046ea05 -r 030b917a8dcc sourcehook/sourcehook_impl.h --- a/sourcehook/sourcehook_impl.h Sat May 12 09:03:57 2007 +0000 +++ b/sourcehook/sourcehook_impl.h Sat May 12 19:05:16 2007 +0000 @@ -170,10 +170,6 @@ the original function. Everything works fine. This works even for VP hooks. */ -// See sourcehook.hxx :) -#undef CallClass -#undef ManualCallClass - namespace SourceHook { /** @@ -555,7 +551,7 @@ void AddHookManager(Plugin plug, const CHookManagerInfo &hookman); }; - class CCallClassImpl : public GenericCallClass + class CCallClassImpl : public DeprecatedCallClass { public: @@ -721,14 +717,14 @@ * @param iface The interface pointer * @param size Size of the class instance */ - GenericCallClass *GetCallClass(void *iface, size_t size); + DeprecatedCallClass *GetCallClass(void *iface, size_t size); /** * @brief Release a callclass * * @param ptr Pointer to the callclass */ - virtual void ReleaseCallClass(GenericCallClass *ptr); + virtual void ReleaseCallClass(DeprecatedCallClass *ptr); virtual void SetRes(META_RES res); //!< Sets the meta result virtual META_RES GetPrevRes(); //!< Gets the meta result of the previously called handler