summaryrefslogtreecommitdiff
path: root/content/fetchers/about/chart.h
diff options
context:
space:
mode:
authorVincent Sanders <vince@kyllikki.org>2020-10-05 23:01:24 +0100
committerVincent Sanders <vince@kyllikki.org>2020-10-05 23:01:24 +0100
commit06c721c5bb6cd06fc35bd0a36a98415758501df8 (patch)
tree94ff02c0e114fff95717fb7864872161f954ed49 /content/fetchers/about/chart.h
parent32d52bf055dabb33e777a9ffa5ef918c4916adb9 (diff)
downloadnetsurf-06c721c5bb6cd06fc35bd0a36a98415758501df8.tar.gz
netsurf-06c721c5bb6cd06fc35bd0a36a98415758501df8.tar.bz2
add simple chart generator and use it from the imagecache
Diffstat (limited to 'content/fetchers/about/chart.h')
-rw-r--r--content/fetchers/about/chart.h37
1 files changed, 37 insertions, 0 deletions
diff --git a/content/fetchers/about/chart.h b/content/fetchers/about/chart.h
new file mode 100644
index 000000000..4eb7e7898
--- /dev/null
+++ b/content/fetchers/about/chart.h
@@ -0,0 +1,37 @@
+/*
+ * Copyright 2020 Vincent Sanders <vince@netsurf-browser.org>
+ *
+ * This file is part of NetSurf.
+ *
+ * NetSurf is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; version 2 of the License.
+ *
+ * NetSurf is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
+
+/**
+ * \file
+ * about scheme chart handler interface
+ */
+
+#ifndef NETSURF_CONTENT_FETCHERS_ABOUT_CHART_H
+#define NETSURF_CONTENT_FETCHERS_ABOUT_CHART_H
+
+/**
+ * Handler to generate about scheme chart page.
+ *
+ * generates an svg chart
+ *
+ * \param ctx The fetcher context.
+ * \return true if handled false if aborted.
+ */
+bool fetch_about_chart_handler(struct fetch_about_context *ctx);
+
+#endif