aboutsummaryrefslogtreecommitdiff
path: root/src/plaintextrenderer.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/plaintextrenderer.hpp')
-rw-r--r--src/plaintextrenderer.hpp25
1 files changed, 0 insertions, 25 deletions
diff --git a/src/plaintextrenderer.hpp b/src/plaintextrenderer.hpp
deleted file mode 100644
index cfa2ccb..0000000
--- a/src/plaintextrenderer.hpp
+++ /dev/null
@@ -1,25 +0,0 @@
-#ifndef PLAINTEXTRENDERER_HPP
-#define PLAINTEXTRENDERER_HPP
-
-#include "documentstyle.hpp"
-
-#include <memory>
-#include <QTextDocument>
-
-struct PlainTextRenderer
-{
- PlainTextRenderer() = delete;
-
-
- //! Renders the given byte sequence into a GeminiDocument.
- //! @param input The utf8 encoded input string
- //! @param root_url The url that is used to resolve relative links
- //! @param style The style which is used to render the document
- //! @param outline The extracted outline from the document
- static std::unique_ptr<QTextDocument> render(
- QByteArray const & input,
- DocumentStyle const & style
- );
-};
-
-#endif // PLAINTEXTRENDERER_HPP