X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/56d2f75071fc2a29ec10abe97c5a908bb35f30f4..d3d0b8dba702091fb19c83ae0ad9844a9bc4bf47:/contrib/utils/wxrcedit/xmlhelpr.h?ds=sidebyside diff --git a/contrib/utils/wxrcedit/xmlhelpr.h b/contrib/utils/wxrcedit/xmlhelpr.h index 3ec3d934e6..26d19f7635 100644 --- a/contrib/utils/wxrcedit/xmlhelpr.h +++ b/contrib/utils/wxrcedit/xmlhelpr.h @@ -7,7 +7,7 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(__APPLE__) #pragma interface "xmlhelpr.h" #endif @@ -18,6 +18,14 @@ void XmlWriteValue(wxXmlNode *parent, const wxString& name, const wxString& value); wxString XmlReadValue(wxXmlNode *parent, const wxString& name); + +// Finds a subnode of parent named +// (may be recursive, e.g. "name1/name2" means +// value wxXmlNode *XmlFindNode(wxXmlNode *parent, const wxString& name); +wxXmlNode *XmlFindNodeSimple(wxXmlNode *parent, const wxString& path); + +wxString XmlGetClass(wxXmlNode *parent); +void XmlSetClass(wxXmlNode *parent, const wxString& classname); -#endif +#endif