forked from ShuriZma/suyu
1
0
Fork 0

friend: Add friend:m, friend:s, and friend:v services

Given we already have friend:a and friend:u, we should add the remaining
services as well.
This commit is contained in:
Lioncash 2018-07-24 10:25:58 -04:00
parent 9539a1eadd
commit 07c2d057bd
1 changed files with 3 additions and 0 deletions

View File

@ -21,7 +21,10 @@ Module::Interface::Interface(std::shared_ptr<Module> module, const char* name)
void InstallInterfaces(SM::ServiceManager& service_manager) { void InstallInterfaces(SM::ServiceManager& service_manager) {
auto module = std::make_shared<Module>(); auto module = std::make_shared<Module>();
std::make_shared<Friend>(module, "friend:a")->InstallAsService(service_manager); std::make_shared<Friend>(module, "friend:a")->InstallAsService(service_manager);
std::make_shared<Friend>(module, "friend:m")->InstallAsService(service_manager);
std::make_shared<Friend>(module, "friend:s")->InstallAsService(service_manager);
std::make_shared<Friend>(module, "friend:u")->InstallAsService(service_manager); std::make_shared<Friend>(module, "friend:u")->InstallAsService(service_manager);
std::make_shared<Friend>(module, "friend:v")->InstallAsService(service_manager);
} }
} // namespace Service::Friend } // namespace Service::Friend