[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Usata-commits] Changes to usata2/src/xml/parser.hpp
From: |
David Lau |
Subject: |
[Usata-commits] Changes to usata2/src/xml/parser.hpp |
Date: |
Tue, 22 Feb 2005 13:17:59 -0500 |
Index: usata2/src/xml/parser.hpp
diff -u usata2/src/xml/parser.hpp:1.1 usata2/src/xml/parser.hpp:1.2
--- usata2/src/xml/parser.hpp:1.1 Wed Feb 16 06:30:02 2005
+++ usata2/src/xml/parser.hpp Tue Feb 22 18:17:57 2005
@@ -10,7 +10,7 @@
// included in the software distribution, or visit
// http://www.fsf.org/licenses/gpl.html.
//
-// $Id: parser.hpp,v 1.1 2005/02/16 06:30:02 skunix Exp $
+// $Id: parser.hpp,v 1.2 2005/02/22 18:17:57 skunix Exp $
#include <memory>
@@ -29,9 +29,6 @@
protected:
-/*
- virtual void start()=0;
- virtual void end()=0;*/
virtual void element_start(const char*, const char**)=0;
virtual void element_end(const char*)=0;
virtual void content(const char *, int len);
@@ -43,6 +40,7 @@
bool parse_chunk(const char* buffer, unsigned len, bool
last);
bool parse_chunkb(unsigned len, bool last);
std::string get_error();
+ int get_line();
virtual ~Parser();
};
}