2020-03-28 15:21:10 +00: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 18:51:56 +00:00
|
|
|
namespace Core {
|
|
|
|
|
|
|
|
template <class T>
|
|
|
|
T& Global();
|
|
|
|
|
2020-03-28 15:47:36 +00:00
|
|
|
// Declare explicit specialisation to prevent automatic instantiation
|
2019-12-25 21:43:51 +00:00
|
|
|
class System;
|
|
|
|
template <>
|
|
|
|
System& Global();
|
|
|
|
|
2020-03-28 15:47:36 +00:00
|
|
|
class Timing;
|
|
|
|
template <>
|
|
|
|
Timing& Global();
|
|
|
|
|
2019-12-25 18:51:56 +00:00
|
|
|
} // namespace Core
|