dolphin-emulator/Source/Core/DiscIO
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
..
Blob.cpp rename Common/File to Common/IOFile 2021-01-27 14:29:48 -08:00
Blob.h
CISOBlob.cpp rename Common/File to Common/IOFile 2021-01-27 14:29:48 -08:00
CISOBlob.h rename Common/File to Common/IOFile 2021-01-27 14:29:48 -08:00
CMakeLists.txt
CompressedBlob.cpp rename Common/File to Common/IOFile 2021-01-27 14:29:48 -08:00
CompressedBlob.h rename Common/File to Common/IOFile 2021-01-27 14:29:48 -08:00
DirectoryBlob.cpp rename Common/File to Common/IOFile 2021-01-27 14:29:48 -08:00
DirectoryBlob.h
DiscExtractor.cpp rename Common/File to Common/IOFile 2021-01-27 14:29:48 -08:00
DiscExtractor.h
DiscScrubber.cpp DiscIO: Migrate logging over to fmt 2020-10-22 15:41:42 -04:00
DiscScrubber.h
DriveBlob.cpp rename Common/File to Common/IOFile 2021-01-27 14:29:48 -08:00
DriveBlob.h rename Common/File to Common/IOFile 2021-01-27 14:29:48 -08:00
Enums.cpp DiscIO: Migrate logging over to fmt 2020-10-22 15:41:42 -04:00
Enums.h
FileBlob.cpp Use positional arguments in all translatable fmt strings 2020-11-16 13:28:11 +01:00
FileBlob.h rename Common/File to Common/IOFile 2021-01-27 14:29:48 -08:00
Filesystem.cpp
Filesystem.h DiscIO: Fix recursive directory extraction 2020-12-03 21:13:53 +01:00
FileSystemGCWii.cpp rename Common/File to Common/IOFile 2021-01-27 14:29:48 -08:00
FileSystemGCWii.h DiscIO: Fix recursive directory extraction 2020-12-03 21:13:53 +01:00
LaggedFibonacciGenerator.cpp
LaggedFibonacciGenerator.h
MultithreadedCompressor.h
NANDImporter.cpp rename Common/File to Common/IOFile 2021-01-27 14:29:48 -08:00
NANDImporter.h
ScrubbedBlob.cpp
ScrubbedBlob.h
TGCBlob.cpp rename Common/File to Common/IOFile 2021-01-27 14:29:48 -08:00
TGCBlob.h rename Common/File to Common/IOFile 2021-01-27 14:29:48 -08:00
Volume.cpp
Volume.h
VolumeDisc.cpp
VolumeDisc.h
VolumeFileBlobReader.cpp
VolumeFileBlobReader.h
VolumeGC.cpp DiscIO: Migrate logging over to fmt 2020-10-22 15:41:42 -04:00
VolumeGC.h
VolumeVerifier.cpp IOS: Use less ambiguous names for classes 2021-02-12 21:40:31 +01:00
VolumeVerifier.h
VolumeWad.cpp DiscIO: Migrate logging over to fmt 2020-10-22 15:41:42 -04:00
VolumeWad.h
VolumeWii.cpp DiscIO: Make use of fmt-capable panic alerts 2020-11-11 01:09:42 -05:00
VolumeWii.h
WbfsBlob.cpp rename Common/File to Common/IOFile 2021-01-27 14:29:48 -08:00
WbfsBlob.h rename Common/File to Common/IOFile 2021-01-27 14:29:48 -08:00
WIABlob.cpp rename Common/File to Common/IOFile 2021-01-27 14:29:48 -08:00
WIABlob.h rename Common/File to Common/IOFile 2021-01-27 14:29:48 -08:00
WIACompression.cpp
WIACompression.h
WiiEncryptionCache.cpp
WiiEncryptionCache.h
WiiSaveBanner.cpp rename Common/File to Common/IOFile 2021-01-27 14:29:48 -08:00
WiiSaveBanner.h