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"
|
|
|
|
|
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:
|
2017-12-28 21:27:30 +01:00
|
|
|
Controller();
|
|
|
|
~Controller() = default;
|
2017-10-15 04:18:42 +02:00
|
|
|
|
|
|
|
private:
|
2017-10-15 07:24:22 +02:00
|
|
|
void ConvertSessionToDomain(Kernel::HLERequestContext& ctx);
|
2017-12-29 06:39:34 +01:00
|
|
|
void DuplicateSession(Kernel::HLERequestContext& ctx);
|
2018-01-17 20:41:43 +01:00
|
|
|
void DuplicateSessionEx(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
|