time: Simplify interface creation

We can use one instance of the interface instead of duplicating code.
This commit is contained in:
Lioncash
2018-07-24 02:45:23 -04:00
parent 47ac369180
commit a61124a9e7
6 changed files with 15 additions and 64 deletions

View File

@ -0,0 +1,16 @@
// Copyright 2018 yuzu emulator team
// Licensed under GPLv2 or any later version
// Refer to the license.txt file included.
#pragma once
#include "core/hle/service/time/time.h"
namespace Service::Time {
class TIME final : public Module::Interface {
public:
explicit TIME(std::shared_ptr<Module> time, const char* name);
};
} // namespace Service::Time