diff options
author | Subv <subv2112@gmail.com> | 2016-12-08 17:06:19 +0100 |
---|---|---|
committer | Subv <subv2112@gmail.com> | 2016-12-08 17:06:19 +0100 |
commit | f9bcf895103e5a6d99f5fe755bcac92b7781fd38 (patch) | |
tree | aebba4794da82175756a09e7d4d1de8d835bf412 /src/core/hle/kernel/server_session.h | |
parent | Return an error code when connecting to a saturated port. (diff) | |
download | yuzu-f9bcf895103e5a6d99f5fe755bcac92b7781fd38.tar yuzu-f9bcf895103e5a6d99f5fe755bcac92b7781fd38.tar.gz yuzu-f9bcf895103e5a6d99f5fe755bcac92b7781fd38.tar.bz2 yuzu-f9bcf895103e5a6d99f5fe755bcac92b7781fd38.tar.lz yuzu-f9bcf895103e5a6d99f5fe755bcac92b7781fd38.tar.xz yuzu-f9bcf895103e5a6d99f5fe755bcac92b7781fd38.tar.zst yuzu-f9bcf895103e5a6d99f5fe755bcac92b7781fd38.zip |
Diffstat (limited to '')
-rw-r--r-- | src/core/hle/kernel/server_session.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/core/hle/kernel/server_session.h b/src/core/hle/kernel/server_session.h index c73ccee73..7f00db07b 100644 --- a/src/core/hle/kernel/server_session.h +++ b/src/core/hle/kernel/server_session.h @@ -40,12 +40,14 @@ public: return HANDLE_TYPE; } + using SessionPair = std::tuple<SharedPtr<ServerSession>, SharedPtr<ClientSession>>; + /** * Creates a pair of ServerSession and an associated ClientSession. * @param name Optional name of the ports * @return The created session tuple */ - static std::tuple<SharedPtr<ServerSession>, SharedPtr<ClientSession>> CreateSessionPair(const std::string& name = "Unknown", std::shared_ptr<Service::SessionRequestHandler> hle_handler = nullptr); + static SessionPair CreateSessionPair(const std::string& name = "Unknown", std::shared_ptr<Service::SessionRequestHandler> hle_handler = nullptr); /** * Handle a sync request from the emulated application. |