diff options
author | Yuri Kunde Schlesner <yuriks@yuriks.net> | 2017-06-06 23:51:42 +0200 |
---|---|---|
committer | Yuri Kunde Schlesner <yuriks@yuriks.net> | 2017-06-06 23:51:42 +0200 |
commit | 6dc133c24a5c07d868f817756381544e463545d4 (patch) | |
tree | 708f2922398903eb6b0c1aa65a149275b5c8f0d5 /src/core/hle/kernel | |
parent | Service: Remove unnecessary includes from service.h (diff) | |
download | yuzu-6dc133c24a5c07d868f817756381544e463545d4.tar yuzu-6dc133c24a5c07d868f817756381544e463545d4.tar.gz yuzu-6dc133c24a5c07d868f817756381544e463545d4.tar.bz2 yuzu-6dc133c24a5c07d868f817756381544e463545d4.tar.lz yuzu-6dc133c24a5c07d868f817756381544e463545d4.tar.xz yuzu-6dc133c24a5c07d868f817756381544e463545d4.tar.zst yuzu-6dc133c24a5c07d868f817756381544e463545d4.zip |
Diffstat (limited to 'src/core/hle/kernel')
-rw-r--r-- | src/core/hle/kernel/hle_ipc.h | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/src/core/hle/kernel/hle_ipc.h b/src/core/hle/kernel/hle_ipc.h index 14f682f44..5de9d59d3 100644 --- a/src/core/hle/kernel/hle_ipc.h +++ b/src/core/hle/kernel/hle_ipc.h @@ -19,6 +19,8 @@ class ServerSession; */ class SessionRequestHandler : public std::enable_shared_from_this<SessionRequestHandler> { public: + virtual ~SessionRequestHandler() = default; + /** * Handles a sync request from the emulated application. * @param server_session The ServerSession that was triggered for this sync request, @@ -27,27 +29,27 @@ public: * this request (ServerSession, Originator thread, Translated command buffer, etc). * @returns ResultCode the result code of the translate operation. */ - virtual void HandleSyncRequest(Kernel::SharedPtr<Kernel::ServerSession> server_session) = 0; + virtual void HandleSyncRequest(SharedPtr<ServerSession> server_session) = 0; /** * Signals that a client has just connected to this HLE handler and keeps the * associated ServerSession alive for the duration of the connection. * @param server_session Owning pointer to the ServerSession associated with the connection. */ - void ClientConnected(Kernel::SharedPtr<Kernel::ServerSession> server_session); + void ClientConnected(SharedPtr<ServerSession> server_session); /** * Signals that a client has just disconnected from this HLE handler and releases the * associated ServerSession. * @param server_session ServerSession associated with the connection. */ - void ClientDisconnected(Kernel::SharedPtr<Kernel::ServerSession> server_session); + void ClientDisconnected(SharedPtr<ServerSession> server_session); protected: /// List of sessions that are connected to this handler. /// A ServerSession whose server endpoint is an HLE implementation is kept alive by this list // for the duration of the connection. - std::vector<Kernel::SharedPtr<Kernel::ServerSession>> connected_sessions; + std::vector<SharedPtr<ServerSession>> connected_sessions; }; } // namespace Kernel |