]> git.saurik.com Git - wxWidgets.git/blame_incremental - contrib/utils/wxrcedit/xmlhelpr.h
Applied patch [ 919791 ] [widgets sample] Update wxListbox selection handling
[wxWidgets.git] / contrib / utils / wxrcedit / xmlhelpr.h
... / ...
CommitLineData
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
19void XmlWriteValue(wxXmlNode *parent, const wxString& name, const wxString& value);
20wxString 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>
25wxXmlNode *XmlFindNode(wxXmlNode *parent, const wxString& name);
26wxXmlNode *XmlFindNodeSimple(wxXmlNode *parent, const wxString& path);
27
28wxString XmlGetClass(wxXmlNode *parent);
29void XmlSetClass(wxXmlNode *parent, const wxString& classname);
30
31#endif