From: <axl...@us...> - 2009-01-01 03:40:51
|
Revision: 131 http://hgengine.svn.sourceforge.net/hgengine/?rev=131&view=rev Author: axlecrusher Date: 2009-01-01 03:40:46 +0000 (Thu, 01 Jan 2009) Log Message: ----------- use MessageHandler as base Modified Paths: -------------- Mercury2/src/MercuryAsset.h Mercury2/src/MercuryNode.h Modified: Mercury2/src/MercuryAsset.h =================================================================== --- Mercury2/src/MercuryAsset.h 2009-01-01 03:38:38 UTC (rev 130) +++ Mercury2/src/MercuryAsset.h 2009-01-01 03:40:46 UTC (rev 131) @@ -3,10 +3,10 @@ #include <MAutoPtr.h> #include <MercuryNode.h> - +#include <MessageHandler.h> #include <map> -class MercuryAsset : public RefBase +class MercuryAsset : public RefBase, MessageHandler { public: MercuryAsset(); Modified: Mercury2/src/MercuryNode.h =================================================================== --- Mercury2/src/MercuryNode.h 2009-01-01 03:38:38 UTC (rev 130) +++ Mercury2/src/MercuryNode.h 2009-01-01 03:40:46 UTC (rev 131) @@ -6,6 +6,7 @@ #include <typeinfo> #include <XMLParser.h> #include <MercuryUtil.h> +#include <MessageHandler.h> /** This is the basic node of the scene graph. It is not intended to be instanced. Each node exists as a single entity in the scene graph. @@ -22,7 +23,7 @@ while(tn) { if (typeid(x) == typeid(*tn)) return true; tn = *n; } \ return false;} */ -class MercuryNode +class MercuryNode : public MessageHandler { public: MercuryNode(); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |