diff options
author | David Marcec <dmarcecguzman@gmail.com> | 2019-09-21 10:43:16 +0200 |
---|---|---|
committer | David Marcec <dmarcecguzman@gmail.com> | 2019-09-22 08:30:27 +0200 |
commit | a9e9570d8424966e16ce8f683b21737c1188c134 (patch) | |
tree | 338c9d02895a5a8bb21ff6a7dde4702a74b324d1 /src/core/hle/service/friend/friend.h | |
parent | Deglobalize System: Fatal (diff) | |
download | yuzu-a9e9570d8424966e16ce8f683b21737c1188c134.tar yuzu-a9e9570d8424966e16ce8f683b21737c1188c134.tar.gz yuzu-a9e9570d8424966e16ce8f683b21737c1188c134.tar.bz2 yuzu-a9e9570d8424966e16ce8f683b21737c1188c134.tar.lz yuzu-a9e9570d8424966e16ce8f683b21737c1188c134.tar.xz yuzu-a9e9570d8424966e16ce8f683b21737c1188c134.tar.zst yuzu-a9e9570d8424966e16ce8f683b21737c1188c134.zip |
Diffstat (limited to 'src/core/hle/service/friend/friend.h')
-rw-r--r-- | src/core/hle/service/friend/friend.h | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/src/core/hle/service/friend/friend.h b/src/core/hle/service/friend/friend.h index 38d05fa8e..24f3fc969 100644 --- a/src/core/hle/service/friend/friend.h +++ b/src/core/hle/service/friend/friend.h @@ -6,13 +6,17 @@ #include "core/hle/service/service.h" +namespace Core { +class System; +} + namespace Service::Friend { class Module final { public: class Interface : public ServiceFramework<Interface> { public: - explicit Interface(std::shared_ptr<Module> module, const char* name); + explicit Interface(std::shared_ptr<Module> module, Core::System& system, const char* name); ~Interface() override; void CreateFriendService(Kernel::HLERequestContext& ctx); @@ -20,10 +24,11 @@ public: protected: std::shared_ptr<Module> module; + Core::System& system; }; }; /// Registers all Friend services with the specified service manager. -void InstallInterfaces(SM::ServiceManager& service_manager); +void InstallInterfaces(SM::ServiceManager& service_manager, Core::System& system); } // namespace Service::Friend |