summaryrefslogtreecommitdiffstats
path: root/src/klamav_run.h
diff options
context:
space:
mode:
authorMavridis Philippe <mavridisf@gmail.com>2021-01-13 19:26:24 +0200
committerMavridis Philippe <mavridisf@gmail.com>2021-01-13 19:26:24 +0200
commit8c20dc919f7d54eb48fb60f39ba5e1d466a70763 (patch)
tree44d89f278d5dd066603e5ab9c0b270bc8eb4ad51 /src/klamav_run.h
downloadklamav-8c20dc919f7d54eb48fb60f39ba5e1d466a70763.tar.gz
klamav-8c20dc919f7d54eb48fb60f39ba5e1d466a70763.zip
Initial commit
Signed-off-by: Mavridis Philippe <mavridisf@gmail.com>
Diffstat (limited to 'src/klamav_run.h')
-rw-r--r--src/klamav_run.h41
1 files changed, 41 insertions, 0 deletions
diff --git a/src/klamav_run.h b/src/klamav_run.h
new file mode 100644
index 0000000..1914508
--- /dev/null
+++ b/src/klamav_run.h
@@ -0,0 +1,41 @@
+/***************************************************************************
+ * Copyright (C) 2004 by Sashmit Bhaduri *
+ * smt@vfemail.net *
+ * *
+ * Licensed under GPL. *
+ ***************************************************************************/
+
+#ifndef KLAMAV_RUN_H
+#define KLAMAV_RUN_H
+
+#include <kparts/browserrun.h>
+
+namespace KlamAV
+{
+
+ class Viewer;
+
+ class BrowserRun : public KParts::BrowserRun
+{
+ Q_OBJECT
+ public:
+ BrowserRun(Viewer *, QWidget *, KParts::ReadOnlyPart *, const KURL & , const KParts::URLArgs &);
+ virtual ~BrowserRun();
+
+ protected:
+ virtual void foundMimeType( const QString & _type );
+
+ private slots:
+ void killMyself();
+
+ private:
+ Viewer *m_viewer;
+
+
+};
+
+}
+
+#endif
+
+// vim: set et ts=4 sts=4 sw=4: