2018-01-13 22:22:39 +01:00
|
|
|
// Copyright 2018 yuzu emulator team
|
2017-10-15 04:18:42 +02:00
|
|
|
// Licensed under GPLv2 or any later version
|
|
|
|
// Refer to the license.txt file included.
|
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include "core/hle/service/service.h"
|
|
|
|
|
2020-11-26 21:19:08 +01:00
|
|
|
namespace Core {
|
|
|
|
class System;
|
|
|
|
}
|
|
|
|
|
2018-04-20 03:41:44 +02:00
|
|
|
namespace Service::SM {
|
2017-10-15 04:18:42 +02:00
|
|
|
|
|
|
|
class Controller final : public ServiceFramework<Controller> {
|
|
|
|
public:
|
2020-11-26 21:19:08 +01:00
|
|
|
explicit Controller(Core::System& system_);
|
2018-09-06 20:32:25 +02:00
|
|
|
~Controller() override;
|
2017-10-15 04:18:42 +02:00
|
|
|
|
|
|
|
private:
|
2020-06-29 04:01:34 +02:00
|
|
|
void ConvertCurrentObjectToDomain(Kernel::HLERequestContext& ctx);
|
|
|
|
void CloneCurrentObject(Kernel::HLERequestContext& ctx);
|
|
|
|
void CloneCurrentObjectEx(Kernel::HLERequestContext& ctx);
|
2017-10-15 04:18:42 +02:00
|
|
|
void QueryPointerBufferSize(Kernel::HLERequestContext& ctx);
|
|
|
|
};
|
|
|
|
|
2018-04-20 03:41:44 +02:00
|
|
|
} // namespace Service::SM
|