mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-02-14 16:29:21 +01:00
![Pierre Bourdon](/assets/img/avatar_default.png)
SPDX standardizes how source code conveys its copyright and licensing information. See https://spdx.github.io/spdx-spec/1-rationale/ . SPDX tags are adopted in many large projects, including things like the Linux kernel.
24 lines
641 B
C++
24 lines
641 B
C++
// Copyright 2016 Dolphin Emulator Project
|
|
// SPDX-License-Identifier: GPL-2.0-or-later
|
|
|
|
#pragma once
|
|
|
|
#include <string>
|
|
|
|
#include "Common/CommonTypes.h"
|
|
#include "Core/IOS/Device.h"
|
|
#include "Core/IOS/IOS.h"
|
|
|
|
namespace IOS::HLE
|
|
{
|
|
class DeviceStub final : public Device
|
|
{
|
|
public:
|
|
// Inherit the constructor from the Device class, since we don't need to do anything special.
|
|
using Device::Device;
|
|
std::optional<IPCReply> Open(const OpenRequest& request) override;
|
|
std::optional<IPCReply> IOCtl(const IOCtlRequest& request) override;
|
|
std::optional<IPCReply> IOCtlV(const IOCtlVRequest& request) override;
|
|
};
|
|
} // namespace IOS::HLE
|