mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-09-01 01:41:23 +02:00
gui/hdd_menu.cpp: convert to singleton;
add basic notify about device hotplug/remove
This commit is contained in:
@@ -88,12 +88,16 @@ class CHDDMenuHandler : public CMenuTarget
|
||||
int checkDevice(std::string dev);
|
||||
int formatDevice(std::string dev);
|
||||
void showError(neutrino_locale_t err);
|
||||
CHDDMenuHandler();
|
||||
|
||||
public:
|
||||
CHDDMenuHandler();
|
||||
~CHDDMenuHandler();
|
||||
int exec( CMenuTarget* parent, const std::string &actionkey);
|
||||
int doMenu();
|
||||
|
||||
static CHDDMenuHandler* getInstance();
|
||||
int exec( CMenuTarget* parent, const std::string &actionkey);
|
||||
int doMenu();
|
||||
int filterDevName(const char * name);
|
||||
int handleMsg(const neutrino_msg_t _msg, neutrino_msg_data_t data);
|
||||
};
|
||||
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user