1 #include <wizard_fpupdate.h>
2 #include <lib/system/init.h>
3 #include <lib/system/init_num.h>
4 #include <lib/system/dmfp.h>
5 #include <lib/gui/emessage.h>
7 int eWizardFPUpdate::run()
9 if (eDreamboxFP::isUpgradeAvailable())
13 _("New Software for the frontprocessor is avail.\n"
14 "Your Dreambox must upgrade now!\n"
15 "DO NOT TURN OFF THE POWER DURING UPDATE !!!."),
16 _("New software avail"),
17 eMessageBox::btOK
|eMessageBox::iconInfo
);
24 _("Upgrading frontprocessor...\n"
25 "DO NOT TURN OFF THE POWER!\n"
26 "THE DREAMBOX WILL AUTOMATICALLY REBOOT!\n"),
27 _("Upgrade in process..."), eMessageBox::iconWarning
);
29 /* in this case, this is really required - doUpgrade does CLI */
31 eDreamboxFP::doUpgrade(0xd15ea5e);
37 eAutoInitP0
<eWizardFPUpdate
> init_eWizardFPUpdate(eAutoInitNumbers::wizard
+1, "wizard: fpudate");