Give frontend access to the hle service interfaces

This commit is contained in:
B3n30 2018-10-03 19:05:31 +02:00
parent 874a95cea7
commit d3694a930e
3 changed files with 24 additions and 6 deletions

View file

@ -7,11 +7,11 @@
#include <string>
#include "common/common_types.h"
#include "core/hle/kernel/object.h"
#include "core/hle/kernel/server_port.h"
#include "core/hle/result.h"
namespace Kernel {
class ServerPort;
class ClientSession;
class ClientPort final : public Object {
@ -29,6 +29,10 @@ public:
return HANDLE_TYPE;
}
SharedPtr<ServerPort> GetServerPort() const {
return server_port;
}
/**
* Creates a new Session pair, adds the created ServerSession to the associated ServerPort's
* list of pending sessions, and signals the ServerPort, causing any threads