summaryrefslogtreecommitdiff
path: root/Build/source/texk/dvisvgm/dvisvgm-src/src/MapLine.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'Build/source/texk/dvisvgm/dvisvgm-src/src/MapLine.hpp')
-rw-r--r--Build/source/texk/dvisvgm/dvisvgm-src/src/MapLine.hpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/Build/source/texk/dvisvgm/dvisvgm-src/src/MapLine.hpp b/Build/source/texk/dvisvgm/dvisvgm-src/src/MapLine.hpp
index 9dcb568792a..04b209db8bf 100644
--- a/Build/source/texk/dvisvgm/dvisvgm-src/src/MapLine.hpp
+++ b/Build/source/texk/dvisvgm/dvisvgm-src/src/MapLine.hpp
@@ -22,6 +22,7 @@
#define MAPLINE_HPP
#include <istream>
+#include <sstream>
#include <string>
#include "MessageException.hpp"
@@ -40,6 +41,7 @@ class MapLine
{
public:
MapLine (std::istream &is);
+ MapLine (std::string str);
const std::string& texname () const {return _texname;}
const std::string& psname () const {return _psname;}
const std::string& fontfname () const {return _fontfname;}
@@ -51,6 +53,7 @@ class MapLine
SubfontDefinition* sfd () const {return _sfd;}
protected:
+ explicit MapLine ();
void init ();
bool isDVIPSFormat (const char *line) const;
void parse (const char *line);