summaryrefslogtreecommitdiffstats
path: root/src/emoji.h
diff options
context:
space:
mode:
authorDimitri van Heesch <doxygen@gmail.com>2021-03-14 14:47:59 (GMT)
committerDimitri van Heesch <doxygen@gmail.com>2021-03-18 20:57:40 (GMT)
commitfa1897b1889f7bf74de68f1ac99cf3be343a7551 (patch)
treeea14c45937cb6fef237c0fcafbd5b0923abd8f0a /src/emoji.h
parent0d05e79d67b5b808918541f429b06805207e8bdb (diff)
downloadDoxygen-fa1897b1889f7bf74de68f1ac99cf3be343a7551.zip
Doxygen-fa1897b1889f7bf74de68f1ac99cf3be343a7551.tar.gz
Doxygen-fa1897b1889f7bf74de68f1ac99cf3be343a7551.tar.bz2
Refactoring: replace QFile/FTextStream with fstream/stringstream
Diffstat (limited to 'src/emoji.h')
-rw-r--r--src/emoji.h9
1 files changed, 3 insertions, 6 deletions
diff --git a/src/emoji.h b/src/emoji.h
index b27b761..a0184f6 100644
--- a/src/emoji.h
+++ b/src/emoji.h
@@ -17,10 +17,7 @@
#include <map>
#include <string>
-
-#include <qfile.h>
-
-class FTextStream;
+#include <iostream>
/** @brief Singleton helper class to map emoji entities to other formats */
class EmojiEntityMapper
@@ -30,8 +27,8 @@ class EmojiEntityMapper
static void deleteInstance();
const char *name(int index) const;
const char *unicode(int index) const;
- void writeEmojiFile(QFile &file);
- int symbol2index(const QCString &symName) const;
+ void writeEmojiFile(std::ostream &t);
+ int symbol2index(const std::string &symName) const;
private:
EmojiEntityMapper();