QTfrontend/SparkleAutoUpdater.h
author unc0rr
Mon, 03 Dec 2012 23:54:12 +0400
changeset 8206 1633a6510834
parent 7933 223b3a195474
permissions -rw-r--r--
Create hedgewars.ini if not exists manually, as QSettings uses QTemporaryFile for that, and QTemporaryFile doesn't respect custom file engines.

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

#ifndef SPARKLEAUTOUPDATER_H
#define SPARKLEAUTOUPDATER_H

#include <QString>

#include "AutoUpdater.h"

class SparkleAutoUpdater : public AutoUpdater
{
    public:
        SparkleAutoUpdater();
        ~SparkleAutoUpdater();

        void checkForUpdates();
        void checkForUpdatesNow();

    private:
        class Private;
        Private* d;
};

#endif