home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / wxos2233.zip / wxOS2-2_3_3.zip / wxWindows-2.3.3 / contrib / utils / wxrcedit / xmlhelpr.h < prev   
C/C++ Source or Header  |  2002-09-08  |  1KB  |  32 lines

  1. /////////////////////////////////////////////////////////////////////////////
  2. // Purpose:     XML resources editor
  3. // Author:      Vaclav Slavik
  4. // Created:     2000/05/05
  5. // RCS-ID:      $Id: xmlhelpr.h,v 1.4 2002/09/07 12:15:24 GD Exp $
  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 
  32.