Add "Check for updates" Feature

This patch adds a check for updates feature.

It connects to http://subsurface.hohndel.org/updatecheck.html to check for
any new versions. It then prompts the user with a download link if an
update is available.

Signed-off-by: Joseph W. Joshua <joejoshw@gmail.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Joshua Joseph 2014-04-02 22:41:39 +03:00 committed by Dirk Hohndel
parent 5cec965cb7
commit ede6a38bcf
6 changed files with 109 additions and 2 deletions

View file

@ -76,7 +76,8 @@ HEADERS = \
qt-ui/profile/diveprofileitem.h \
qt-ui/profile/diveeventitem.h \
qt-ui/profile/divetooltipitem.h \
qt-ui/profile/ruleritem.h
qt-ui/profile/ruleritem.h \
qt-ui/updatemanager.h
android: HEADERS -= \
qt-ui/usermanual.h \
@ -148,7 +149,8 @@ SOURCES = \
qt-ui/profile/diveprofileitem.cpp \
qt-ui/profile/diveeventitem.cpp \
qt-ui/profile/divetooltipitem.cpp \
qt-ui/profile/ruleritem.cpp
qt-ui/profile/ruleritem.cpp \
qt-ui/updatemanager.cpp
android: SOURCES += android.cpp
else: linux*: SOURCES += linux.c