summaryrefslogtreecommitdiffstats
path: root/src/core/hle/service/am/applets/stub_applet.h
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2018-11-23 18:02:25 +0100
committerGitHub <noreply@github.com>2018-11-23 18:02:25 +0100
commitc267aea29b23f52add7c36578e55312b70480947 (patch)
tree39dc9177ca6b0fc6d8350b289e3e82bd6b935389 /src/core/hle/service/am/applets/stub_applet.h
parentMerge pull request #1777 from lioncash/core-mgr (diff)
parentam: Return StubApplet instead of nullptr when AppletId not found (diff)
downloadyuzu-c267aea29b23f52add7c36578e55312b70480947.tar
yuzu-c267aea29b23f52add7c36578e55312b70480947.tar.gz
yuzu-c267aea29b23f52add7c36578e55312b70480947.tar.bz2
yuzu-c267aea29b23f52add7c36578e55312b70480947.tar.lz
yuzu-c267aea29b23f52add7c36578e55312b70480947.tar.xz
yuzu-c267aea29b23f52add7c36578e55312b70480947.tar.zst
yuzu-c267aea29b23f52add7c36578e55312b70480947.zip
Diffstat (limited to 'src/core/hle/service/am/applets/stub_applet.h')
-rw-r--r--src/core/hle/service/am/applets/stub_applet.h24
1 files changed, 24 insertions, 0 deletions
diff --git a/src/core/hle/service/am/applets/stub_applet.h b/src/core/hle/service/am/applets/stub_applet.h
new file mode 100644
index 000000000..7d8dc968d
--- /dev/null
+++ b/src/core/hle/service/am/applets/stub_applet.h
@@ -0,0 +1,24 @@
+// Copyright 2018 yuzu emulator team
+// Licensed under GPLv2 or any later version
+// Refer to the license.txt file included.
+
+#pragma once
+
+#include "core/hle/service/am/applets/applets.h"
+
+namespace Service::AM::Applets {
+
+class StubApplet final : public Applet {
+public:
+ StubApplet();
+ ~StubApplet() override;
+
+ void Initialize() override;
+
+ bool TransactionComplete() const override;
+ ResultCode GetStatus() const override;
+ void ExecuteInteractive() override;
+ void Execute() override;
+};
+
+} // namespace Service::AM::Applets