]>
git.saurik.com Git - wxWidgets.git/blob - contrib/utils/wxrcedit/xmlhelpr.h
1 /////////////////////////////////////////////////////////////////////////////
2 // Purpose: XML resources editor
3 // Author: Vaclav Slavik
6 // Copyright: (c) 2000 Vaclav Slavik
7 // Licence: wxWindows licence
8 /////////////////////////////////////////////////////////////////////////////
11 #pragma interface "xmlhelpr.h"
17 // some helper functions:
19 void XmlWriteValue(wxXmlNode
*parent
, const wxString
& name
, const wxString
& value
);
20 wxString
XmlReadValue(wxXmlNode
*parent
, const wxString
& name
);
22 // Finds a subnode of parent named <name>
23 // (may be recursive, e.g. "name1/name2" means
24 // <parent><name1><name2>value</name2></name1></parent>
25 wxXmlNode
*XmlFindNode(wxXmlNode
*parent
, const wxString
& name
);
26 wxXmlNode
*XmlFindNodeSimple(wxXmlNode
*parent
, const wxString
& path
);
28 wxString
XmlGetClass(wxXmlNode
*parent
);
29 void XmlSetClass(wxXmlNode
*parent
, const wxString
& classname
);