blob: b8c850f086f92e381e10df9deadf0556398b3817 [file] [log] [blame]
Alexander Afanasyev14b09482013-10-11 18:24:45 +02001/* -*- Mode: objc; c-file-style: "gnu"; indent-tabs-mode:nil -*- */
Alexander Afanasyevb6392e32014-05-12 23:43:50 -07002/**
3 * Copyright (c) 2013-2014, Regents of the University of California,
Alexander Afanasyev749f0652013-09-22 13:03:21 -07004 *
Alexander Afanasyevb6392e32014-05-12 23:43:50 -07005 * This file is part of NFD Control Center. See AUTHORS.md for complete list of NFD
6 * authors and contributors.
7 *
8 * NFD Control Center is free software: you can redistribute it and/or modify it under the
9 * terms of the GNU General Public License as published by the Free Software Foundation,
10 * either version 3 of the License, or (at your option) any later version.
11 *
12 * NFD Control Center is distributed in the hope that it will be useful, but WITHOUT ANY
13 * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
14 * PARTICULAR PURPOSE. See the GNU General Public License for more details.
15 *
16 * You should have received a copy of the GNU General Public License along with NFD
17 * Control Center, e.g., in COPYING.md file. If not, see <http://www.gnu.org/licenses/>.
18 *
19 * \author Alexander Afanasyev <http://lasr.cs.ucla.edu/afanasyev/index.html>
20 * \author Ilya Moiseenko <http://ilyamoiseenko.com/>
Alexander Afanasyev749f0652013-09-22 13:03:21 -070021 */
22
23#ifndef SPARKLE_AUTO_UPDATE_H
24#define SPARKLE_AUTO_UPDATE_H
25
26/**
27 * @brief Class implementing interface for automatic updates for OSX using Sparkle framework
28 */
29class SparkleAutoUpdate
30{
31public:
32 /**
33 * @brief Constructor
34 * @param updateUrl URL to Sparkle update definition file
35 */
36 SparkleAutoUpdate (const char *updateUrl);
37 ~SparkleAutoUpdate ();
38
39 /**
40 * @brief Check for updates once
41 */
42 void
43 checkForUpdates ();
44
45private:
46 class Private;
47 Private *d;
48};
49
50#endif // SPARKLE_AUTO_UPDATE_H