]> git.sur5r.net Git - minitube/blob - lib/updater/src/sparkle/sparkleupdater.h
0f416a9145af1adf432fa7c6631c198aed077d37
[minitube] / lib / updater / src / sparkle / sparkleupdater.h
1 #ifndef SPARKLE_UPDATER_H
2 #define SPARKLE_UPDATER_H
3
4 #include "updater.h"
5
6 namespace updater {
7
8 class SparkleUpdater : public ::Updater {
9     Q_OBJECT
10
11 public:
12     SparkleUpdater();
13
14     bool getAutomaticDownload() const;
15     void setAutomaticDownload(bool value);
16
17     void checkAndShowUI();
18     void checkAndMaybeShowUI();
19     void checkWithoutUI();
20
21 protected slots:
22     void update();
23 };
24
25 } // namespace updater
26
27 #endif // SPARKLE_UPDATER_H