diff options
| author | Subv <subv2112@gmail.com> | 2016-06-18 13:39:26 -0500 |
|---|---|---|
| committer | Subv <subv2112@gmail.com> | 2016-11-30 23:04:00 -0500 |
| commit | c5e7e0fa26fc793c8b9f3effe25586f7fb57953e (patch) | |
| tree | 2acac9450de6b1d8cc42d89f9aa08759d77f9cd9 /src/core/hle/kernel/client_session.h | |
| parent | c19afd21188e91b9dd2780cf5cb9872a17ad113d (diff) | |
IPC/HLE: Associate the ClientSessions with their parent port's HLE interface if it exists.
Pass the triggering ServerSession to the HLE command handler to differentiate which session caused the request.
Diffstat (limited to 'src/core/hle/kernel/client_session.h')
| -rw-r--r-- | src/core/hle/kernel/client_session.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/core/hle/kernel/client_session.h b/src/core/hle/kernel/client_session.h index 4fe9b4517..c2fc0d7dd 100644 --- a/src/core/hle/kernel/client_session.h +++ b/src/core/hle/kernel/client_session.h @@ -5,11 +5,16 @@ #pragma once #include <string> +#include <memory> #include "common/common_types.h" #include "core/hle/kernel/kernel.h" +namespace Service { +class Interface; +} + namespace Kernel { class ClientPort; @@ -41,6 +46,7 @@ public: std::string name; ///< Name of client port (optional) SharedPtr<ServerSession> server_session; ///< The server session associated with this client session. SharedPtr<ClientPort> client_port; ///< The client port which this session is connected to. + std::shared_ptr<Service::Interface> hle_helper = nullptr; ///< HLE implementation of this port's request handler private: ClientSession(); |
