diff options
author | Morph <39850852+Morph1984@users.noreply.github.com> | 2021-07-14 06:38:24 +0200 |
---|---|---|
committer | Morph <39850852+Morph1984@users.noreply.github.com> | 2021-07-14 07:07:09 +0200 |
commit | 79824d7d1b69382571e5c05fe3e66485212d06f5 (patch) | |
tree | 59feef24b4a021b67ea88f0e4224e6067fb9110c /src/core/hle/service/am/applets/error.h | |
parent | applets: Append qt_ prefix to Qt frontend applets (diff) | |
download | yuzu-79824d7d1b69382571e5c05fe3e66485212d06f5.tar yuzu-79824d7d1b69382571e5c05fe3e66485212d06f5.tar.gz yuzu-79824d7d1b69382571e5c05fe3e66485212d06f5.tar.bz2 yuzu-79824d7d1b69382571e5c05fe3e66485212d06f5.tar.lz yuzu-79824d7d1b69382571e5c05fe3e66485212d06f5.tar.xz yuzu-79824d7d1b69382571e5c05fe3e66485212d06f5.tar.zst yuzu-79824d7d1b69382571e5c05fe3e66485212d06f5.zip |
Diffstat (limited to 'src/core/hle/service/am/applets/error.h')
-rw-r--r-- | src/core/hle/service/am/applets/error.h | 53 |
1 files changed, 0 insertions, 53 deletions
diff --git a/src/core/hle/service/am/applets/error.h b/src/core/hle/service/am/applets/error.h deleted file mode 100644 index 8aa9046a5..000000000 --- a/src/core/hle/service/am/applets/error.h +++ /dev/null @@ -1,53 +0,0 @@ -// Copyright 2019 yuzu emulator team -// Licensed under GPLv2 or any later version -// Refer to the license.txt file included. - -#pragma once - -#include "core/hle/result.h" -#include "core/hle/service/am/applets/applets.h" - -namespace Core { -class System; -} - -namespace Service::AM::Applets { - -enum class ErrorAppletMode : u8 { - ShowError = 0, - ShowSystemError = 1, - ShowApplicationError = 2, - ShowEula = 3, - ShowErrorPctl = 4, - ShowErrorRecord = 5, - ShowUpdateEula = 8, -}; - -class Error final : public Applet { -public: - explicit Error(Core::System& system_, LibraryAppletMode applet_mode_, - const Core::Frontend::ErrorApplet& frontend_); - ~Error() override; - - void Initialize() override; - - bool TransactionComplete() const override; - ResultCode GetStatus() const override; - void ExecuteInteractive() override; - void Execute() override; - - void DisplayCompleted(); - -private: - union ErrorArguments; - - const Core::Frontend::ErrorApplet& frontend; - ResultCode error_code = ResultSuccess; - ErrorAppletMode mode = ErrorAppletMode::ShowError; - std::unique_ptr<ErrorArguments> args; - - bool complete = false; - Core::System& system; -}; - -} // namespace Service::AM::Applets |