diff options
Diffstat (limited to 'dviware/dvisvgm/src/XMLNode.hpp')
-rw-r--r-- | dviware/dvisvgm/src/XMLNode.hpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/dviware/dvisvgm/src/XMLNode.hpp b/dviware/dvisvgm/src/XMLNode.hpp index b4e5ed6f2b..534ae87bd7 100644 --- a/dviware/dvisvgm/src/XMLNode.hpp +++ b/dviware/dvisvgm/src/XMLNode.hpp @@ -2,7 +2,7 @@ ** XMLNode.hpp ** ** ** ** This file is part of dvisvgm -- a fast DVI to SVG converter ** -** Copyright (C) 2005-2019 Martin Gieseking <martin.gieseking@uos.de> ** +** Copyright (C) 2005-2020 Martin Gieseking <martin.gieseking@uos.de> ** ** ** ** This program is free software; you can redistribute it and/or ** ** modify it under the terms of the GNU General Public License as ** @@ -63,6 +63,8 @@ class XMLNode { XMLNode* prev () const {return _prev;} XMLNode* next () const {return _next.get();} + static bool KEEP_ENCODED_FILES; + protected: XMLNode* insertNext (std::unique_ptr<XMLNode> node); std::unique_ptr<XMLNode> removeNext (); @@ -126,6 +128,7 @@ class XMLElement : public XMLNode { explicit XMLElement (std::string name); XMLElement (const XMLElement &node); XMLElement (XMLElement &&node) noexcept; + ~XMLElement (); std::unique_ptr<XMLNode> clone () const override {return util::make_unique<XMLElement>(*this);} void clear () override; void addAttribute (const std::string &name, const std::string &value); |