mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-09-01 01:41:12 +02:00
gui/hdd_menu.cpp: convert to singleton;
add basic notify about device hotplug/remove
Origin commit data
------------------
Commit: 6be2b32cd3
Author: [CST] Focus <focus.cst@gmail.com>
Date: 2014-04-23 (Wed, 23 Apr 2014)
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