QTfrontend/SparkleAutoUpdater.h
author unc0rr
Fri, 24 Aug 2012 14:51:12 +0400
changeset 7593 b966e2d833f2
parent 2948 3f21a9dc93d0
child 7933 223b3a195474
permissions -rw-r--r--
An attempt to run main rope code only every 8th tick: - A big win for inner loop which is O(n^2) and thus it takes 64 times less cpu now. - Look and feel is almost identical (well, to my non-pro view) - Yes, the speed is limited to 7 px per accounting tick which is potentially very bad to collisions - Ruin shoppa

/*
 * 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