| 80 | } |
| 81 | |
| 82 | void CServiceManager::start() |
| 83 | { |
| 84 | qDebug(Service) << "Service", "Start ..."; |
| 85 | // Make sure the plugin is loaded only after the application is created |
| 86 | if(!m_Plugins) |
| 87 | m_Plugins = QSharedPointer<CManagePlugins>(new CManagePlugins()); |
| 88 | foreach(auto p, m_Plugins->m_Plugins) |
| 89 | if(p) p->Start(); |
| 90 | |
| 91 | #ifdef HAVE_ICE |
| 92 | CICE::Instance()->slotStart(); |
| 93 | #endif |
| 94 | } |
| 95 | |
| 96 | void CServiceManager::stop() |
| 97 | { |
no test coverage detected