service/audio: Remove global system accessors

Trims out the lingering reliance on global state out of the audio code.
This commit is contained in:
Lioncash
2019-07-19 03:22:57 -04:00
parent 7653e4babc
commit ed0485c599
7 changed files with 54 additions and 34 deletions

View File

@ -4,6 +4,10 @@
#pragma once
namespace Core {
class System;
}
namespace Service::SM {
class ServiceManager;
}
@ -11,6 +15,6 @@ class ServiceManager;
namespace Service::Audio {
/// Registers all Audio services with the specified service manager.
void InstallInterfaces(SM::ServiceManager& service_manager);
void InstallInterfaces(SM::ServiceManager& service_manager, Core::System& system);
} // namespace Service::Audio