diff options
| author | 2019-06-28 21:02:50 -0400 | |
|---|---|---|
| committer | 2019-06-28 21:02:50 -0400 | |
| commit | 554e2f2f983824bee174465c79b9ad3c27e8208f (patch) | |
| tree | 0ab536c5287b8715928991ccf38c3963b25a564f /src/core/reporter.h | |
| parent | fsp-srv: Implement OutputAccessLogToSdCard (diff) | |
| download | yuzu-554e2f2f983824bee174465c79b9ad3c27e8208f.tar.gz yuzu-554e2f2f983824bee174465c79b9ad3c27e8208f.tar.xz yuzu-554e2f2f983824bee174465c79b9ad3c27e8208f.zip | |
reporter: Add report class for filesystem access logs
Diffstat (limited to 'src/core/reporter.h')
| -rw-r--r-- | src/core/reporter.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/core/reporter.h b/src/core/reporter.h index 3de19c0f7..ba95c369e 100644 --- a/src/core/reporter.h +++ b/src/core/reporter.h | |||
| @@ -14,6 +14,10 @@ namespace Kernel { | |||
| 14 | class HLERequestContext; | 14 | class HLERequestContext; |
| 15 | } // namespace Kernel | 15 | } // namespace Kernel |
| 16 | 16 | ||
| 17 | namespace Service::FileSystem { | ||
| 18 | enum class LogMode : u32; | ||
| 19 | } | ||
| 20 | |||
| 17 | namespace Core { | 21 | namespace Core { |
| 18 | 22 | ||
| 19 | class Reporter { | 23 | class Reporter { |
| @@ -45,6 +49,9 @@ public: | |||
| 45 | std::optional<std::string> custom_text_main = {}, | 49 | std::optional<std::string> custom_text_main = {}, |
| 46 | std::optional<std::string> custom_text_detail = {}) const; | 50 | std::optional<std::string> custom_text_detail = {}) const; |
| 47 | 51 | ||
| 52 | void SaveFilesystemAccessReport(Service::FileSystem::LogMode log_mode, | ||
| 53 | std::string log_message) const; | ||
| 54 | |||
| 48 | void SaveUserReport() const; | 55 | void SaveUserReport() const; |
| 49 | 56 | ||
| 50 | private: | 57 | private: |