2016-10-22 15:03:07 +02:00
|
|
|
// Copyright 2016 Dolphin Emulator Project
|
|
|
|
|
// Licensed under GPLv2+
|
|
|
|
|
// Refer to the license.txt file included.
|
|
|
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
|
|
|
|
|
#include <string>
|
|
|
|
|
|
|
|
|
|
#include "Common/CommonTypes.h"
|
2017-01-18 13:50:28 +01:00
|
|
|
#include "Core/IOS/Device.h"
|
|
|
|
|
#include "Core/IOS/IPC.h"
|
2016-10-22 15:03:07 +02:00
|
|
|
|
2017-01-17 15:01:30 -05:00
|
|
|
namespace IOS
|
|
|
|
|
{
|
|
|
|
|
namespace HLE
|
|
|
|
|
{
|
2016-10-22 15:03:07 +02:00
|
|
|
class CWII_IPC_HLE_Device_stub : public IWII_IPC_HLE_Device
|
|
|
|
|
{
|
|
|
|
|
public:
|
|
|
|
|
CWII_IPC_HLE_Device_stub(u32 device_id, const std::string& device_name);
|
|
|
|
|
|
2017-01-15 11:47:05 +01:00
|
|
|
IOSReturnCode Open(const IOSOpenRequest& request) override;
|
|
|
|
|
void Close() override;
|
|
|
|
|
IPCCommandResult IOCtl(const IOSIOCtlRequest& request) override;
|
|
|
|
|
IPCCommandResult IOCtlV(const IOSIOCtlVRequest& request) override;
|
2016-10-22 15:03:07 +02:00
|
|
|
};
|
2017-01-17 15:01:30 -05:00
|
|
|
} // namespace HLE
|
|
|
|
|
} // namespace IOS
|