diff options
author | Marius Kintel <marius@kintel.net> | 2013-02-05 05:36:25 (GMT) |
---|---|---|
committer | Marius Kintel <marius@kintel.net> | 2013-02-05 05:36:25 (GMT) |
commit | fa00547507566a646db2baffea114104b1ffd567 (patch) | |
tree | 85d8d3e09c9b4c1f651829042e20b061166ea415 /src/SparkleAutoUpdater.h | |
parent | 03be37d16b585e64de87118053206aaae06e7cf8 (diff) |
First version of automatic updates for Mac
Diffstat (limited to 'src/SparkleAutoUpdater.h')
-rw-r--r-- | src/SparkleAutoUpdater.h | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/src/SparkleAutoUpdater.h b/src/SparkleAutoUpdater.h new file mode 100644 index 0000000..786a190 --- /dev/null +++ b/src/SparkleAutoUpdater.h @@ -0,0 +1,32 @@ +/* + * Copyright (C) 2008 Remko Troncon. BSD license + * Copyright (C) 2013 Marius Kintel. BSD license + */ +#ifndef SPARKLEAUTOUPDATER_H +#define SPARKLEAUTOUPDATER_H + +#include <QString> + +#include "AutoUpdater.h" + +class SparkleAutoUpdater : public AutoUpdater +{ +public: + SparkleAutoUpdater(); + ~SparkleAutoUpdater(); + + void checkForUpdates(); + void setAutomaticallyChecksForUpdates(bool on); + bool automaticallyChecksForUpdates(); + void setEnableSnapshots(bool on); + bool enableSnapshots(); + QString lastUpdateCheckDate(); + +private: + void updateFeed(); + + class Private; + Private *d; +}; + +#endif |