dolphin/Source/Core/DolphinWX/Input
JosJuice 5ca3aee00a FileUtil: Add a class for Exists/IsDirectory/GetSize
Some code was calling more than one of these functions in a row
(in particular, FileUtil.cpp itself did it a lot...), which is
a waste since it's possible to call stat a single time and then
read all three values from the stat struct. This commit adds a
File::FileInfo class that calls stat once on construction and
then lets Exists/IsDirectory/GetSize be executed very quickly.

The performance improvement mostly matters for functions that
can be handling a lot of files, such as File::ScanDirectoryTree.

I've also done some cleanup in code that uses these functions.
For instance, some code had checks like !Exists() || !IsDirectory(),
which is functionally equivalent to !IsDirectory(), and some
code was using File::GetSize even though there was an IOFile
object that the code could call GetSize on.
2017-06-29 19:07:29 +02:00
..
ClassicInputConfigDiag.cpp InputConfigDialog pass the device_cbox to the wiimote extension dialogs 2017-01-27 01:06:38 -05:00
ClassicInputConfigDiag.h InputConfigDialog pass the device_cbox to the wiimote extension dialogs 2017-01-27 01:06:38 -05:00
DrumsInputConfigDiag.cpp InputConfigDialog pass the device_cbox to the wiimote extension dialogs 2017-01-27 01:06:38 -05:00
DrumsInputConfigDiag.h InputConfigDialog pass the device_cbox to the wiimote extension dialogs 2017-01-27 01:06:38 -05:00
GCKeyboardInputConfigDiag.cpp Completely redo All configuration dialog 2016-11-28 08:26:34 -05:00
GCKeyboardInputConfigDiag.h Completely redo All configuration dialog 2016-11-28 08:26:34 -05:00
GCPadInputConfigDiag.cpp Completely redo All configuration dialog 2016-11-28 08:26:34 -05:00
GCPadInputConfigDiag.h Completely redo All configuration dialog 2016-11-28 08:26:34 -05:00
GuitarInputConfigDiag.cpp Implement slider bar present on GHWT and GH5 controllers 2017-06-06 04:38:20 -07:00
GuitarInputConfigDiag.h InputConfigDialog pass the device_cbox to the wiimote extension dialogs 2017-01-27 01:06:38 -05:00
HotkeyInputConfigDiag.cpp Implement hotkey options group in HotkeyInputConfigDiag 2017-03-13 13:39:52 -07:00
HotkeyInputConfigDiag.h Implement hotkey options group in HotkeyInputConfigDiag 2017-03-13 13:39:52 -07:00
InputConfigDiag.cpp FileUtil: Add a class for Exists/IsDirectory/GetSize 2017-06-29 19:07:29 +02:00
InputConfigDiag.h ControllerEmu: Replace includes with forward declarations 2017-04-04 20:38:30 -04:00
InputConfigDiagBitmaps.cpp Don't translate button names 2017-05-06 16:29:10 +02:00
MicButtonConfigDiag.cpp Fix some margin discrepancies 2016-12-31 17:58:39 -05:00
MicButtonConfigDiag.h Add a special input configuration dialog for the GameCube Mic 2016-12-05 18:09:31 -05:00
NunchukInputConfigDiag.cpp InputConfigDialog pass the device_cbox to the wiimote extension dialogs 2017-01-27 01:06:38 -05:00
NunchukInputConfigDiag.h InputConfigDialog pass the device_cbox to the wiimote extension dialogs 2017-01-27 01:06:38 -05:00
TurntableInputConfigDiag.cpp InputConfigDialog pass the device_cbox to the wiimote extension dialogs 2017-01-27 01:06:38 -05:00
TurntableInputConfigDiag.h InputConfigDialog pass the device_cbox to the wiimote extension dialogs 2017-01-27 01:06:38 -05:00
WiimoteInputConfigDiag.cpp Add i18n comments for the acronym IR 2017-04-08 16:00:09 +02:00
WiimoteInputConfigDiag.h Completely redo All configuration dialog 2016-11-28 08:26:34 -05:00