diff options
| author | Bob Jamison <ishmalius@gmail.com> | 2006-09-05 16:00:09 +0000 |
|---|---|---|
| committer | ishmal <ishmal@users.sourceforge.net> | 2006-09-05 16:00:09 +0000 |
| commit | 1cf78b0381215b4af2f502a5234812e13e12c43f (patch) | |
| tree | f14e09446e478143f9562a331eaa82e7efd6c1f4 /src/dom/lsimpl.h | |
| parent | comments for later (diff) | |
| download | inkscape-1cf78b0381215b4af2f502a5234812e13e12c43f.tar.gz inkscape-1cf78b0381215b4af2f502a5234812e13e12c43f.zip | |
Massive update for smart pointers. Rework js dom binding to be smarter. Placeholder for dom binding, finish later.
(bzr r1692)
Diffstat (limited to 'src/dom/lsimpl.h')
| -rw-r--r-- | src/dom/lsimpl.h | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/src/dom/lsimpl.h b/src/dom/lsimpl.h index ee6360143..0f0088684 100644 --- a/src/dom/lsimpl.h +++ b/src/dom/lsimpl.h @@ -72,23 +72,23 @@ 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); //################## @@ -144,13 +144,13 @@ public: /** * */ - 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; } /** @@ -188,21 +188,21 @@ public: /** * */ - 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); //################## @@ -230,7 +230,7 @@ protected: /** * */ - void writeNode(const Node *nodeArg); + void writeNode(const NodePtr nodeArg); private: |
