]> git.saurik.com Git - wxWidgets.git/blame - contrib/utils/wxrcedit/xmlhelpr.h
Applied patch [ 843965 ] RC/WXRC/XML related contribs and utils cleaning
[wxWidgets.git] / contrib / utils / wxrcedit / xmlhelpr.h
CommitLineData
56d2f750
VS
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
ab7ce33c 10#if defined(__GNUG__) && !defined(__APPLE__)
56d2f750
VS
11 #pragma interface "xmlhelpr.h"
12#endif
13
14#ifndef _XMLHELPR_H_
15#define _XMLHELPR_H_
16
17// some helper functions:
18
19void XmlWriteValue(wxXmlNode *parent, const wxString& name, const wxString& value);
20wxString XmlReadValue(wxXmlNode *parent, const wxString& name);
12d9e308
VS
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>
56d2f750 25wxXmlNode *XmlFindNode(wxXmlNode *parent, const wxString& name);
12d9e308
VS
26wxXmlNode *XmlFindNodeSimple(wxXmlNode *parent, const wxString& path);
27
e066e256
VS
28wxString XmlGetClass(wxXmlNode *parent);
29void XmlSetClass(wxXmlNode *parent, const wxString& classname);
56d2f750
VS
30
31#endif