summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGravatar Yuri Kunde Schlesner2017-06-06 14:51:42 -0700
committerGravatar Yuri Kunde Schlesner2017-06-06 14:51:42 -0700
commit6dc133c24a5c07d868f817756381544e463545d4 (patch)
tree708f2922398903eb6b0c1aa65a149275b5c8f0d5 /src
parentService: Remove unnecessary includes from service.h (diff)
downloadyuzu-6dc133c24a5c07d868f817756381544e463545d4.tar.gz
yuzu-6dc133c24a5c07d868f817756381544e463545d4.tar.xz
yuzu-6dc133c24a5c07d868f817756381544e463545d4.zip
Kernel: Remove some unnecessary namespace qualifications
Diffstat (limited to 'src')
-rw-r--r--src/core/hle/kernel/hle_ipc.h10
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;
19 */ 19 */
20class SessionRequestHandler : public std::enable_shared_from_this<SessionRequestHandler> { 20class SessionRequestHandler : public std::enable_shared_from_this<SessionRequestHandler> {
21public: 21public:
22 virtual ~SessionRequestHandler() = default;
23
22 /** 24 /**
23 * Handles a sync request from the emulated application. 25 * Handles a sync request from the emulated application.
24 * @param server_session The ServerSession that was triggered for this sync request, 26 * @param server_session The ServerSession that was triggered for this sync request,
@@ -27,27 +29,27 @@ public:
27 * this request (ServerSession, Originator thread, Translated command buffer, etc). 29 * this request (ServerSession, Originator thread, Translated command buffer, etc).
28 * @returns ResultCode the result code of the translate operation. 30 * @returns ResultCode the result code of the translate operation.
29 */ 31 */
30 virtual void HandleSyncRequest(Kernel::SharedPtr<Kernel::ServerSession> server_session) = 0; 32 virtual void HandleSyncRequest(SharedPtr<ServerSession> server_session) = 0;
31 33
32 /** 34 /**
33 * Signals that a client has just connected to this HLE handler and keeps the 35 * Signals that a client has just connected to this HLE handler and keeps the
34 * associated ServerSession alive for the duration of the connection. 36 * associated ServerSession alive for the duration of the connection.
35 * @param server_session Owning pointer to the ServerSession associated with the connection. 37 * @param server_session Owning pointer to the ServerSession associated with the connection.
36 */ 38 */
37 void ClientConnected(Kernel::SharedPtr<Kernel::ServerSession> server_session); 39 void ClientConnected(SharedPtr<ServerSession> server_session);
38 40
39 /** 41 /**
40 * Signals that a client has just disconnected from this HLE handler and releases the 42 * Signals that a client has just disconnected from this HLE handler and releases the
41 * associated ServerSession. 43 * associated ServerSession.
42 * @param server_session ServerSession associated with the connection. 44 * @param server_session ServerSession associated with the connection.
43 */ 45 */
44 void ClientDisconnected(Kernel::SharedPtr<Kernel::ServerSession> server_session); 46 void ClientDisconnected(SharedPtr<ServerSession> server_session);
45 47
46protected: 48protected:
47 /// List of sessions that are connected to this handler. 49 /// List of sessions that are connected to this handler.
48 /// A ServerSession whose server endpoint is an HLE implementation is kept alive by this list 50 /// A ServerSession whose server endpoint is an HLE implementation is kept alive by this list
49 // for the duration of the connection. 51 // for the duration of the connection.
50 std::vector<Kernel::SharedPtr<Kernel::ServerSession>> connected_sessions; 52 std::vector<SharedPtr<ServerSession>> connected_sessions;
51}; 53};
52 54
53} // namespace Kernel 55} // namespace Kernel