]> git.saurik.com Git - wxWidgets.git/blob - contrib/utils/wxrcedit/xmlhelpr.h
Inital fill in background, removed tabs, -1->wxID_ANY, TRUE->true, FALSE->false
[wxWidgets.git] / contrib / utils / wxrcedit / xmlhelpr.h
1 /////////////////////////////////////////////////////////////////////////////
2 // Purpose: XML resources editor
3 // Author: Vaclav Slavik
4 // Created: 2000/05/05
5 // RCS-ID: $Id$
6 // Copyright: (c) 2000 Vaclav Slavik
7 // Licence: wxWindows licence
8 /////////////////////////////////////////////////////////////////////////////
9
10 #if defined(__GNUG__) && !defined(__APPLE__)
11 #pragma interface "xmlhelpr.h"
12 #endif
13
14 #ifndef _XMLHELPR_H_
15 #define _XMLHELPR_H_
16
17 // some helper functions:
18
19 void XmlWriteValue(wxXmlNode *parent, const wxString& name, const wxString& value);
20 wxString XmlReadValue(wxXmlNode *parent, const wxString& name);
21
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);
27
28 wxString XmlGetClass(wxXmlNode *parent);
29 void XmlSetClass(wxXmlNode *parent, const wxString& classname);
30
31 #endif