citra-canary/src/core/hle/service
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
..
ac Port "kernel/event: Make data members private" from yuzu (#4077) 2018-08-24 19:43:28 +02:00
act Convert ACT to the new service framework (#3521) 2018-03-16 11:36:35 +02:00
am file_util: Use an enum class for GetUserPath() 2018-09-22 21:18:56 +02:00
apt file_util: Use an enum class for GetUserPath() 2018-09-22 21:18:56 +02:00
boss service/boss: Migrate to ServiceFramework (#3998) 2018-07-27 16:07:23 +03:00
cam Prefix all size_t with std:: 2018-09-06 16:03:28 -04:00
cecd service/cecd: Addressed comment about using PushEnum instead of Push<u32> 2018-07-01 12:54:53 -04:00
cfg Prefix all size_t with std:: 2018-09-06 16:03:28 -04:00
csnd service/csnd: Moved into csnd folder and stubbed a few functions (#4006) 2018-07-27 11:25:20 +03:00
dlp Merge pull request #3894 from wwylele/log-finalize 2018-06-29 17:46:07 -06:00
dsp Prefix all size_t with std:: 2018-09-06 16:03:28 -04:00
frd Prefix all size_t with std:: 2018-09-06 16:03:28 -04:00
fs file_util: Use an enum class for GetUserPath() 2018-09-22 21:18:56 +02:00
gsp Prefix all size_t with std:: 2018-09-06 16:03:28 -04:00
hid Service/HID: update function table 2018-08-29 17:51:47 -04:00
ir Prefix all size_t with std:: 2018-09-06 16:03:28 -04:00
ldr_ro reformat all files with clang-format 2018-06-29 16:56:12 +03:00
mvd service/mvd: Migrate to ServiceFramework (#3890) 2018-06-29 11:14:49 +03:00
ndm reformat all files with clang-format 2018-06-29 16:56:12 +03:00
news log: replace all NGLOG with LOG 2018-06-29 14:18:07 +03:00
nfc log: replace all NGLOG with LOG 2018-06-29 14:18:07 +03:00
nim log: replace all NGLOG with LOG 2018-06-29 14:18:07 +03:00
ns log: replace all NGLOG with LOG 2018-06-29 14:18:07 +03:00
nwm Prefix all size_t with std:: 2018-09-06 16:03:28 -04:00
pm service/pm: Migrate to ServiceFramework 2018-06-29 10:31:56 -04:00
ps service/ps: Boilerplate to register service, no functions implemented 2018-07-25 02:25:51 -04:00
ptm core: clean up warnings 2018-08-01 14:10:23 -05:00
pxi HLE: Add pxi:dev stub. 2017-12-09 14:45:56 -08:00
qtm service/qtm: Migrate to ServiceFramework (#3892) 2018-06-29 11:13:56 +03:00
sm Prefix all size_t with std:: 2018-09-06 16:03:28 -04:00
err_f.cpp reformat all files with clang-format 2018-06-29 16:56:12 +03:00
err_f.h HLE/Services: Convert err:f to the new ServiceFramework. 2017-12-04 14:03:11 -05:00
http_c.cpp Prefix all size_t with std:: 2018-09-06 16:03:28 -04:00
http_c.h Service::HTTP_C: Add decryption of the ClCertA (#4045) 2018-08-09 23:02:53 +02:00
mic_u.cpp reformat all files with clang-format 2018-06-29 16:56:12 +03:00
mic_u.h mic_u: Migrate to the new service framework 2017-12-15 19:22:58 -05:00
service.cpp Prefix all size_t with std:: 2018-09-06 16:03:28 -04:00
service.h Prefix all size_t with std:: 2018-09-06 16:03:28 -04:00
soc_u.cpp Merge pull request #4113 from namkazt/soc_recv_from 2018-09-21 12:33:23 -04:00
soc_u.h add header RecvFromOther 2018-08-21 13:38:14 +07:00
ssl_c.cpp service/SSL: convert to ServiceFramework 2018-06-22 18:52:24 +03:00
ssl_c.h service/SSL: convert to ServiceFramework 2018-06-22 18:52:24 +03:00
y2r_u.cpp Prefix all size_t with std:: 2018-09-06 16:03:28 -04:00
y2r_u.h Service/Y2R: convert to ServiceFramework 2018-01-12 13:38:20 +02:00