|
From: <cn...@us...> - 2010-04-28 09:21:42
|
Revision: 709
http://hgengine.svn.sourceforge.net/hgengine/?rev=709&view=rev
Author: cnlohr
Date: 2010-04-28 09:21:34 +0000 (Wed, 28 Apr 2010)
Log Message:
-----------
allow access to the base value so we can listen in
Modified Paths:
--------------
Mercury2/src/MercuryValue.h
Modified: Mercury2/src/MercuryValue.h
===================================================================
--- Mercury2/src/MercuryValue.h 2010-04-28 02:26:32 UTC (rev 708)
+++ Mercury2/src/MercuryValue.h 2010-04-28 09:21:34 UTC (rev 709)
@@ -133,6 +133,7 @@
public:
MVRefBase(MValue * m) : mv(m) { MSemaphoreLock( &mv->m_Sema ); mv->m_References++; }
MVRefBase(const MString & sPath); //Special - get values from MESSAGEMAN
+ MValue * Base() { return mv; }
~MVRefBase() {
//If out of references, bail.
mv->m_Sema.Wait();
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|