Deglobalize System: Time

This commit is contained in:
David Marcec
2019-09-21 19:35:01 +10:00
parent 36a97dd8a2
commit 2c6e4ce0ad
4 changed files with 21 additions and 14 deletions

View File

@ -7,8 +7,8 @@
namespace Service::Time {
Time::Time(std::shared_ptr<Module> time, std::shared_ptr<SharedMemory> shared_memory,
const char* name)
: Module::Interface(std::move(time), std::move(shared_memory), name) {
Core::System& system, const char* name)
: Module::Interface(std::move(time), std::move(shared_memory), system, name) {
// clang-format off
static const FunctionInfo functions[] = {
{0, &Time::GetStandardUserSystemClock, "GetStandardUserSystemClock"},