diff --git a/src/dom/xmlreader.h b/src/dom/xmlreader.h
index 16ab883a0ac751e0beb0d7fcd4892e124ba2437d..3f97d87c9c6a4b2a7be2baaa8c786966e3bd127e 100644 (file)
--- a/src/dom/xmlreader.h
+++ b/src/dom/xmlreader.h
* Authors:
* Bob Jamison
*
- * Copyright (C) 2005-2007 Bob Jamison
+ * Copyright (C) 2005-2008 Bob Jamison
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
/**
*
*/
- org::w3c::dom::DocumentPtr parseFile(char *fileName);
+ org::w3c::dom::DocumentPtr parseFile(const DOMString &fileName);
private:
- void error(char *format, ...)
+ void error(const char *format, ...)
#ifdef G_GNUC_PRINTF
G_GNUC_PRINTF(2, 3)
#endif
int get(int ch);
int peek(int ch);
- bool match(int pos, char *str);
+ bool match(int pos, char const *str);
int skipwhite(int ch);
int getWord(int pos, DOMString &result);
int len; //length of parsed region
DOMString parsebuf;
- DOMString loadFile(char *fileName);
+ DOMString loadFile(const DOMString &fileName);
int lineNr;
int colNr;