service: Eliminate usages of the global system instance
Completely removes all usages of the global system instance within the services code by passing in the using system instance to the services.
This commit is contained in:
parent
322349e8cc
commit
1a954b2a59
222 changed files with 1221 additions and 907 deletions
|
@ -7,8 +7,8 @@
|
|||
#include <functional>
|
||||
#include <string>
|
||||
|
||||
namespace Service::SM {
|
||||
class ServiceManager;
|
||||
namespace Core {
|
||||
class System;
|
||||
}
|
||||
|
||||
namespace Service::Yuzu {
|
||||
|
@ -19,7 +19,7 @@ struct TestResult {
|
|||
std::string name;
|
||||
};
|
||||
|
||||
void InstallInterfaces(SM::ServiceManager& sm, std::string data,
|
||||
void InstallInterfaces(Core::System& system, std::string data,
|
||||
std::function<void(std::vector<TestResult>)> finish_callback);
|
||||
|
||||
} // namespace Service::Yuzu
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue