mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2026-07-03 17:11:59 -05:00
Yellow squiggly lines begone! Done automatically on .cpp files through `run-clang-tidy`, with manual corrections to the mistakes. If an import is directly used, but is technically unnecessary since it's recursively imported by something else, it is *not* removed. The tool doesn't touch .h files, so I did some of them by hand while fixing errors due to old recursive imports. Not everything is removed, but the cleanup should be substantial enough. Because this done on Linux, code that isn't used on it is mostly untouched. (Hopefully no open PR is depending on these imports...)
21 lines
590 B
C++
21 lines
590 B
C++
// Copyright 2016 Dolphin Emulator Project
|
|
// SPDX-License-Identifier: GPL-2.0-or-later
|
|
|
|
#pragma once
|
|
|
|
#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
|