home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / qt3_emx.zip / examples / xml / tagreader / structureparser.h < prev    next >
C/C++ Source or Header  |  2001-10-11  |  855b  |  31 lines

  1. /****************************************************************************
  2. ** $Id:  qt/structureparser.h   3.0.0   edited Jul 3 16:08 $
  3. **
  4. ** Copyright (C) 1992-2000 Trolltech AS.  All rights reserved.
  5. **
  6. ** This file is part of an example program for Qt.  This example
  7. ** program may be used, distributed and modified without limitation.
  8. **
  9. *****************************************************************************/
  10.  
  11. #ifndef STRUCTUREPARSER_H
  12. #define STRUCTUREPARSER_H   
  13.  
  14. #include <qxml.h>
  15.  
  16. class QString;
  17.  
  18. class StructureParser : public QXmlDefaultHandler
  19. {
  20. public:
  21.     bool startDocument();
  22.     bool startElement( const QString&, const QString&, const QString& , 
  23.                        const QXmlAttributes& );
  24.     bool endElement( const QString&, const QString&, const QString& );
  25.  
  26. private:
  27.     QString indent;
  28. };                   
  29.  
  30. #endif 
  31.