gui/hdd_menu.cpp: convert to singleton;

add basic notify about device hotplug/remove


Origin commit data
------------------
Branch: ni/coolstream
Commit: 6be2b32cd3
Author: [CST] Focus <focus.cst@gmail.com>
Date: 2014-04-23 (Wed, 23 Apr 2014)



------------------
This commit was generated by Migit
This commit is contained in:
[CST] Focus
2014-04-23 17:25:08 +04:00
parent 752b0c2a8b
commit f3ebe06962
4 changed files with 66 additions and 8 deletions

View File

@@ -2562,6 +2562,7 @@ int CNeutrinoApp::handleMsg(const neutrino_msg_t _msg, neutrino_msg_data_t data)
res = res | channelList->handleMsg(msg, data);
res = res | CRecordManager::getInstance()->handleMsg(msg, data);
res = res | CEpgScan::getInstance()->handleMsg(msg, data);
res = res | CHDDMenuHandler::getInstance()->handleMsg(msg, data);
if( res != messages_return::unhandled ) {
if( ( msg>= CRCInput::RC_WithData ) && ( msg< CRCInput::RC_WithData+ 0x10000000 ) ) {