| 59 | std::map<long, MyService2*> m_idToServiceMap; |
| 60 | |
| 61 | us::InterfaceMap GetService(us::Module* module, const us::ServiceRegistrationBase& /*registration*/) override |
| 62 | { |
| 63 | MyService2* s = new MyService2; |
| 64 | m_idToServiceMap.insert(std::make_pair(module->GetModuleId(), s)); |
| 65 | return us::MakeInterfaceMap<Interface1,Interface2>(s); |
| 66 | } |
| 67 | |
| 68 | void UngetService(us::Module* module, const us::ServiceRegistrationBase& /*registration*/, |
| 69 | const us::InterfaceMap& service) override |
nothing calls this directly
no test coverage detected