2020-03-28 16:21:10 +01:00
|
|
|
// Copyright 2020 Citra Emulator Project
|
|
|
|
// Licensed under GPLv2 or any later version
|
|
|
|
// Refer to the license.txt file included.
|
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
2019-12-25 19:51:56 +01:00
|
|
|
namespace Core {
|
|
|
|
|
|
|
|
template <class T>
|
|
|
|
T& Global();
|
|
|
|
|
2020-03-28 16:47:36 +01:00
|
|
|
// Declare explicit specialisation to prevent automatic instantiation
|
2019-12-25 22:43:51 +01:00
|
|
|
class System;
|
|
|
|
template <>
|
|
|
|
System& Global();
|
|
|
|
|
2020-03-28 16:47:36 +01:00
|
|
|
class Timing;
|
|
|
|
template <>
|
|
|
|
Timing& Global();
|
|
|
|
|
2019-12-25 19:51:56 +01:00
|
|
|
} // namespace Core
|