sourcehook/sourcehook_impl.h
changeset 332 030b917a8dcc
parent 328 3a04ef79edf1
child 333 3813f1ac0cfe
     1.1 --- a/sourcehook/sourcehook_impl.h	Sat May 12 09:03:57 2007 +0000
     1.2 +++ b/sourcehook/sourcehook_impl.h	Sat May 12 19:05:16 2007 +0000
     1.3 @@ -170,10 +170,6 @@
     1.4  	the original function. Everything works fine. This works even for VP hooks.
     1.5  */
     1.6  
     1.7 -// See sourcehook.hxx :)
     1.8 -#undef CallClass
     1.9 -#undef ManualCallClass
    1.10 -
    1.11  namespace SourceHook
    1.12  {
    1.13  	/**
    1.14 @@ -555,7 +551,7 @@
    1.15  			void AddHookManager(Plugin plug, const CHookManagerInfo &hookman);
    1.16  		};
    1.17  
    1.18 -		class CCallClassImpl : public GenericCallClass
    1.19 +		class CCallClassImpl : public DeprecatedCallClass<void>
    1.20  		{
    1.21  		public:
    1.22  
    1.23 @@ -721,14 +717,14 @@
    1.24  		*	@param iface The interface pointer
    1.25  		*	@param size Size of the class instance
    1.26  		*/
    1.27 -		GenericCallClass *GetCallClass(void *iface, size_t size);
    1.28 +		DeprecatedCallClass<void> *GetCallClass(void *iface, size_t size);
    1.29  
    1.30  		/**
    1.31  		*	@brief Release a callclass
    1.32  		*
    1.33  		*	@param ptr Pointer to the callclass
    1.34  		*/
    1.35 -		virtual void ReleaseCallClass(GenericCallClass *ptr);
    1.36 +		virtual void ReleaseCallClass(DeprecatedCallClass<void> *ptr);
    1.37  
    1.38  		virtual void SetRes(META_RES res);				//!< Sets the meta result
    1.39  		virtual META_RES GetPrevRes();					//!< Gets the meta result of the previously called handler