From f06d22d6f01e657ebbc0c8ef082739cd468e47b5 Mon Sep 17 00:00:00 2001
From: Isaac Marovitz <42140194+IsaacMarovitz@users.noreply.github.com>
Date: Sun, 11 Feb 2024 02:09:18 +0000
Subject: Infra: Capitalisation Consistency (#6296)
* Rename Ryujinx.UI.Common
* Rename Ryujinx.UI.LocaleGenerator
* Update in Files
AboutWindow
* Configuration State
* Rename projects
* Ryujinx/UI
* Fix build
* Main remaining inconsistencies
* HLE.UI Namespace
* HLE.UI Files
* Namespace
* Ryujinx.UI.Common.Configuration.UI
* Ryujinx.UI.Common,Configuration.UI Files
* More instances
---
src/Ryujinx.UI.Common/UserError.cs | 39 ++++++++++++++++++++++++++++++++++++++
1 file changed, 39 insertions(+)
create mode 100644 src/Ryujinx.UI.Common/UserError.cs
(limited to 'src/Ryujinx.UI.Common/UserError.cs')
diff --git a/src/Ryujinx.UI.Common/UserError.cs b/src/Ryujinx.UI.Common/UserError.cs
new file mode 100644
index 00000000..706971ef
--- /dev/null
+++ b/src/Ryujinx.UI.Common/UserError.cs
@@ -0,0 +1,39 @@
+namespace Ryujinx.UI.Common
+{
+ ///
+ /// Represent a common error that could be reported to the user by the emulator.
+ ///
+ public enum UserError
+ {
+ ///
+ /// No error to report.
+ ///
+ Success = 0x0,
+
+ ///
+ /// No keys are present.
+ ///
+ NoKeys = 0x1,
+
+ ///
+ /// No firmware is installed.
+ ///
+ NoFirmware = 0x2,
+
+ ///
+ /// Firmware parsing failed.
+ ///
+ /// Most likely related to keys.
+ FirmwareParsingFailed = 0x3,
+
+ ///
+ /// No application was found at the given path.
+ ///
+ ApplicationNotFound = 0x4,
+
+ ///
+ /// An unknown error.
+ ///
+ Unknown = 0xDEAD,
+ }
+}
--
cgit v1.2.3