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

Origin commit data
------------------
Commit: 55167990b5
Author: [CST] Focus <focus.cst@gmail.com>
Date: 2014-04-30 (Wed, 30 Apr 2014)
This commit is contained in:
[CST] Focus
2014-04-30 17:15:25 +04:00
parent 47630508ee
commit 630f60bbce
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: