gui/hdd_menu.cpp: add question and show format menu, if plugged device not mounted

This commit is contained in:
[CST] Focus
2014-04-30 17:15:25 +04:00
parent ea9e950fd3
commit 55167990b5
4 changed files with 156 additions and 110 deletions

View File

@@ -53,6 +53,8 @@ class CHDDMenuHandler : public CMenuTarget
std::string mount;
std::string umount;
bool show_menu;
bool in_menu;
bool lock_refresh;
std::map<std::string, std::string> devtitle;
struct hdd_s {
std::string devname;
@@ -88,6 +90,7 @@ class CHDDMenuHandler : public CMenuTarget
int checkDevice(std::string dev);
int formatDevice(std::string dev);
void showError(neutrino_locale_t err);
bool scanDevices();
CHDDMenuHandler();
public: