2013-02-05 09:36:25 +04:00
|
|
|
/*
|
|
|
|
* Copyright (C) 2008 Remko Troncon. BSD license
|
|
|
|
* Copyright (C) 2013 Marius Kintel. BSD license
|
|
|
|
*/
|
2014-04-28 21:09:25 +04:00
|
|
|
#pragma once
|
2013-02-05 09:36:25 +04:00
|
|
|
|
|
|
|
#include <QString>
|
|
|
|
|
|
|
|
#include "AutoUpdater.h"
|
|
|
|
|
|
|
|
class SparkleAutoUpdater : public AutoUpdater
|
|
|
|
{
|
2014-11-10 23:01:34 +03:00
|
|
|
Q_OBJECT;
|
2013-02-05 09:36:25 +04:00
|
|
|
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;
|
|
|
|
};
|