mirror of https://git.suyu.dev/suyu/suyu
olsc: rewrite INativeHandleHolder
parent
8ffa27b311
commit
8689370830
@ -1,14 +1,22 @@
|
|||||||
// SPDX-FileCopyrightText: Copyright 2024 yuzu Emulator Project
|
// SPDX-FileCopyrightText: Copyright 2024 yuzu Emulator Project
|
||||||
// SPDX-License-Identifier: GPL-2.0-or-later
|
// SPDX-License-Identifier: GPL-2.0-or-later
|
||||||
|
|
||||||
|
#include "core/hle/service/cmif_types.h"
|
||||||
#include "core/hle/service/service.h"
|
#include "core/hle/service/service.h"
|
||||||
|
|
||||||
|
namespace Kernel {
|
||||||
|
class KReadableEvent;
|
||||||
|
}
|
||||||
|
|
||||||
namespace Service::OLSC {
|
namespace Service::OLSC {
|
||||||
|
|
||||||
class INativeHandleHolder final : public ServiceFramework<INativeHandleHolder> {
|
class INativeHandleHolder final : public ServiceFramework<INativeHandleHolder> {
|
||||||
public:
|
public:
|
||||||
explicit INativeHandleHolder(Core::System& system_);
|
explicit INativeHandleHolder(Core::System& system_);
|
||||||
~INativeHandleHolder() override;
|
~INativeHandleHolder() override;
|
||||||
|
|
||||||
|
private:
|
||||||
|
Result GetNativeHandle(OutCopyHandle<Kernel::KReadableEvent> out_event);
|
||||||
};
|
};
|
||||||
|
|
||||||
} // namespace Service::OLSC
|
} // namespace Service::OLSC
|
||||||
|
Loading…
Reference in New Issue