diff options
author | bunnei <bunneidev@gmail.com> | 2018-01-23 22:13:19 +0100 |
---|---|---|
committer | bunnei <bunneidev@gmail.com> | 2018-01-25 04:18:54 +0100 |
commit | 67758857e4203cebc9a5815c6b0293c0aad0e598 (patch) | |
tree | 6d39ebcb39695f3117864416c56d16edb4611514 /src/core/hle/kernel/domain.h | |
parent | handle_table: Remove ConvertSessionToDomain. (diff) | |
download | yuzu-67758857e4203cebc9a5815c6b0293c0aad0e598.tar yuzu-67758857e4203cebc9a5815c6b0293c0aad0e598.tar.gz yuzu-67758857e4203cebc9a5815c6b0293c0aad0e598.tar.bz2 yuzu-67758857e4203cebc9a5815c6b0293c0aad0e598.tar.lz yuzu-67758857e4203cebc9a5815c6b0293c0aad0e598.tar.xz yuzu-67758857e4203cebc9a5815c6b0293c0aad0e598.tar.zst yuzu-67758857e4203cebc9a5815c6b0293c0aad0e598.zip |
Diffstat (limited to 'src/core/hle/kernel/domain.h')
-rw-r--r-- | src/core/hle/kernel/domain.h | 45 |
1 files changed, 0 insertions, 45 deletions
diff --git a/src/core/hle/kernel/domain.h b/src/core/hle/kernel/domain.h deleted file mode 100644 index 3fec3b0b2..000000000 --- a/src/core/hle/kernel/domain.h +++ /dev/null @@ -1,45 +0,0 @@ -// Copyright 2018 yuzu emulator team -// Licensed under GPLv2 or any later version -// Refer to the license.txt file included. - -#pragma once - -#include <memory> -#include <string> -#include <vector> -#include "core/hle/kernel/sync_object.h" -#include "core/hle/result.h" - -namespace Kernel { - -class Session; -class SessionRequestHandler; - -class Domain final : public SyncObject { -public: - std::string GetTypeName() const override { - return "Domain"; - } - - static const HandleType HANDLE_TYPE = HandleType::Domain; - HandleType GetHandleType() const override { - return HANDLE_TYPE; - } - - static ResultVal<SharedPtr<Domain>> CreateFromSession(const Session& server); - - ResultCode SendSyncRequest(SharedPtr<Thread> thread) override; - - /// The name of this domain (optional) - std::string name; - - std::vector<std::shared_ptr<SessionRequestHandler>> request_handlers; - -private: - Domain() = default; - ~Domain() override = default; - - static ResultVal<SharedPtr<Domain>> Create(std::string name = "Unknown"); -}; - -} // namespace Kernel |