sourcehook/test/testbail.h
branchsourcemm-1.6.0
changeset 428 40a9d2f61121
parent 370 4dc28ab1c722
child 429 cadecde4b802
     1.1 --- a/sourcehook/test/testbail.h	Thu Oct 04 19:46:28 2007 +0000
     1.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.3 @@ -1,39 +0,0 @@
     1.4 -//////////////////////////////////////////////////////////////////////////
     1.5 -// Shared data for testbail
     1.6 -
     1.7 -#include <string>
     1.8 -#include "testevents.h"
     1.9 -
    1.10 -namespace N_TestBail
    1.11 -{
    1.12 -	extern StateList g_States;
    1.13 -	extern SourceHook::ISourceHook *g_SHPtr;
    1.14 -	
    1.15 -	MAKE_STATE_1(State_EatYams_Called, int);
    1.16 -	MAKE_STATE_1(State_EatYams_Handler1_Called, int);
    1.17 -	MAKE_STATE_1(State_EatYams_Handler2_Called, int);
    1.18 -	MAKE_STATE_1(State_EatYams_Handler3_Called, int);
    1.19 -	MAKE_STATE_1(State_EatYams_Return, int);
    1.20 -
    1.21 -	class IGaben
    1.22 -	{
    1.23 -	public:
    1.24 -		virtual int EatYams(int a)
    1.25 -		{
    1.26 -			ADD_STATE(State_EatYams_Called(a));
    1.27 -			return 5;
    1.28 -		}
    1.29 -	};
    1.30 -
    1.31 -	extern IGaben *g_Gabgab;
    1.32 -
    1.33 -	bool TestBail2(std::string &error);
    1.34 -}
    1.35 -
    1.36 -using namespace N_TestBail;
    1.37 -
    1.38 -namespace
    1.39 -{
    1.40 -	SourceHook::Plugin g_PLID;
    1.41 -	SH_DECL_HOOK1(IGaben, EatYams, SH_NOATTRIB, 0, int, int);
    1.42 -}