mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-02-08 13:43:33 +01:00
![Léo Lam](/assets/img/avatar_default.png)
Pretty much all of the source files contain the following: namespace IOS { namespace HLE { namespace <name> { // actual code here } // namespace <name> } // namespace HLE } // namespace IOS which is really verbose boilerplate, because most of the files inside of Core/IOS are for IOS HLE. This commit replaces that with a more concise `namespace IOS::HLE` or `namespace IOS::HLE::(name)`.
25 lines
653 B
C++
25 lines
653 B
C++
// Copyright 2016 Dolphin Emulator Project
|
|
// Licensed under GPLv2+
|
|
// Refer to the license.txt file included.
|
|
|
|
#pragma once
|
|
|
|
#include <string>
|
|
|
|
#include "Common/CommonTypes.h"
|
|
#include "Core/IOS/Device.h"
|
|
#include "Core/IOS/IOS.h"
|
|
|
|
namespace IOS::HLE::Device
|
|
{
|
|
class Stub final : public Device
|
|
{
|
|
public:
|
|
// Inherit the constructor from the Device class, since we don't need to do anything special.
|
|
using Device::Device;
|
|
IPCCommandResult Open(const OpenRequest& request) override;
|
|
IPCCommandResult IOCtl(const IOCtlRequest& request) override;
|
|
IPCCommandResult IOCtlV(const IOCtlVRequest& request) override;
|
|
};
|
|
} // namespace IOS::HLE::Device
|