Alexander Afanasyev | 14b0948 | 2013-10-11 18:24:45 +0200 | [diff] [blame] | 1 | /* -*- Mode: objc; c-file-style: "gnu"; indent-tabs-mode:nil -*- */ |
Alexander Afanasyev | 749f065 | 2013-09-22 13:03:21 -0700 | [diff] [blame] | 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 | */ |
| 15 | class SparkleAutoUpdate |
| 16 | { |
| 17 | public: |
| 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 | |
| 31 | private: |
| 32 | class Private; |
| 33 | Private *d; |
| 34 | }; |
| 35 | |
| 36 | #endif // SPARKLE_AUTO_UPDATE_H |