QTfrontend/SparkleAutoUpdater.h
author unc0rr
Wed, 16 Sep 2009 14:44:40 +0000
changeset 2382 bfd378dfc4e7
parent 2377 f3fab2b09e0c
child 2948 3f21a9dc93d0
permissions -rw-r--r--
Optimize network traffic a bit: - Send keepalive packets every second - Don't send keepalive packet if there was action packet within a second Time between turns in net game is reduced to 1 second now (was 2 seconds)

/*
 * Copyright (C) 2008 Remko Troncon
 */

#ifndef SPARKLEAUTOUPDATER_H
#define SPARKLEAUTOUPDATER_H

#include <QString>

#include "AutoUpdater.h"

class SparkleAutoUpdater : public AutoUpdater
{
	public:
		SparkleAutoUpdater(const QString& url);
		~SparkleAutoUpdater();

		void checkForUpdates();

	private:
		class Private;
		Private* d;
};

#endif