diff options
author | Subv <subv2112@gmail.com> | 2017-01-05 05:23:17 +0100 |
---|---|---|
committer | Subv <subv2112@gmail.com> | 2017-05-15 18:22:15 +0200 |
commit | ddfabf31330c0c8e0558a714b6d7e1f1948b73ed (patch) | |
tree | 62c525537f603fe85f494f9fb6e622ffcd2afda9 /src/core/hle/kernel/client_session.h | |
parent | Merge pull request #2659 from MerryMage/dsp_dsp-correction (diff) | |
download | yuzu-ddfabf31330c0c8e0558a714b6d7e1f1948b73ed.tar yuzu-ddfabf31330c0c8e0558a714b6d7e1f1948b73ed.tar.gz yuzu-ddfabf31330c0c8e0558a714b6d7e1f1948b73ed.tar.bz2 yuzu-ddfabf31330c0c8e0558a714b6d7e1f1948b73ed.tar.lz yuzu-ddfabf31330c0c8e0558a714b6d7e1f1948b73ed.tar.xz yuzu-ddfabf31330c0c8e0558a714b6d7e1f1948b73ed.tar.zst yuzu-ddfabf31330c0c8e0558a714b6d7e1f1948b73ed.zip |
Diffstat (limited to 'src/core/hle/kernel/client_session.h')
-rw-r--r-- | src/core/hle/kernel/client_session.h | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/src/core/hle/kernel/client_session.h b/src/core/hle/kernel/client_session.h index ed468dec6..adb2d0b5f 100644 --- a/src/core/hle/kernel/client_session.h +++ b/src/core/hle/kernel/client_session.h @@ -14,6 +14,7 @@ namespace Kernel { class ServerSession; +class Session; enum class SessionStatus { Open = 1, @@ -44,8 +45,10 @@ public: */ ResultCode SendSyncRequest(); - std::string name; ///< Name of client port (optional) - ServerSession* server_session; ///< The server session associated with this client session. + std::string name; ///< Name of client port (optional) + + /// The parent session, which links to the server endpoint. + std::shared_ptr<Session> parent; SessionStatus session_status; ///< The session's current status. private: @@ -54,12 +57,10 @@ private: /** * Creates a client session. - * @param server_session The server session associated with this client session * @param name Optional name of client session * @return The created client session */ - static ResultVal<SharedPtr<ClientSession>> Create(ServerSession* server_session, - std::string name = "Unknown"); + static ResultVal<SharedPtr<ClientSession>> Create(std::string name = "Unknown"); }; } // namespace |