|
From: <cn...@us...> - 2009-06-30 01:22:26
|
Revision: 391
http://hgengine.svn.sourceforge.net/hgengine/?rev=391&view=rev
Author: cnlohr
Date: 2009-06-30 01:22:24 +0000 (Tue, 30 Jun 2009)
Log Message:
-----------
add extra access to get to XML directly
Modified Paths:
--------------
Mercury2/src/MercuryPrefs.cpp
Mercury2/src/MercuryPrefs.h
Modified: Mercury2/src/MercuryPrefs.cpp
===================================================================
--- Mercury2/src/MercuryPrefs.cpp 2009-06-30 01:15:53 UTC (rev 390)
+++ Mercury2/src/MercuryPrefs.cpp 2009-06-30 01:22:24 UTC (rev 391)
@@ -24,6 +24,11 @@
return m_PrefsDoc->GetRootNode().GetValue( sDataPointer, sReturn );
}
+XMLNode MercuryPreferences::GetRootXML()
+{
+ return m_PrefsDoc->GetRootNode();
+}
+
/****************************************************************************
* Copyright (C) 2009 by Charles Lohr *
* *
Modified: Mercury2/src/MercuryPrefs.h
===================================================================
--- Mercury2/src/MercuryPrefs.h 2009-06-30 01:15:53 UTC (rev 390)
+++ Mercury2/src/MercuryPrefs.h 2009-06-30 01:22:24 UTC (rev 391)
@@ -16,6 +16,8 @@
virtual bool GetValue( const MString & sDataPointer, MString & sReturn );
static MercuryPreferences & GetInstance();
+
+ XMLNode GetRootXML();
private:
XMLDocument * m_PrefsDoc;
};
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|