]> git.sur5r.net Git - minitube/blobdiff - lib/updater/src/impl/openinstaller.h
New upstream version 3.8
[minitube] / lib / updater / src / impl / openinstaller.h
diff --git a/lib/updater/src/impl/openinstaller.h b/lib/updater/src/impl/openinstaller.h
new file mode 100644 (file)
index 0000000..1324f34
--- /dev/null
@@ -0,0 +1,20 @@
+#ifndef OPENINSTALLER_H
+#define OPENINSTALLER_H
+
+#include <QtCore>
+
+#include "installer.h"
+
+namespace updater {
+
+/// Installer implementation that opens the downloaded update
+class OpenInstaller : public Installer {
+    Q_OBJECT
+
+public:
+    OpenInstaller();
+    void start(const QString &filename);
+};
+
+} // namespace updater
+#endif // OPENINSTALLER_H