neutrino: add "need_reboot" feature

Origin commit data
------------------
Branch: ni/coolstream
Commit: f6253de913
Author: vanhofen <vanhofen@gmx.de>
Date: 2017-11-14 (Tue, 14 Nov 2017)

Origin message was:
------------------
- neutrino: add "need_reboot" feature

------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
This commit is contained in:
vanhofen
2017-11-14 22:43:39 +01:00
parent 698b8c0e0e
commit 4620d01da3
6 changed files with 12 additions and 0 deletions

View File

@@ -1726,6 +1726,7 @@ typedef enum
LOCALE_MESSAGEBOX_EXIT,
LOCALE_MESSAGEBOX_FEATURE_NOT_SUPPORTED,
LOCALE_MESSAGEBOX_INFO,
LOCALE_MESSAGEBOX_NEED_REBOOT,
LOCALE_MESSAGEBOX_NO,
LOCALE_MESSAGEBOX_OK,
LOCALE_MESSAGEBOX_YES,

View File

@@ -1726,6 +1726,7 @@ const char * locale_real_names[] =
"messagebox.exit",
"messagebox.feature_not_supported",
"messagebox.info",
"messagebox.need_reboot",
"messagebox.no",
"messagebox.ok",
"messagebox.yes",

View File

@@ -254,6 +254,8 @@ bool CFlagFileNotifier::changeNotify(const neutrino_locale_t, void * data)
}
remove(flagfile.c_str());
}
if (strstr(filename, "ciplushelper"))
CNeutrinoApp::getInstance()->exec(NULL, "need_reboot");
return menu_return::RETURN_REPAINT;
}