blob: 1a19b9c3b806b2c470cbae7d02bf328211ff135e [file] [log] [blame]
Alexander Afanasyev5a95a252013-02-25 12:55:48 -08001/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil -*- */
2/*
3 * Copyright (c) 2013 University of California, Los Angeles
4 *
5 * This program is free software; you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License version 2 as
7 * published by the Free Software Foundation;
8 *
9 * This program is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 * GNU General Public License for more details.
13 *
14 * You should have received a copy of the GNU General Public License
15 * along with this program; if not, write to the Free Software
16 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
17 *
18 * Author: Zhenkai Zhu <zhenkai@cs.ucla.edu>
19 * Alexander Afanasyev <alexander.afanasyev@ucla.edu>
20 */
21
Zhenkai Zhuaca6cb52013-02-24 23:34:03 -080022#ifndef SPARKLE_AUTO_UPDATE_H
23#define SPARKLE_AUTO_UPDATE_H
Alexander Afanasyev5a95a252013-02-25 12:55:48 -080024
Zhenkai Zhuaca6cb52013-02-24 23:34:03 -080025#include "auto-update.h"
26#include <QString>
Alexander Afanasyev5a95a252013-02-25 12:55:48 -080027
Zhenkai Zhuaca6cb52013-02-24 23:34:03 -080028class SparkleAutoUpdate : public AutoUpdate
29{
30public:
31 SparkleAutoUpdate (const QString &url);
Zhenkai Zhubb170d42013-02-25 13:48:59 -080032 virtual ~SparkleAutoUpdate ();
Zhenkai Zhuaca6cb52013-02-24 23:34:03 -080033 virtual void checkForUpdates();
34private:
35 class Private;
36 Private *d;
Alexander Afanasyev5a95a252013-02-25 12:55:48 -080037};
38
Zhenkai Zhuaca6cb52013-02-24 23:34:03 -080039#endif