diff options
author | Dimitri van Heesch <doxygen@gmail.com> | 2021-03-14 14:47:59 (GMT) |
---|---|---|
committer | Dimitri van Heesch <doxygen@gmail.com> | 2021-03-18 20:57:40 (GMT) |
commit | fa1897b1889f7bf74de68f1ac99cf3be343a7551 (patch) | |
tree | ea14c45937cb6fef237c0fcafbd5b0923abd8f0a /src/emoji.h | |
parent | 0d05e79d67b5b808918541f429b06805207e8bdb (diff) | |
download | Doxygen-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.h | 9 |
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(); |