mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-09-01 18:01:06 +02:00
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:
@@ -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