diff --git a/src/dom/lsimpl.h b/src/dom/lsimpl.h
--- a/src/dom/lsimpl.h
+++ b/src/dom/lsimpl.h
* Authors:
* Bob Jamison
*
- * Copyright (C) 2005 Bob Jamison
+ * Copyright (C) 2005-2007 Bob Jamison
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
/**
*
*/
- virtual Document *parse(const LSInput &input)
- throw(dom::DOMException, LSException);
+ virtual DocumentPtr parse(const LSInput &input)
+ throw(dom::DOMException, LSException);
/**
*
*/
- virtual Document *parseURI(const DOMString &uri)
- throw(dom::DOMException, LSException);
+ virtual DocumentPtr parseURI(const DOMString &uri)
+ throw(dom::DOMException, LSException);
/**
*
*/
- virtual Node *parseWithContext(const LSInput &input,
- const Node *contextArg,
- unsigned short action)
- throw(dom::DOMException, LSException);
+ virtual NodePtr parseWithContext(const LSInput &input,
+ const NodePtr contextArg,
+ unsigned short action)
+ throw(dom::DOMException, LSException);
//##################
/**
*
*/
- virtual unsigned short startElement(const Element *elementArg)
+ virtual unsigned short startElement(const ElementPtr elementArg)
{ return 0; }
/**
*
*/
- virtual unsigned short acceptNode(const Node *nodeArg)
+ virtual unsigned short acceptNode(const NodePtr nodeArg)
{ return 0; }
/**
/**
*
*/
- virtual bool write(const Node *nodeArg,
+ virtual bool write(const NodePtr nodeArg,
const LSOutput &destination)
throw (LSException);
/**
*
*/
- virtual bool writeToURI(const Node *nodeArg,
+ virtual bool writeToURI(const NodePtr nodeArg,
const DOMString &uri)
throw(LSException);
/**
*
*/
- virtual DOMString writeToString(const Node *nodeArg)
+ virtual DOMString writeToString(const NodePtr nodeArg)
throw(dom::DOMException, LSException);
//##################
/**
*
*/
- void writeNode(const Node *nodeArg);
+ void writeNode(const NodePtr nodeArg);
private:
void spaces();
- void po(char *fmt, ...);
+ void po(char *fmt, ...)
+ #ifdef G_GNUC_PRINTF
+ G_GNUC_PRINTF(2, 3)
+ #endif
+ ;
void pos(const DOMString &str);