diff options
author | Lioncash <mathew1800@gmail.com> | 2019-10-12 15:23:40 +0200 |
---|---|---|
committer | Lioncash <mathew1800@gmail.com> | 2019-10-15 22:39:27 +0200 |
commit | cc1d7048b590a6f39ddf6d3065197ce475912403 (patch) | |
tree | a73e2f8ca83cde4a24436cdee16559a7376f5891 /src/core/hle/service/bcat/backend/boxcat.h | |
parent | nvflinger/buffer_queue: Remove use of a global system accessor (diff) | |
download | yuzu-cc1d7048b590a6f39ddf6d3065197ce475912403.tar yuzu-cc1d7048b590a6f39ddf6d3065197ce475912403.tar.gz yuzu-cc1d7048b590a6f39ddf6d3065197ce475912403.tar.bz2 yuzu-cc1d7048b590a6f39ddf6d3065197ce475912403.tar.lz yuzu-cc1d7048b590a6f39ddf6d3065197ce475912403.tar.xz yuzu-cc1d7048b590a6f39ddf6d3065197ce475912403.tar.zst yuzu-cc1d7048b590a6f39ddf6d3065197ce475912403.zip |
Diffstat (limited to '')
-rw-r--r-- | src/core/hle/service/bcat/backend/boxcat.h | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/src/core/hle/service/bcat/backend/boxcat.h b/src/core/hle/service/bcat/backend/boxcat.h index 601151189..d65b42e58 100644 --- a/src/core/hle/service/bcat/backend/boxcat.h +++ b/src/core/hle/service/bcat/backend/boxcat.h @@ -9,6 +9,10 @@ #include <optional> #include "core/hle/service/bcat/backend/backend.h" +namespace Service::AM::Applets { +class AppletManager; +} + namespace Service::BCAT { struct EventStatus { @@ -20,12 +24,13 @@ struct EventStatus { /// Boxcat is yuzu's custom backend implementation of Nintendo's BCAT service. It is free to use and /// doesn't require a switch or nintendo account. The content is controlled by the yuzu team. class Boxcat final : public Backend { - friend void SynchronizeInternal(DirectoryGetter dir_getter, TitleIDVersion title, + friend void SynchronizeInternal(AM::Applets::AppletManager& applet_manager, + DirectoryGetter dir_getter, TitleIDVersion title, ProgressServiceBackend& progress, std::optional<std::string> dir_name); public: - explicit Boxcat(DirectoryGetter getter); + explicit Boxcat(AM::Applets::AppletManager& applet_manager_, DirectoryGetter getter); ~Boxcat() override; bool Synchronize(TitleIDVersion title, ProgressServiceBackend& progress) override; @@ -53,6 +58,7 @@ private: class Client; std::unique_ptr<Client> client; + AM::Applets::AppletManager& applet_manager; }; } // namespace Service::BCAT |