1
1
Fork 0
forked from suyu/suyu

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

View file

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