dolphin/Source/Core/DolphinNoGUI
Léo Lam 522cb6b137
IOS: Use less ambiguous names for classes
Some of the device names can be ambiguous and require fully or partly
qualifying the name (e.g. IOS::HLE::FS::) in a somewhat verbose way.

Additionally, insufficiently qualified names are prone to breaking.
Consider the example of IOS::HLE::FS:: (namespace) and
IOS::HLE::Device::FS (class). If we use FS::Foo in a file that doesn't
know about the class, everything will work fine. However, as soon as
Device::FS is declared via a header include or even just forward
declared, that code will cease to compile because FS:: now resolves
to Device::FS if FS::Foo was used in the Device namespace.

It also leads to having to write IOS::ES:: to access ES types and
utilities even for code that is already under the IOS namespace.

The fix for this is simple: rename the device classes and give them
a "device" suffix in their names if the existing ones may be ambiguous.
This makes it clear whether we're referring to the device class or to
something else.

This is not any longer to type, considering it lets us get rid of the
Device namespace, which is now wholly unnecessary.

There are no functional changes in this commit.

A future commit will fix unnecessarily qualified names.
2021-02-12 21:40:31 +01:00
..
CMakeLists.txt Add a Win32 NoGUI platform and project 2019-12-28 08:56:27 +10:00
DolphinNoGUI.exe.manifest Add a Win32 NoGUI platform and project 2019-12-28 08:56:27 +10:00
DolphinNoGUI.rc Add a Win32 NoGUI platform and project 2019-12-28 08:56:27 +10:00
DolphinNoGUI.vcxproj msbuild: bundle all dolphin "core" code into single library 2021-01-27 14:29:49 -08:00
DolphinNoGUI.vcxproj.filters Add a Win32 NoGUI platform and project 2019-12-28 08:56:27 +10:00
MainNoGUI.cpp rename Core/Analytics to Core/DolphinAnalytics 2021-01-27 14:29:47 -08:00
Platform.cpp IOS: Use less ambiguous names for classes 2021-02-12 21:40:31 +01:00
Platform.h Add a Win32 NoGUI platform and project 2019-12-28 08:56:27 +10:00
PlatformFBDev.cpp NoGUI: missing override keyword GetWindowSystemInfo 2020-03-23 16:35:45 +08:00
PlatformHeadless.cpp Common: Add a render_window field to WindowSystemInfo 2020-03-11 23:09:30 +10:00
PlatformWin32.cpp Clean up screen saver inhibition and apply setting change immediately. 2020-10-18 16:31:48 -05:00
PlatformX11.cpp NoGUI: missing override keyword GetWindowSystemInfo 2020-03-23 16:35:45 +08:00
resource.h Add a Win32 NoGUI platform and project 2019-12-28 08:56:27 +10:00