mirror of
https://git.eden-emu.dev/eden-emu/eden.git
synced 2025-07-21 14:35:46 +00:00
HLE: Move SessionRequestHandler from Service:: to Kernel::
Most of the code that works with this is or will be in the kernel, so it's a more appropriate place for it to be.
This commit is contained in:
parent
26b17f018d
commit
41a3feea66
14 changed files with 100 additions and 73 deletions
|
@ -4,8 +4,11 @@
|
|||
|
||||
#include <tuple>
|
||||
|
||||
#include "core/hle/kernel/client_port.h"
|
||||
#include "core/hle/kernel/client_session.h"
|
||||
#include "core/hle/kernel/hle_ipc.h"
|
||||
#include "core/hle/kernel/server_session.h"
|
||||
#include "core/hle/kernel/session.h"
|
||||
#include "core/hle/kernel/thread.h"
|
||||
|
||||
namespace Kernel {
|
||||
|
@ -26,7 +29,7 @@ ServerSession::~ServerSession() {
|
|||
}
|
||||
|
||||
ResultVal<SharedPtr<ServerSession>> ServerSession::Create(
|
||||
std::string name, std::shared_ptr<Service::SessionRequestHandler> hle_handler) {
|
||||
std::string name, std::shared_ptr<SessionRequestHandler> hle_handler) {
|
||||
SharedPtr<ServerSession> server_session(new ServerSession);
|
||||
|
||||
server_session->name = std::move(name);
|
||||
|
@ -69,7 +72,7 @@ ResultCode ServerSession::HandleSyncRequest() {
|
|||
}
|
||||
|
||||
ServerSession::SessionPair ServerSession::CreateSessionPair(
|
||||
const std::string& name, std::shared_ptr<Service::SessionRequestHandler> hle_handler,
|
||||
const std::string& name, std::shared_ptr<SessionRequestHandler> hle_handler,
|
||||
SharedPtr<ClientPort> port) {
|
||||
|
||||
auto server_session =
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue