mirror of
https://github.com/yuzu-emu/yuzu-android.git
synced 2025-06-25 10:47:55 -05:00
time: Simplify interface creation
We can use one instance of the interface instead of duplicating code.
This commit is contained in:
16
src/core/hle/service/time/interface.h
Normal file
16
src/core/hle/service/time/interface.h
Normal 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
|
Reference in New Issue
Block a user