aboutsummaryrefslogtreecommitdiff
path: root/src/gophermaprenderer.hpp
diff options
context:
space:
mode:
authorFelix (xq) Queißner <git@mq32.de>2020-06-22 21:10:04 +0200
committerFelix (xq) Queißner <git@mq32.de>2020-06-22 21:10:04 +0200
commit75ec461eeaa851cb5c53f4cfffc434e3e529ed1d (patch)
tree3944737340718ca3675381aa06636045d397e780 /src/gophermaprenderer.hpp
parent8dbfb0890560fd1cd698d06fa05ac868c4db8576 (diff)
downloadkristall-75ec461eeaa851cb5c53f4cfffc434e3e529ed1d.tar.gz
Restructures the project source and cleans up a bit
Diffstat (limited to 'src/gophermaprenderer.hpp')
-rw-r--r--src/gophermaprenderer.hpp26
1 files changed, 0 insertions, 26 deletions
diff --git a/src/gophermaprenderer.hpp b/src/gophermaprenderer.hpp
deleted file mode 100644
index 3835cec..0000000
--- a/src/gophermaprenderer.hpp
+++ /dev/null
@@ -1,26 +0,0 @@
-#ifndef GOPHERMAPRENDERER_HPP
-#define GOPHERMAPRENDERER_HPP
-
-#include "documentstyle.hpp"
-
-#include <memory>
-#include <QTextDocument>
-
-struct GophermapRenderer
-{
- GophermapRenderer() = 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,
- QUrl const & root_url,
- DocumentStyle const & style
- );
-};
-
-#endif // GOPHERMAPRENDERER_HPP