gui/update.cpp: add function to check first url for image update;

check update version and timestamp to notify user about updates
This commit is contained in:
[CST] Focus
2014-10-20 14:19:37 +04:00
parent 0420e95b11
commit a755074c0e
2 changed files with 70 additions and 16 deletions

View File

@@ -53,8 +53,8 @@ class CFlashUpdate : public CProgressWindow
std::string sysfs;
char fileType;
int width;
bool notify;
std::string installedVersion;
std::string newVersion;
int menu_ret;
int softupdate_mode;
@@ -66,6 +66,8 @@ class CFlashUpdate : public CProgressWindow
public:
CFlashUpdate();
int exec( CMenuTarget* parent, const std::string & actionKey );
bool checkOnlineVersion();
void enableNotify(bool enable) { notify = enable; }
};