sm: Relocate the service manager to the System class

Rather than have it live as a global variable, place it into the System class and make it instance-based.
This commit is contained in:
Lioncash
2018-04-12 23:06:21 -04:00
parent bfd1d963ba
commit a78920e60b
6 changed files with 69 additions and 41 deletions

View File

@@ -262,7 +262,7 @@ private:
};
/// Initialize ServiceManager
void Init();
void Init(std::shared_ptr<SM::ServiceManager>& sm);
/// Shutdown ServiceManager
void Shutdown();