QTfrontend/SparkleAutoUpdater.h
author Zorg <zorgiepoo@gmail.com>
Sun, 03 Apr 2011 00:13:38 -0400
changeset 5083 b0b560f561b5
parent 2948 3f21a9dc93d0
child 7933 223b3a195474
permissions -rw-r--r--
Fixed messages complaining about no autorelease pool being set up with objects leaking on the Mac. I simply initialized an autorelease pool in the couple of places that needed it.

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