diff options
| author | Zach Hilman <zachhilman@gmail.com> | 2018-11-27 09:18:29 -0500 |
|---|---|---|
| committer | Zach Hilman <zachhilman@gmail.com> | 2018-11-29 08:48:40 -0500 |
| commit | a342bcc9b130e9bd78720e09e04c92dcac8840d0 (patch) | |
| tree | df1d16c2a71b121fc449b53fc931c6fac8ccf82a /src/core/hle/kernel/kernel.h | |
| parent | ff610103b58b3e0dd39fafb539a1cc0bc0fae577 (diff) | |
kernel/event: Reference ReadableEvent from WritableEvent
Diffstat (limited to 'src/core/hle/kernel/kernel.h')
| -rw-r--r-- | src/core/hle/kernel/kernel.h | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/src/core/hle/kernel/kernel.h b/src/core/hle/kernel/kernel.h index f12d061eb..ea00c89f5 100644 --- a/src/core/hle/kernel/kernel.h +++ b/src/core/hle/kernel/kernel.h @@ -20,7 +20,6 @@ namespace Kernel { class ClientPort; class HandleTable; class Process; -class ReadableEvent; class ResourceLimit; class Thread; class Timer; @@ -28,7 +27,6 @@ class Timer; /// Represents a single instance of the kernel. class KernelCore { private: - using NamedEventTable = std::unordered_map<std::string, SharedPtr<ReadableEvent>>; using NamedPortTable = std::unordered_map<std::string, SharedPtr<ClientPort>>; public: @@ -68,15 +66,6 @@ public: /// Retrieves a const pointer to the current process. const Process* CurrentProcess() const; - /// Adds an event to the named event table - void AddNamedEvent(std::string name, SharedPtr<ReadableEvent> event); - - /// Finds an event within the named event table wit the given name. - NamedEventTable::iterator FindNamedEvent(const std::string& name); - - /// Finds an event within the named event table wit the given name. - NamedEventTable::const_iterator FindNamedEvent(const std::string& name) const; - /// Adds a port to the named port table void AddNamedPort(std::string name, SharedPtr<ClientPort> port); |
