summaryrefslogtreecommitdiff
path: root/tools/kde-dolphin-thumbnailer/resvgthumbnailer.h
diff options
context:
space:
mode:
Diffstat (limited to 'tools/kde-dolphin-thumbnailer/resvgthumbnailer.h')
-rw-r--r--tools/kde-dolphin-thumbnailer/resvgthumbnailer.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/tools/kde-dolphin-thumbnailer/resvgthumbnailer.h b/tools/kde-dolphin-thumbnailer/resvgthumbnailer.h
new file mode 100644
index 0000000..87f2aff
--- /dev/null
+++ b/tools/kde-dolphin-thumbnailer/resvgthumbnailer.h
@@ -0,0 +1,14 @@
+#ifndef RESVG_THUMBNAILER_H
+#define RESVG_THUMBNAILER_H
+
+#include <kio/thumbcreator.h>
+
+class ResvgThumbnailer : public ThumbCreator
+{
+public:
+ ResvgThumbnailer() {}
+ bool create(const QString& path, int width, int height, QImage& img) override;
+ Flags flags() const override;
+};
+
+#endif