dolphin-emulator/Source/Core
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
..
AudioCommon msbuild: bundle all dolphin "core" code into single library 2021-01-27 14:29:49 -08:00
Common Merge pull request #6075 from sepalani/pcap-log 2021-02-11 00:15:37 +01:00
Core IOS: Use less ambiguous names for classes 2021-02-12 21:40:31 +01:00
DiscIO IOS: Use less ambiguous names for classes 2021-02-12 21:40:31 +01:00
DolphinNoGUI IOS: Use less ambiguous names for classes 2021-02-12 21:40:31 +01:00
DolphinQt IOS: Use less ambiguous names for classes 2021-02-12 21:40:31 +01:00
InputCommon msbuild: bundle all dolphin "core" code into single library 2021-01-27 14:29:49 -08:00
MacUpdater Reformat repo to clang-format 7.0 rules 2019-05-06 18:48:04 +00:00
UICommon IOS: Use less ambiguous names for classes 2021-02-12 21:40:31 +01:00
UpdaterCommon msbuild: bundle all dolphin "core" code into single library 2021-01-27 14:29:49 -08:00
VideoBackends Merge pull request #9424 from Pokechu22/sw-no-special-case 2021-02-11 19:36:45 +01:00
VideoCommon Merge pull request #9366 from iwubcode/freelook_camera_quaternion 2021-01-28 01:34:09 +01:00
WinUpdater msbuild: bundle all dolphin "core" code into single library 2021-01-27 14:29:49 -08:00
CMakeLists.txt WinUpdater: Add CMakeLists.txt 2019-05-08 23:59:04 +02:00
DolphinLib.ARM64.props msbuild: bundle all dolphin "core" code into single library 2021-01-27 14:29:49 -08:00
DolphinLib.props NetworkCaptureLogger: Move SSL logging 2021-01-28 21:23:18 +04:00
DolphinLib.vcxproj msbuild: bundle all dolphin "core" code into single library 2021-01-27 14:29:49 -08:00
DolphinLib.vcxproj.user msbuild: bundle all dolphin "core" code into single library 2021-01-27 14:29:49 -08:00
DolphinLib.x64.props msbuild: bundle all dolphin "core" code into single library 2021-01-27 14:29:49 -08:00