mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-09-01 18:01:13 +02:00
gui/hdd_menu.cpp: add question and show format menu, if plugged device not mounted
This commit is contained in:
@@ -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:
|
||||
|
Reference in New Issue
Block a user