Files
eden/src/core/hle/service/nvnflinger/binder.h
T

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

32 lines
860 B
C++
Raw Normal View History

// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project
// SPDX-FileCopyrightText: Copyright 2014 The Android Open Source Project
2021-11-11 18:35:28 -08:00
// SPDX-License-Identifier: GPL-3.0-or-later
// Parts of this implementation were based on:
2021-11-11 18:35:28 -08:00
// https://cs.android.com/android/platform/superproject/+/android-5.1.1_r38:frameworks/native/include/binder/IBinder.h
#pragma once
2024-02-14 00:09:29 -05:00
#include <span>
2021-11-11 18:35:28 -08:00
#include "common/common_types.h"
namespace Kernel {
class KReadableEvent;
} // namespace Kernel
2023-02-19 14:42:12 -05:00
namespace Service {
class HLERequestContext;
}
namespace Service::android {
2021-11-11 18:35:28 -08:00
class IBinder {
public:
virtual ~IBinder() = default;
virtual void Transact(u32 code, std::span<const u8> parcel_data, std::span<u8> parcel_reply,
u32 flags) = 0;
virtual Kernel::KReadableEvent* GetNativeHandle(u32 type_id) = 0;
2021-11-11 18:35:28 -08:00
};
} // namespace Service::android