mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-28 07:51:19 +02:00
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:
@@ -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; }
|
||||
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user