2000-07-25 14:47:21 -04:00
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
|
|
// Purpose: XML resources editor
|
|
|
|
// Author: Vaclav Slavik
|
|
|
|
// Created: 2000/05/05
|
|
|
|
// RCS-ID: $Id$
|
|
|
|
// Copyright: (c) 2000 Vaclav Slavik
|
|
|
|
// Licence: wxWindows licence
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
|
|
|
2002-09-07 08:28:46 -04:00
|
|
|
#if defined(__GNUG__) && !defined(__APPLE__)
|
2000-07-25 14:47:21 -04:00
|
|
|
#pragma interface "xmlhelpr.h"
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef _XMLHELPR_H_
|
|
|
|
#define _XMLHELPR_H_
|
|
|
|
|
|
|
|
// some helper functions:
|
|
|
|
|
|
|
|
void XmlWriteValue(wxXmlNode *parent, const wxString& name, const wxString& value);
|
|
|
|
wxString XmlReadValue(wxXmlNode *parent, const wxString& name);
|
2000-11-04 18:34:33 -05:00
|
|
|
|
|
|
|
// Finds a subnode of parent named <name>
|
|
|
|
// (may be recursive, e.g. "name1/name2" means
|
|
|
|
// <parent><name1><name2>value</name2></name1></parent>
|
2000-07-25 14:47:21 -04:00
|
|
|
wxXmlNode *XmlFindNode(wxXmlNode *parent, const wxString& name);
|
2000-11-04 18:34:33 -05:00
|
|
|
wxXmlNode *XmlFindNodeSimple(wxXmlNode *parent, const wxString& path);
|
|
|
|
|
2000-10-07 17:56:37 -04:00
|
|
|
wxString XmlGetClass(wxXmlNode *parent);
|
|
|
|
void XmlSetClass(wxXmlNode *parent, const wxString& classname);
|
2000-07-25 14:47:21 -04:00
|
|
|
|
|
|
|
#endif
|