]> git.sur5r.net Git - minitube/blob - lib/updater/src/impl/runinstaller.h
New upstream version 3.5
[minitube] / lib / updater / src / impl / runinstaller.h
1 #ifndef UPDATER_IMPL_RUNINSTALLER_H
2 #define UPDATER_IMPL_RUNINSTALLER_H
3
4 #include <QObject>
5
6 #include "installer.h"
7
8 namespace updater {
9
10 /**
11  * Installer implementation that simply runs the downloaded update
12  */
13 class RunInstaller : public Installer {
14     Q_OBJECT
15
16 public:
17     RunInstaller();
18     void setArguments(const QStringList &value) { arguments = value; };
19     void start(const QString &filename);
20
21 private:
22     QStringList arguments;
23 };
24
25 } // namespace updater
26
27 #endif // UPDATER_IMPL_RUNINSTALLER_H