diff -r a95db73792e5 -r 377bdd31c28d sourcehook/test/testevents.h --- a/sourcehook/test/testevents.h Fri Dec 23 11:58:11 2005 +0000 +++ b/sourcehook/test/testevents.h Fri Dec 23 23:00:55 2005 +0000 @@ -19,26 +19,24 @@ extern bool g_Verbose; +struct State +{ + virtual ~State() + { + + } + + virtual bool IsEqual(State *other) + { + return (typeid(other) == typeid(this)) ? true : false; + } + + virtual void Dump() = 0; +}; + +typedef std::list StateList; namespace { - - struct State - { - virtual ~State() - { - - } - - virtual bool IsEqual(State *other) - { - return (typeid(other) == typeid(this)) ? true : false; - } - - virtual void Dump() = 0; - }; - - typedef std::list StateList; - void DumpStates(StateList *sl) { for (StateList::iterator iter = sl->begin(); iter != sl->end(); ++iter)