diff options
author | Yuri Kunde Schlesner <yuriks@yuriks.net> | 2017-06-05 06:52:19 +0200 |
---|---|---|
committer | Yuri Kunde Schlesner <yuriks@yuriks.net> | 2017-06-06 08:40:11 +0200 |
commit | e626a520ca8d3047449d7d7028d6b9c773a6b570 (patch) | |
tree | b1308e008f8a79d94350da54df2feb3a62013934 /src/core/hle/kernel/server_session.h | |
parent | Merge pull request #2747 from atouchet/readme-url (diff) | |
download | yuzu-e626a520ca8d3047449d7d7028d6b9c773a6b570.tar yuzu-e626a520ca8d3047449d7d7028d6b9c773a6b570.tar.gz yuzu-e626a520ca8d3047449d7d7028d6b9c773a6b570.tar.bz2 yuzu-e626a520ca8d3047449d7d7028d6b9c773a6b570.tar.lz yuzu-e626a520ca8d3047449d7d7028d6b9c773a6b570.tar.xz yuzu-e626a520ca8d3047449d7d7028d6b9c773a6b570.tar.zst yuzu-e626a520ca8d3047449d7d7028d6b9c773a6b570.zip |
Diffstat (limited to '')
-rw-r--r-- | src/core/hle/kernel/server_session.h | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/src/core/hle/kernel/server_session.h b/src/core/hle/kernel/server_session.h index f1b76d8aa..62d23cf0a 100644 --- a/src/core/hle/kernel/server_session.h +++ b/src/core/hle/kernel/server_session.h @@ -12,7 +12,6 @@ #include "core/hle/kernel/session.h" #include "core/hle/kernel/wait_object.h" #include "core/hle/result.h" -#include "core/hle/service/service.h" #include "core/memory.h" namespace Kernel { @@ -20,6 +19,7 @@ namespace Kernel { class ClientSession; class ClientPort; class ServerSession; +class SessionRequestHandler; class Thread; /** @@ -56,7 +56,7 @@ public: */ static SessionPair CreateSessionPair( const std::string& name = "Unknown", - std::shared_ptr<Service::SessionRequestHandler> hle_handler = nullptr, + std::shared_ptr<SessionRequestHandler> hle_handler = nullptr, SharedPtr<ClientPort> client_port = nullptr); /** @@ -72,7 +72,7 @@ public: std::string name; ///< The name of this session (optional) bool signaled; ///< Whether there's new data available to this ServerSession std::shared_ptr<Session> parent; ///< The parent session, which links to the client endpoint. - std::shared_ptr<Service::SessionRequestHandler> + std::shared_ptr<SessionRequestHandler> hle_handler; ///< This session's HLE request handler (optional) private: @@ -87,8 +87,7 @@ private: * @return The created server session */ static ResultVal<SharedPtr<ServerSession>> Create( - std::string name = "Unknown", - std::shared_ptr<Service::SessionRequestHandler> hle_handler = nullptr); + std::string name = "Unknown", std::shared_ptr<SessionRequestHandler> hle_handler = nullptr); }; /** |