2018-01-13 16:22:39 -05:00
|
|
|
// Copyright 2018 yuzu emulator team
|
2017-10-14 22:18:42 -04: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-19 21:41:44 -04:00
|
|
|
namespace Service::SM {
|
2017-10-14 22:18:42 -04:00
|
|
|
|
|
|
|
class Controller final : public ServiceFramework<Controller> {
|
|
|
|
public:
|
2017-12-28 15:27:30 -05:00
|
|
|
Controller();
|
2018-09-06 14:32:25 -04:00
|
|
|
~Controller() override;
|
2017-10-14 22:18:42 -04:00
|
|
|
|
|
|
|
private:
|
2017-10-15 01:24:22 -04:00
|
|
|
void ConvertSessionToDomain(Kernel::HLERequestContext& ctx);
|
2017-12-29 00:39:34 -05:00
|
|
|
void DuplicateSession(Kernel::HLERequestContext& ctx);
|
2018-01-17 14:41:43 -05:00
|
|
|
void DuplicateSessionEx(Kernel::HLERequestContext& ctx);
|
2017-10-14 22:18:42 -04:00
|
|
|
void QueryPointerBufferSize(Kernel::HLERequestContext& ctx);
|
|
|
|
};
|
|
|
|
|
2018-04-19 21:41:44 -04:00
|
|
|
} // namespace Service::SM
|