blob: 88f8c662900b4db51ade4850b870c24977845d04 [file] [log] [blame]
Alexander Afanasyev749f0652013-09-22 13:03:21 -07001/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil -*- */
2/*
3 * @copyright See LICENCE for copyright and license information.
4 *
5 * @author Zhenkai Zhu <zhenkai@cs.ucla.edu>
6 * @author Alexander Afanasyev <alexander.afanasyev@ucla.edu>
7 */
8
9#ifndef SPARKLE_AUTO_UPDATE_H
10#define SPARKLE_AUTO_UPDATE_H
11
12/**
13 * @brief Class implementing interface for automatic updates for OSX using Sparkle framework
14 */
15class SparkleAutoUpdate
16{
17public:
18 /**
19 * @brief Constructor
20 * @param updateUrl URL to Sparkle update definition file
21 */
22 SparkleAutoUpdate (const char *updateUrl);
23 ~SparkleAutoUpdate ();
24
25 /**
26 * @brief Check for updates once
27 */
28 void
29 checkForUpdates ();
30
31private:
32 class Private;
33 Private *d;
34};
35
36#endif // SPARKLE_AUTO_UPDATE_H