summaryrefslogtreecommitdiffstats
path: root/src/htmlentity.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/htmlentity.h')
-rw-r--r--src/htmlentity.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/htmlentity.h b/src/htmlentity.h
index 7d0a822..cbdc0a1 100644
--- a/src/htmlentity.h
+++ b/src/htmlentity.h
@@ -17,10 +17,11 @@
#include <unordered_map>
#include <string>
-#include <iostream>
#include "docparser.h"
+class TextStream;
+
/** @brief Singleton helper class to map html entities to other formats */
class HtmlEntityMapper
{
@@ -36,7 +37,7 @@ class HtmlEntityMapper
const char *man(DocSymbol::SymType symb) const;
const char *rtf(DocSymbol::SymType symb) const;
const DocSymbol::PerlSymb *perl(DocSymbol::SymType symb) const;
- void writeXMLSchema(std::ostream &t);
+ void writeXMLSchema(TextStream &t);
private:
void validate();
HtmlEntityMapper();