[net] Check for application update (part 2)

* factorized token parser and added update file parsing
This commit is contained in:
Pete Batard 2012-11-12 01:53:34 +00:00
parent bc01064678
commit b3ed23647f
7 changed files with 202 additions and 61 deletions

View file

@ -34,11 +34,11 @@ extern "C" {
/*
* List of registry keys used by this application
*/
// Dispa
#define REGKEY_VERBOSE_UPDATES "VerboseUpdateCheck"
#define REGKEY_DISABLE_UPDATES "DisableUpdateCheck"
#define REGKEY_LAST_UPDATE "LastUpdateCheck"
#define REGKEY_UPDATE_INTERVAL "UpdateCheckInterval"
#define REGKEY_LAST_VERSION_SEEN "LastVersionSeen"
/* Read a generic registry key value (create the app key if it doesn't exist) */