citra/src/citra_qt
Lioncash b3221c3180 file_util: Use an enum class for GetUserPath()
Instead of using an unsigned int as a parameter and expecting a user to
always pass in the correct values, we can just convert the enum into an
enum class and use that type as the parameter type instead, which makes
the interface more type safe.

We also get rid of the bookkeeping "NUM_" element in the enum by just
using an unordered map. This function is generally low-frequency in
terms of calls (and I'd hope so, considering otherwise would mean we're
slamming the disk with IO all the time) so I'd consider this acceptable
in this case.
2018-09-22 21:18:56 +02:00
..
applets citra_qt: Add length validation 2018-07-10 13:05:13 +08:00
camera Fix compile errors 2018-07-26 13:23:25 +02:00
configuration file_util: Use an enum class for GetUserPath() 2018-09-22 21:18:56 +02:00
debugger Prefix all size_t with std:: 2018-09-06 16:03:28 -04:00
multiplayer Merge pull request #4010 from zhaowenlan1779/statusbar-retheme 2018-07-30 10:35:42 -06:00
updater reformat all files with clang-format 2018-06-29 16:56:12 +03:00
util Antialias game list compatibility pixmaps 2018-09-17 19:00:28 +05:30
aboutdialog.cpp Port #942 from yuzu: "qt: Minor cleanup-related changes" 2018-08-24 17:14:09 +02:00
aboutdialog.h Clean up aboutdialog.h 2018-08-25 14:45:50 +02:00
aboutdialog.ui citra-qt: Add build date in about dialog 2018-06-18 21:21:00 +08:00
bootmanager.cpp Merge pull request #3959 from zhaowenlan1779/semi-reset 2018-09-19 21:02:59 -06:00
bootmanager.h Port #942 from yuzu: "qt: Minor cleanup-related changes" 2018-08-24 17:14:09 +02:00
citra-qt.rc Fix icon for citra qt 2017-09-03 11:26:10 -06:00
CMakeLists.txt Backport some review fixes of Lioncash 2018-09-01 15:41:46 +02:00
compatdb.cpp log: replace all NGLOG with LOG 2018-06-29 14:18:07 +03:00
compatdb.h enum class 2018-01-20 09:56:02 -06:00
compatdb.ui add compatibility reporting to qt frontend 2018-01-01 19:25:38 -06:00
discord.h Add Discord Rich Presence Support (#3883) 2018-08-20 11:20:33 +02:00
discord_impl.cpp Add Discord Rich Presence Support (#3883) 2018-08-20 11:20:33 +02:00
discord_impl.h Add Discord Rich Presence Support (#3883) 2018-08-20 11:20:33 +02:00
game_list.cpp file_util: Use an enum class for GetUserPath() 2018-09-22 21:18:56 +02:00
game_list.h citra_qt, movie: allow recording/playback before emulation starts 2018-08-20 11:34:27 +02:00
game_list_p.h file_util: Use an enum class for GetUserPath() 2018-09-22 21:18:56 +02:00
hotkeys.cpp qt/hotkey: Get rid of global hotkey map instance 2018-08-25 13:43:11 +02:00
hotkeys.h qt/hotkey: Get rid of global hotkey map instance 2018-08-25 13:43:11 +02:00
hotkeys.ui Add Configure widget 2016-03-21 20:03:18 +01:00
Info.plist CMake: Fix Info.plist template for citra_qt/OSX 2016-07-21 21:33:54 +01:00
main.cpp file_util: Use an enum class for GetUserPath() 2018-09-22 21:18:56 +02:00
main.h Prefix all size_t with std:: 2018-09-06 16:03:28 -04:00
main.ui citra_qt, movie: allow recording/playback before emulation starts 2018-08-20 11:34:27 +02:00
ui_settings.cpp Sources: Run clang-format on everything. 2016-09-18 09:38:01 +09:00
ui_settings.h citra_qt: record movie record/playback path 2018-08-20 11:36:00 +02:00