summaryrefslogtreecommitdiff
path: root/src/SparkleAutoUpdater.h
blob: 786a190bf54bb6af7d377dae8c4042c550bcbe49 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
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
contact: Jan Huwald // Impressum